Difference between revisions of "sp"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; 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 …')
 
m
Line 17: Line 17:
  
 
* 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.
 +
 +
[[Category:Self Condition]]

Revision as of 02:07, 9 January 2010

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.