From 89e2ac5687d698f0843ac46612ee33b6692bbc93 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 5 Jul 2013 12:25:49 -0700 Subject: Move starting brace to new line --- world/map/npc/052-1/_mobs.txt | 3 ++- world/map/npc/052-1/channelling.txt | 18 ++++++++++++------ world/map/npc/052-1/janitor.txt | 3 ++- 3 files changed, 16 insertions(+), 8 deletions(-) (limited to 'world/map/npc/052-1') diff --git a/world/map/npc/052-1/_mobs.txt b/world/map/npc/052-1/_mobs.txt index c955142f..a63c28de 100644 --- a/world/map/npc/052-1/_mobs.txt +++ b/world/map/npc/052-1/_mobs.txt @@ -4,7 +4,8 @@ 052-1.gat,55,29,43,39|monster|AzulSlime|1100,18,100000,20000,Mob052-1::On1100 -052-1.gat,0,0,0|script|Mob052-1|-1,{ +052-1.gat,0,0,0|script|Mob052-1|-1, +{ On1100: set @mobID, 1100; callfunc "MobPoints"; diff --git a/world/map/npc/052-1/channelling.txt b/world/map/npc/052-1/channelling.txt index 3ea28fc9..52d71e45 100644 --- a/world/map/npc/052-1/channelling.txt +++ b/world/map/npc/052-1/channelling.txt @@ -8,7 +8,8 @@ // 2: Channelling completed //----------------------------------------------------------------------------- -052-1.gat,25,44,0|script|#EnchantDoorTrigger|32767,3,4,{ +052-1.gat,25,44,0|script|#EnchantDoorTrigger|32767,3,4, +{ set @step, 4; if ($@illia_progress < @step) goto L_ShouldNotBeHere; if (strcharinfo(0) == $@ILLIA_HERO$ && @@ -25,7 +26,8 @@ L_ShouldNotBeHere: } -052-1.gat,57,29,0|script|#Enchanted Door|369,1,1{ +052-1.gat,57,29,0|script|#Enchanted Door|369,1,1 +{ if ($@illia_level_4_progress != 2) goto L_PushBack; end; @@ -47,7 +49,8 @@ onSpawn: } -052-1.gat,57,29,0|script|#Enchanted Door2|400,1,1{ +052-1.gat,57,29,0|script|#Enchanted Door2|400,1,1 +{ if ($@illia_level_4_progress == 2) goto L_Warp; end; @@ -61,7 +64,8 @@ OnCommandDestroy: } -052-1.gat,51,38,0|script|Engravings|400,{ +052-1.gat,51,38,0|script|Engravings|400, +{ mes "You can read some words engraved inside this rock, but some are erased by wind and time:"; next; mes "\".. can use this .. power..´. . .´. . . amplify a spell ..´."; @@ -88,7 +92,8 @@ L_SuggestChannelling: } -function|script|StartChannelling|{ +function|script|StartChannelling| +{ if (isat("052-1.gat",53,38) == 0) end; if ($@illia_level_4_progress > 0) @@ -125,7 +130,8 @@ function|script|StartChannelling|{ } -052-1.gat,53,38,0|script|#Power Circle|368,{ +052-1.gat,53,38,0|script|#Power Circle|368, +{ set @step, 4; if ($@illia_progress < @step) goto L_ShouldNotBeHere; diff --git a/world/map/npc/052-1/janitor.txt b/world/map/npc/052-1/janitor.txt index e2ca8c4f..0a3a5356 100644 --- a/world/map/npc/052-1/janitor.txt +++ b/world/map/npc/052-1/janitor.txt @@ -1,6 +1,7 @@ // Illia Island janitor -052-1.gat,1,1,0|script|#IlliaJanitor4|127,{ +052-1.gat,1,1,0|script|#IlliaJanitor4|127, +{ end; OnCommandClean: -- cgit v1.2.3-60-g2f50