summaryrefslogtreecommitdiff
path: root/world/map/npc/052-1
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/052-1')
-rw-r--r--world/map/npc/052-1/_mobs.txt3
-rw-r--r--world/map/npc/052-1/channelling.txt26
-rw-r--r--world/map/npc/052-1/janitor.txt3
3 files changed, 20 insertions, 12 deletions
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..eda49450 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;
@@ -38,16 +40,17 @@ L_PushBack:
close;
OnCommandDS:
- areamonster "052-1.gat", 56, 30, 60, 31, "", 1101, 2 + rand(3), "#Enchanted Door::onSpawn";
+ areamonster "052-1.gat", 56, 30, 60, 31, "", 1101, 2 + rand(3), "#Enchanted Door::OnSpawn";
misceffect FX_EVIL_SUMMON;
end;
-onSpawn:
+OnSpawn:
end;
}
-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;
@@ -250,11 +256,11 @@ S_CheckChannelling:
set $@illia_channelling_status_msg$, $@illia_char_channelling$ + ": Damn! It faded a little.";
if ($@illia_channelling_status_msg$ != "")
- areatimer "052-1.gat", 1, 1, 100, 80, 0, "#Power Circle::onMPSC";
+ areatimer "052-1.gat", 1, 1, 100, 80, 0, "#Power Circle::OnMPSC";
return;
-onMPSC:
+OnMPSC:
message strcharinfo(0), $@illia_channelling_status_msg$;
set $@illia_channelling_status_msg$, "";
end;
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: