summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-11 11:19:43 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-11 11:19:43 -0300
commit6c59748d1e796194ce03829e6ed89bfb47f7a77e (patch)
treee1d94c4f6cfe1a1057b22ca88d14a42ddcad65ed /world/map
parent7b5866cef3377c642ea13df71aabd29c813e3b24 (diff)
downloadserverdata-6c59748d1e796194ce03829e6ed89bfb47f7a77e.tar.gz
serverdata-6c59748d1e796194ce03829e6ed89bfb47f7a77e.tar.bz2
serverdata-6c59748d1e796194ce03829e6ed89bfb47f7a77e.tar.xz
serverdata-6c59748d1e796194ce03829e6ed89bfb47f7a77e.zip
Submodule update.v2020.12.01+4
Also: Force discharge if you hit Grinchboo with the launcher. Lets hope it does not overburdens server.
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/annuals/xmas/2020.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/world/map/npc/annuals/xmas/2020.txt b/world/map/npc/annuals/xmas/2020.txt
index 0ad40cdc..87b07a85 100644
--- a/world/map/npc/annuals/xmas/2020.txt
+++ b/world/map/npc/annuals/xmas/2020.txt
@@ -22,6 +22,16 @@ OnHit:
if ((BaseLevel < 30) || (gettimetick(2) - TUT_var < 2*7*86400))
end;
+ // Not equipped to hunt Grinchboos
+ //if (getequipid(equip_arrow) != 5260)
+ // end;
+ if (getequipid(equip_hand1) != 5261)
+ end;
+
+ // tell the spells they were discharged
+ // XXX: maybe we could make it do area damage when you discharge (release your energy all of a sudden)
+ addtimer 0, "::OnDischarge"; // seeks OnDischarge in ALL npcs
+
// Magic cheat
if (@wandspell[4])
end;
@@ -38,12 +48,6 @@ OnHit:
if (@upmarmuspell[1])
end;
- // Not equipped to hunt Grinchboos
- //if (getequipid(equip_arrow) != 5260)
- // end;
- if (getequipid(equip_hand1) != 5261)
- end;
-
// By last, check for Arrow Hail
set @nearby, 0;
foreach 1, getmap(), @away[0] - 14, @away[1] - 14, @away[0] + 14, @away[1] + 14,