summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-28 22:59:05 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-28 22:59:05 -0300
commit279a4acb0a4a64a1e69154ef862b300473fd4145 (patch)
tree405e629521816383dc1127750eff4af1bb1b2769 /npc
parent7ec7411f6e631d69a3b2e1286d1e069138c3c860 (diff)
downloadserverdata-279a4acb0a4a64a1e69154ef862b300473fd4145.tar.gz
serverdata-279a4acb0a4a64a1e69154ef862b300473fd4145.tar.bz2
serverdata-279a4acb0a4a64a1e69154ef862b300473fd4145.tar.xz
serverdata-279a4acb0a4a64a1e69154ef862b300473fd4145.zip
Iced Water can now be used and will give you a break on the Volcano.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt9
-rw-r--r--npc/functions/dungeon.txt9
2 files changed, 16 insertions, 2 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index b96bbc943..270fa50f7 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -591,6 +591,15 @@ OnInit:
debugmes "";
$UPDATE=1590616575;
}
+ // Current UPDATE value: Ter Jul 28 22:49:52 BRT 2020
+ // Tulimshar Volcano
+ if ($UPDATE < 1595987392) {
+ $UPDATE=1595987392;
+ ReplaceItemFromEveryPlayer(816, IcedBottle);
+ debugmes "";
+ debugmes "* Iced Water re-id";
+ debugmes "";
+ }
// This mensures Contributors Credits, and changes only during updates.
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;
}