diff options
Diffstat (limited to 'world/map/npc/052-2/storage.txt')
-rw-r--r-- | world/map/npc/052-2/storage.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/world/map/npc/052-2/storage.txt b/world/map/npc/052-2/storage.txt index c9cdfd0f..62f9cd46 100644 --- a/world/map/npc/052-2/storage.txt +++ b/world/map/npc/052-2/storage.txt @@ -8,7 +8,7 @@ // 2: All spawns are done and the players killed all mobs //----------------------------------------------------------------------------- -052-2.gat,23,69,0|script|#TriggerItemsInvoker|32767,1,0 +052-2,23,69,0|script|#TriggerItemsInvoker|32767,1,0 { set @step, 6; if ($@illia_progress < @step) goto L_ShouldNotBeHere; @@ -27,7 +27,7 @@ L_StartItemInvoker: } -052-2.gat,1,1,0|script|#ItemsInvoker|127 +052-2,1,1,0|script|#ItemsInvoker|127 { end; @@ -42,7 +42,7 @@ OnCommandStart: set $@illia_storage_max_items, 20; set $@illia_storage_deviation, (8 + ($Illia_Luvia_Harvest*70)/100)*3; initnpctimer; - areatimer "052-2.gat", 19, 60, 35, 78, 10, "#ItemsInvoker::OnStart"; + areatimer "052-2", 19, 60, 35, 78, 10, "#ItemsInvoker::OnStart"; end; OnStart: @@ -64,7 +64,7 @@ OnTimer1000: OnTimer1500: // See the note above. enablenpc "#ItemsInvoker"; - areatimer "052-2.gat", 19, 60, 35, 78, 10, "#ItemsInvoker::OnItem"; + areatimer "052-2", 19, 60, 35, 78, 10, "#ItemsInvoker::OnItem"; misceffect FX_GROUND_SPAWN; end; @@ -102,26 +102,26 @@ L_ItemSpawn: if (@r > 98) goto L_MakeSpecialItem; // Normal item - makeitem $@illia_storage_items[rand(getarraysize($@illia_storage_items))], rand(2, 8), "052-2.gat", $@item_invoke_x, $@item_invoke_y; + makeitem $@illia_storage_items[rand(getarraysize($@illia_storage_items))], rand(2, 8), "052-2", $@item_invoke_x, $@item_invoke_y; set $@illia_storage_max_items, $@illia_storage_max_items - 1; set @r, 0; end; L_MakeSpecialMonster: - monster "052-2.gat", $@item_invoke_x, $@item_invoke_y, "", 1103, 1, "#ItemsInvoker::OnDeath"; - areatimer "052-2.gat", 19, 60, 35, 78, 10, "#ItemsInvoker::OnWtf"; + monster "052-2", $@item_invoke_x, $@item_invoke_y, "", 1103, 1, "#ItemsInvoker::OnDeath"; + areatimer "052-2", 19, 60, 35, 78, 10, "#ItemsInvoker::OnWtf"; set $@illia_storage_max_items, $@illia_storage_max_items - 1; end; L_MakeMonster: - monster "052-2.gat", $@item_invoke_x, $@item_invoke_y, "", 1101, rand(1, 3), "#ItemsInvoker::OnDeath"; + monster "052-2", $@item_invoke_x, $@item_invoke_y, "", 1101, rand(1, 3), "#ItemsInvoker::OnDeath"; set $@illia_storage_max_items, $@illia_storage_max_items - 1; set @r, 0; end; L_MakeSpecialItem: - makeitem $@illia_storage_special_items[rand(getarraysize($@illia_storage_special_items))], rand(2, 4), "052-2.gat", $@item_invoke_x, $@item_invoke_y; - areatimer "052-2.gat", 19, 60, 35, 78, 10, "#ItemsInvoker::OnWow"; + makeitem $@illia_storage_special_items[rand(getarraysize($@illia_storage_special_items))], rand(2, 4), "052-2", $@item_invoke_x, $@item_invoke_y; + areatimer "052-2", 19, 60, 35, 78, 10, "#ItemsInvoker::OnWow"; set $@illia_storage_max_items, $@illia_storage_max_items - 1; set @r, 0; end; @@ -129,7 +129,7 @@ L_MakeSpecialItem: L_CheckMobs: if ($@illia_progress != 6) goto L_Clear; - if (mobcount("052-2.gat", "#ItemsInvoker::OnDeath") < 0) + if (mobcount("052-2", "#ItemsInvoker::OnDeath") < 0) goto L_Stop; setnpctimer 0; end; @@ -139,7 +139,7 @@ L_Clear: setnpctimer 0; set $@illia_storage_deviation, 0; set $@illia_storage_max_items, 0; - killmonster "052-2.gat", "#ItemsInvoker::OnDeath"; + killmonster "052-2", "#ItemsInvoker::OnDeath"; end; L_Stop: @@ -152,7 +152,7 @@ L_Stop: set $@illia_progress, 7; callfunc "UpdateIlliaProgress"; set $@illia_max_time, $@illia_max_time + 900; - areatimer "052-2.gat", 19, 60, 35, 78, 10, "#ItemsInvoker::OnStop"; + areatimer "052-2", 19, 60, 35, 78, 10, "#ItemsInvoker::OnStop"; end; OnDeath: @@ -172,7 +172,7 @@ OnWow: } -052-2.gat,35,68,0|script|#ToPartyRoom|32767,1,1 +052-2,35,68,0|script|#ToPartyRoom|32767,1,1 { set @step, 6; if ($@illia_progress < @step) goto L_ShouldNotBeHere; @@ -181,7 +181,7 @@ OnWow: end; L_Warp: - warp "052-2.gat", 73, 48; + warp "052-2", 73, 48; end; L_ShouldNotBeHere: |