From 26e9fe79fcb27d10da89aa746c5fc329eabbd5b9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Oct 2021 12:50:10 -0300 Subject: Cursed Maps: Legendary Weapons (any) can protect user from 50% of the penalty --- npc/functions/dungeon.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50