From 6c59748d1e796194ce03829e6ed89bfb47f7a77e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 11 Dec 2020 11:19:43 -0300 Subject: Submodule update. Also: Force discharge if you hit Grinchboo with the launcher. Lets hope it does not overburdens server. --- world/map/npc/annuals/xmas/2020.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'world/map/npc/annuals') 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, -- cgit v1.2.3-60-g2f50