target deltaHP: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
; target_deltaHp <[[range]]> | ; target_deltaHp <[[References#Range_Operators|range]]> | ||
: Only use the block will only be used if the target's deltaHp is within the specified range. | : Only use the block will only be used if the target's deltaHp is within the specified range. | ||
Revision as of 21:50, 23 January 2017
- target_deltaHp <range>
- Only use the block will only be used if the target's deltaHp is within the specified range.
Notes
- Kore tracks changes in HP for each player/monster on screen as deltaHp. It initially starts at 0. When a player/monster takes damage, the damage is subtracted from its deltaHp. When healed, the amount of HP healed is added to the deltaHp. If the deltaHp becomes positive, it is reset to 0 (thus, deltaHp is always a negative value).
- The monster's deltaHp can be used to intelligently choose the appropriate level for attack skills.
Changes
r7864
Actor->{deltaHp} now actually starts at 0. Previously is was initially undefined, so deltaHp check used to always fail regardless of specified condition.