hp

From OpenKore Wiki
Revision as of 20:43, 29 November 2009 by Mushrom (talk | contribs) (Created page with '; hp [<range> [%]] : If this option is set, the block will only be used if the amount of HP is within the specified range. The amount of hp can be …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
hp [<range> [%]]
If this option is set, the block will only be used if the amount of HP is within the specified range. The amount of hp can be in % (percent) or it can the the absolute amount of hp.


Example:
useSelf_item White Potion {
	hp < 800
}
  • It will use White Potion when your hp is bellow 800.


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