summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-lay-on-hands.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2023-10-16 03:17:20 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-10-16 03:17:20 +0000
commit9584d85bc84fc367147f405403b16eb06daa1ac8 (patch)
treefb6de00b3eb982a9e7044fe84f2bcda9c32068c5 /world/map/npc/magic/level2-lay-on-hands.txt
parented5b7c7df1a770d69c0f60463bd324f762daa078 (diff)
downloadserverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.tar.gz
serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.tar.bz2
serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.tar.xz
serverdata-9584d85bc84fc367147f405403b16eb06daa1ac8.zip
Equipment stats use
Diffstat (limited to 'world/map/npc/magic/level2-lay-on-hands.txt')
-rw-r--r--world/map/npc/magic/level2-lay-on-hands.txt2
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 ?