summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-02 09:13:39 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-02 09:13:39 -0300
commit04552d3ccbc70dfea3274a5ee31c2721767d03e6 (patch)
tree2a4062f0c899d66c34e5ecc01bccae990f359cd5 /npc/magic
parentf04057d32d6b52f7b4db334d974a165a380d2e27 (diff)
downloadserverdata-04552d3ccbc70dfea3274a5ee31c2721767d03e6.tar.gz
serverdata-04552d3ccbc70dfea3274a5ee31c2721767d03e6.tar.bz2
serverdata-04552d3ccbc70dfea3274a5ee31c2721767d03e6.tar.xz
serverdata-04552d3ccbc70dfea3274a5ee31c2721767d03e6.zip
MP Regen now halts regeneration. Healing skills rules changes depending on this
- First Aid: 80% penalty - Healing: 67% penalty against self, otherwise no penalty - Magnus Heal: No penalty PS. Healing from items or other sources (players, little wonders, etc.) intact
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/mpregen.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/magic/mpregen.txt b/npc/magic/mpregen.txt
index f060ddb23..e58af3c87 100644
--- a/npc/magic/mpregen.txt
+++ b/npc/magic/mpregen.txt
@@ -15,6 +15,8 @@ function script SK_mpregen {
.@ratio=max(40, 60-.@lv);
.@mpheal=.@basehp*.@ratio/100;
heal -.@basehp, .@mpheal;
+ // Temporarily block healing and regeneration skills
+ SC_Bonus(1+.@lv, SC_HALT_REGENERATION, 1);
return;
}