diff options
Diffstat (limited to 'world/map/npc/magic/level2-lay-on-hands.txt')
-rw-r--r-- | world/map/npc/magic/level2-lay-on-hands.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt index 744d145e..8feb9107 100644 --- a/world/map/npc/magic/level2-lay-on-hands.txt +++ b/world/map/npc/magic/level2-lay-on-hands.txt @@ -29,7 +29,7 @@ L_Pay: if (get(Hp, @target_id) < 1) end; - set .@fraction, max(80, 200 - (Vit + (@spellpower/10))); // pay at least 40% + set .@fraction, max(80, 200 - ((Vit+Vit2) + (@spellpower/10))); // pay at least 40% set .@payment, (@needed * .@fraction) / 200; set .@available, Hp - (MaxHp / 20); set @heal_value, if_then_else(.@payment < .@available, @needed+1-1, (.@available * 200) / .@fraction); // FIXME / XXX why the f do I need to do +1-1 ? |