summaryrefslogtreecommitdiff
path: root/world/map/npc/009-7/battlemaster.txt
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2014-10-28 21:29:53 -0400
committermekolat <mekolat@gmail.com>2014-10-30 14:21:17 -0400
commit1407e7d012b52d425228b5f05c0220f2585b3160 (patch)
tree23a6dc5f1e806c573b502eab2cf15cb4d9bb80ca /world/map/npc/009-7/battlemaster.txt
parente5190f9ddff51a2e246a7af5538909ec212e00db (diff)
downloadserverdata-1407e7d012b52d425228b5f05c0220f2585b3160.tar.gz
serverdata-1407e7d012b52d425228b5f05c0220f2585b3160.tar.bz2
serverdata-1407e7d012b52d425228b5f05c0220f2585b3160.tar.xz
serverdata-1407e7d012b52d425228b5f05c0220f2585b3160.zip
use same indenting everywhere
Diffstat (limited to 'world/map/npc/009-7/battlemaster.txt')
-rw-r--r--world/map/npc/009-7/battlemaster.txt94
1 files changed, 50 insertions, 44 deletions
diff --git a/world/map/npc/009-7/battlemaster.txt b/world/map/npc/009-7/battlemaster.txt
index c5d964b4..e211092c 100644
--- a/world/map/npc/009-7/battlemaster.txt
+++ b/world/map/npc/009-7/battlemaster.txt
@@ -54,35 +54,38 @@ function|script|fightclub_GoBack|,
if(Duel_LMS == 1) goto L_GoBack;
return;
- L_GoBack:
- set Duel_LMS, 0;
- warp "009-7.gat", 39, 37;
- gmcommand "@alive";
- message strcharinfo(0), "Thank you for participating in Last Man Standing!";
- return;
-
- L_Clean:
- set Duel_LMS, 0;
- return;
-
- L_Death:
- if((Duel_LMS != 1) && ((getmap() == "009-6") || (getmap() == "009-5"))) L_NormalExit;
- if(Duel_LMS != 1) end;
- if((getmap() != "009-6") && (getmap() != "009-5")) goto L_Clean;
- goto L_GoBack;
-
- OnPCKilledEvent: goto L_Death;
- OnPCDieEvent: goto L_Death;
-
- OnResave:
- if(Duel_LMS != 1) end;
- savepoint "009-7.gat", 39, 37;
- return;
-
- L_NormalExit:
- warp "009-3.gat", 162, 82;
- gmcommand "@alive";
- return;
+L_GoBack:
+ set Duel_LMS, 0;
+ warp "009-7.gat", 39, 37;
+ gmcommand "@alive";
+ message strcharinfo(0), "Thank you for participating in Last Man Standing!";
+ return;
+
+L_Clean:
+ set Duel_LMS, 0;
+ return;
+
+L_Death:
+ if((Duel_LMS != 1) && ((getmap() == "009-6") || (getmap() == "009-5"))) L_NormalExit;
+ if(Duel_LMS != 1) end;
+ if((getmap() != "009-6") && (getmap() != "009-5")) goto L_Clean;
+ goto L_GoBack;
+
+OnPCKilledEvent:
+ goto L_Death;
+
+OnPCDieEvent:
+ goto L_Death;
+
+OnResave:
+ if(Duel_LMS != 1) end;
+ savepoint "009-7.gat", 39, 37;
+ return;
+
+L_NormalExit:
+ warp "009-3.gat", 162, 82;
+ gmcommand "@alive";
+ return;
}
009-6.gat,36,48,0|script|#GoBack2#Duels|127,0,1,
{
@@ -99,24 +102,27 @@ function|script|fightclub_GoBack2|,
if(Duel_PVP == 1) goto L_GoBack;
return;
- L_GoBack:
- set Duel_PVP, 0;
- warp "009-7.gat", 39, 37;
- gmcommand "@alive";
- message strcharinfo(0), "Thank you for participating in the PVP cave!";
- return;
+L_GoBack:
+ set Duel_PVP, 0;
+ warp "009-7.gat", 39, 37;
+ gmcommand "@alive";
+ message strcharinfo(0), "Thank you for participating in the PVP cave!";
+ return;
+
+L_Clean:
+ set Duel_PVP, 0;
+ return;
- L_Clean:
- set Duel_PVP, 0;
- return;
+L_Death:
+ if(Duel_PVP != 1) end;
+ if((getmap() != "001-2") && (getmap() != "001-3")) goto L_Clean;
+ goto L_GoBack;
- L_Death:
- if(Duel_PVP != 1) end;
- if((getmap() != "001-2") && (getmap() != "001-3")) goto L_Clean;
- goto L_GoBack;
+OnPCKilledEvent:
+ goto L_Death;
- OnPCKilledEvent: goto L_Death;
- OnPCDieEvent: goto L_Death;
+OnPCDieEvent:
+ goto L_Death;
}
001-2.gat,130,22,0|script|#GoBack4#Duels|127,1,1,
{