From 279a4acb0a4a64a1e69154ef862b300473fd4145 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Jul 2020 22:59:05 -0300 Subject: Iced Water can now be used and will give you a break on the Volcano. --- npc/functions/dungeon.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'npc/functions/dungeon.txt') diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt index 0e83bed49..125420575 100644 --- a/npc/functions/dungeon.txt +++ b/npc/functions/dungeon.txt @@ -28,8 +28,13 @@ OnHeat: } // You are in a HEATMAP$, so suffer damage from heat - percentheal -5, 0; - addtimer2 5000, .name$+"::OnHeat"; + if (@coolio > gettimetick(2)) + percentheal -1, 0; + else + percentheal -5, 0; + + // New tick (dies in 140~180 seconds) + addtimer2 rand2(7000, 9000), .name$+"::OnHeat"; end; } -- cgit v1.2.3-70-g09d2