From e5190f9ddff51a2e246a7af5538909ec212e00db Mon Sep 17 00:00:00 2001 From: mekolat Date: Sun, 7 Sep 2014 15:44:33 -0400 Subject: add fight club --- world/map/npc/items/check_wand.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'world/map/npc/items') diff --git a/world/map/npc/items/check_wand.txt b/world/map/npc/items/check_wand.txt index 4d8016bb..0e0a9a7e 100644 --- a/world/map/npc/items/check_wand.txt +++ b/world/map/npc/items/check_wand.txt @@ -2,6 +2,8 @@ // Author: Wushin function|script|WandMana|, { + if(isin("009-7.gat", $@fightclub_x1, $@fightclub_y1, $@fightclub_x2, $@fightclub_y2) && ((@Duel_Fighter != 1) || ($@Duel_NoMagic == 1))) + goto L_Return; callfunc "CheckWand"; set @WandCost, (@Wand * ((MaxSp / 10) + 2)); set @WandAttack, 0; @@ -20,7 +22,7 @@ L_NoWand: message strcharinfo(0), "You need a wand Equipped!"; set @WandAttack, 0; goto L_Return; - + L_LowSp: message strcharinfo(0), "Out of Mana"; set @WandAttack, 0; -- cgit v1.2.3-60-g2f50