target deltaHP

From OpenKore Wiki
Jump to navigation Jump to search
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.