summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/items/rand_sc_heal.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt
index 1c1c7dc1e..c08d7f271 100644
--- a/npc/items/rand_sc_heal.txt
+++ b/npc/items/rand_sc_heal.txt
@@ -28,6 +28,9 @@
.@old_val1 = getstatus(getarg(0), 1);
.@old_delay = getstatus(getarg(0), 4) * 1000;
+ // Penalty to healing item stack: -20% on previous item bonus
+ .@old_val1 = (.@old_val1*8/10);
+
// change the delay to prevent fast healing
if (.@old_delay > @delay)
{