From 7377f8576c897329e4a96feb45848717b4f26848 Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 28 Oct 2014 22:45:32 -0400 Subject: use bitmasking & merge death handler --- world/map/npc/001-3/guards.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'world/map/npc/001-3/guards.txt') diff --git a/world/map/npc/001-3/guards.txt b/world/map/npc/001-3/guards.txt index 7b18f252..0c79d3a2 100644 --- a/world/map/npc/001-3/guards.txt +++ b/world/map/npc/001-3/guards.txt @@ -15,12 +15,12 @@ L_Sure: mes "[Phaet the Royal Guard]"; mes "\"Ok.\""; next; - if(Duel_PVP == 1) goto L_FightClub; + if(DUELS & $@DuelPvpBit) goto L_FightClub; warp "001-2.gat", 25, 23; close; L_FightClub: - set Duel_PVP, 0; + set DUELS, DUELS &~ $@DuelPvpBit; warp "009-7.gat", 39, 37; close; } -- cgit v1.2.3-60-g2f50