sp: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
==Self Condition==
'''''sp''' is also a console command for [[Skill Use Command|using skills on players]].''
 
= Self Condition =
; sp [<[[References#Range Operators|range]]> [%]]
; sp [<[[References#Range Operators|range]]> [%]]
: If this option is set, the block will only be used if the amount of SP is within the specified range. The amount of SP can be in % (percent) or it can the the absolute amount of SP.  
: If this option is set, the block will only be used if the amount of SP is within the specified range. The amount of SP can be in % (percent) or it can the the absolute amount of SP.  
Line 18: Line 20:


* It will use Blue Potion when SP is bellow 10%. So, if you have 100 maximum SP it will use Blue Potion when your SP is bellow 10, because 10% of 100 is 10.
* It will use Blue Potion when SP is bellow 10%. So, if you have 100 maximum SP it will use Blue Potion when your SP is bellow 10, because 10% of 100 is 10.
==Console Command==
;sp (<skill #> <player>) [<level>]
:<skill #>
::- a corresponding number from the skills list when you use the skills command.
:<player>
::- a player name, or a corresponding number from the player list when you use the pl command.
:<level>
::- the skill level.
:Use the specified skill on a player.


[[Category:Self Condition]]
[[Category:Self Condition]]
[[Category:Console Command]]
[[Category:Console Command]]

Revision as of 13:59, 15 May 2010

sp is also a console command for using skills on players.

Self Condition

sp [<range> [%]]
If this option is set, the block will only be used if the amount of SP is within the specified range. The amount of SP can be in % (percent) or it can the the absolute amount of SP.


Example:
useSelf_item Blue Potion {
	sp < 10
}
  • It will use Blue Potion when SP is bellow 10.


Example²:
useSelf_item Blue Potion {
	sp < 10%
}
  • It will use Blue Potion when SP is bellow 10%. So, if you have 100 maximum SP it will use Blue Potion when your SP is bellow 10, because 10% of 100 is 10.