summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 04:25:46 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 04:25:46 -0300
commit6c32e39f7bdc985b54b8da23a947deb26ea7d71c (patch)
tree80541a3255a1b9a7a6570902792bce4cac293854 /npc/magic
parentd0fcbc253457c2cb3922b1a299e2a18bdc762761 (diff)
downloadserverdata-6c32e39f7bdc985b54b8da23a947deb26ea7d71c.tar.gz
serverdata-6c32e39f7bdc985b54b8da23a947deb26ea7d71c.tar.bz2
serverdata-6c32e39f7bdc985b54b8da23a947deb26ea7d71c.tar.xz
serverdata-6c32e39f7bdc985b54b8da23a947deb26ea7d71c.zip
Fix Elanore's dialog, Lum, and Inma so they are consistent. Changes Legacy behavior.
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/level1-lesser-heal.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/magic/level1-lesser-heal.txt b/npc/magic/level1-lesser-heal.txt
index bf515062..805b79ec 100644
--- a/npc/magic/level1-lesser-heal.txt
+++ b/npc/magic/level1-lesser-heal.txt
@@ -13,7 +13,15 @@ function script SK_Lum {
// Kill the GM Event
if (isequipped(MagicGMTopHat))
.@ok=false;
- // Ailments cannot prevent this one because the Lifestione, so...
+ // Ailments cannot be bypassed nor healed until Lv 3 Life Magic
+ if (getstatus(SC_BLOODING))
+ .@ok=false;
+ if (getstatus(SC_CURSE))
+ .@ok=false;
+ if (getstatus(SC_POISON) && !getstatus(SC_SLOWPOISON))
+ .@ok=false;
+ if (getstatus(SC_DPOISON) && !getstatus(SC_SLOWPOISON))
+ .@ok=false;
// Already dead
if (Hp < 1)
.@ok=false;