Skip to content

Commit

Permalink
Protection Warrior fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Sep 11, 2024
1 parent 6ad93d3 commit 9490abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TheWarWithin/WarriorProtection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ spec:RegisterAbilities( {
return true
end

if incoming_damage_5s >= dmg_required or hp <= hp_required then return true end
if incoming_damage_5s >= dmg_required or health.percent <= hp_required then return true end
if incoming_damage_5s < dmg_required then return false, format( "incoming_damage_5s[%.2f] < dmg_required[%.2f] setting", incoming_damage_5s, dmg_required ) end
if health.percent > hp_required then return false, format( "health.percent[%.2f] > hp_required[%.2f] setting", health.percent, hp_required ) end
return false
Expand Down

0 comments on commit 9490abb

Please sign in to comment.