target deltaHP: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; target_deltaHp [<range>] : If this option is set, the block will only be used if the target's deltaHp is within the specified range. '''''Notes:''''' * Kore tracks changes in …')
 
m (Conversion script moved page Target deltaHP to target deltaHP: Converting page titles to lowercase)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
; target_deltaHp [<range>]
; target_deltaHp <[[References#Range_Operators|range]]>
: If this option is set, 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.


'''''Notes:'''''
== 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).
* 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.
* 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.
[[Category:Monster Condition]]
[[Category:Player Condition]]

Latest revision as of 22:34, 26 April 2021

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.