summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-10-17 12:50:10 -0300
committerJesusaves <cpntb1@ymail.com>2021-10-17 12:50:10 -0300
commit26e9fe79fcb27d10da89aa746c5fc329eabbd5b9 (patch)
tree33c081747a7c577f77fac62c9ad1c11b995fc4b7 /npc
parenta5f3a85759d3d7d25b37507f31853af1ebd19f07 (diff)
downloadserverdata-26e9fe79fcb27d10da89aa746c5fc329eabbd5b9.tar.gz
serverdata-26e9fe79fcb27d10da89aa746c5fc329eabbd5b9.tar.bz2
serverdata-26e9fe79fcb27d10da89aa746c5fc329eabbd5b9.tar.xz
serverdata-26e9fe79fcb27d10da89aa746c5fc329eabbd5b9.zip
Cursed Maps: Legendary Weapons (any) can protect user from 50% of the penalty
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/dungeon.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt
index d2664d79a..822246974 100644
--- a/npc/functions/dungeon.txt
+++ b/npc/functions/dungeon.txt
@@ -60,6 +60,8 @@ OnCurse:
// You are in a CURSEMAP$, so suffer damage from the curse
if (@purifio > gettimetick(2) || Class == Savior)
heal 0, -1;
+ else if (islegendary())
+ percentheal 0, -2;
else
percentheal 0, -4;