hp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
; hp [<[[References# | ''[[:Category:Self Condition|Self Condition]]s:'' | ||
: | ; hp <[[References#Range_Operators|range]]>[%] | ||
; homunculus_hp <[[References#Range_Operators|range]]>[%] | |||
''[[:Category:Monster Condition|Monster Condition]]s:'' | |||
; target_hp <[[References#Range_Operators|range]]>[%] | |||
'''''Note:''''' Only available kRO 04/04/2012 and later, if the game client has HP bar for monsters available. | |||
'' | ''[[:Category:Player Condition|Player Condition]]s:'' | ||
; target_hp <[[References#Range_Operators|range]]>[%] | |||
: Only use the block if the corresponding actor's HP matches the specified range. The amount of hp can be in % (percent) or it can the the absolute amount of hp. | |||
== Examples == | |||
Use White Potion when your hp is bellow 800: | |||
useSelf_item White Potion { | useSelf_item White Potion { | ||
hp < 800 | hp < 800 | ||
} | } | ||
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: | |||
useSelf_item White Potion { | useSelf_item White Potion { | ||
hp < 10% | hp < 10% | ||
Line 14: | Line 23: | ||
[[Category:Self Condition]] | [[Category:Self Condition]] | ||
[[Category:Monster Condition]] | |||
[[Category:Player Condition]] |
Latest revision as of 00:34, 7 May 2021
- target_hp <range>[%]
Note: Only available kRO 04/04/2012 and later, if the game client has HP bar for monsters available.
- target_hp <range>[%]
- Only use the block if the corresponding actor's HP matches the specified range. The amount of hp can be in % (percent) or it can the the absolute amount of hp.
Examples
Use White Potion when your hp is bellow 800:
useSelf_item White Potion { hp < 800 }
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:
useSelf_item White Potion { hp < 10% }