diff options
author | mekolat <mekolat@gmail.com> | 2015-04-15 09:31:25 -0400 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2015-04-15 12:13:38 -0400 |
commit | 4ba4d1fc9a8785c02d7f0bbb1680a83b72f46d0c (patch) | |
tree | 3bcb107e142a6047985a3eb140b147294e70ecc3 /world/map/npc/009-7/debug.txt | |
parent | 85a8149eeb2fde05a28863516399b667b9ab3c81 (diff) | |
download | serverdata-4ba4d1fc9a8785c02d7f0bbb1680a83b72f46d0c.tar.gz serverdata-4ba4d1fc9a8785c02d7f0bbb1680a83b72f46d0c.tar.bz2 serverdata-4ba4d1fc9a8785c02d7f0bbb1680a83b72f46d0c.tar.xz serverdata-4ba4d1fc9a8785c02d7f0bbb1680a83b72f46d0c.zip |
make the fight club use channels
Diffstat (limited to 'world/map/npc/009-7/debug.txt')
-rw-r--r-- | world/map/npc/009-7/debug.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/world/map/npc/009-7/debug.txt b/world/map/npc/009-7/debug.txt index f5283898..cd75a342 100644 --- a/world/map/npc/009-7/debug.txt +++ b/world/map/npc/009-7/debug.txt @@ -19,6 +19,7 @@ L_Menu: mes "##3$##0Duel_LastDuel: ##7" + $Duel_LastDuel + "##0"; mes "---"; mes "##2@##0Duel_Fighter: ##7" + @Duel_Fighter + "##0"; + mes "pvp channel: ##7" + getpvpflag(0) + "##0"; next; menu "toggle|Toggle $Duel_Enabled", L_DuelEnabled, @@ -31,6 +32,7 @@ L_Menu: "edit|Set $@Duel_PlayerQueueLimit", L_PlayerQueueLimit, "edit|Set $@Duel_PlayerQueueTimeOut", L_PlayerQueueTimeOut, "edit|Set $Duel_LastDuel", L_LastDuel, + "edit|Set pvp channel", L_Channel, "toggle|Toggle @Duel_Fighter", L_DuelFighter, "toggle|Toggle killer state", L_Killer, "toggle|Toggle killable state", L_Killable, @@ -127,6 +129,13 @@ L_LastDuel: next; goto L_Restart; +L_Channel: + mes "range: 0~32767"; + input @chn; + if(@last > 32767) goto L_OutOfRange; + setpvpchannel @chn; + goto L_Menu; + L_OutOfRange: mes "Value out of range or empty."; goto L_Menu; |