diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-04-28 01:15:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-04-28 01:15:11 -0300 |
commit | 18144bb937fde1ab54c2790811faf9d5afe93ac1 (patch) | |
tree | 83f9e6d96ffdedf1b87715b3758c4991941c45bb | |
parent | d78269e1ea91d037d71dd7458bd0ca95f9c436b4 (diff) | |
download | serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.tar.gz serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.tar.bz2 serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.tar.xz serverdata-18144bb937fde1ab54c2790811faf9d5afe93ac1.zip |
Spice things up :3
-rw-r--r-- | npc/034-4/exit.txt | 4 | ||||
-rw-r--r-- | npc/functions/dungeon.txt | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/npc/034-4/exit.txt b/npc/034-4/exit.txt index c0c8920df..8afc3392a 100644 --- a/npc/034-4/exit.txt +++ b/npc/034-4/exit.txt @@ -13,6 +13,7 @@ OnWumpus: else getitem LightGreenDiamond, 1; getexp 0, rand2(7500, 9999); + @forced_sick$ = ""; end; OnTouch: @@ -143,6 +144,9 @@ OnTouch: // Defeating the boss yields a bonus InitMaze(7200); dispbottom l("It was a trap! We must escape!"); + sleep2(2000); + @forced_sick$ = getmap(); + doevent "#DungeonCore::OnSick"; end; } diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt index 9d780c019..0ad6f74e7 100644 --- a/npc/functions/dungeon.txt +++ b/npc/functions/dungeon.txt @@ -84,8 +84,10 @@ OnSick: // Did you left? .@i=array_find(.sickmap$, getmap()); if (.@i < 0) { - @sick$=""; - end; + if (@forced_sick$ != getmap()) { + @sick$=""; + end; + } } // First time seeing this |