diff options
Diffstat (limited to 'world/map/npc/052-1/channelling.txt')
-rw-r--r-- | world/map/npc/052-1/channelling.txt | 26 |
1 files changed, 16 insertions, 10 deletions
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; |