From ea4652c298f16316ff2d5ede9d68efeeb20f5c1e Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 19 Jan 2011 17:17:42 +0100 Subject: cindy quest: after 44 minutes an increadible amount of yetis is spawned to kill all players --- npc/031-3_Cave/cindyCave.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'npc') diff --git a/npc/031-3_Cave/cindyCave.txt b/npc/031-3_Cave/cindyCave.txt index 3eeb8184..e4c7b29f 100644 --- a/npc/031-3_Cave/cindyCave.txt +++ b/npc/031-3_Cave/cindyCave.txt @@ -59,8 +59,10 @@ L_Try_Cage: // initialize fight set $@FIGHT_YETI_STATUS, 1; set $@FIGHT_YETI_WAVE, 0; - set $@YETI_COUNT, 0; + set $@YETI_COUNT, 1; set $@FIGHT_YETI_PLAYER_COUNT, getareausers("031-3.gat", 80, 20, 160, 90); + // this yeti is spawned because of some timing problems + // without it, the first and second wave start nearly the same time areamonster "031-3.gat", 80, 20, 160, 90, "", 1072, 1, "Cindy::onPetDeath"; startnpctimer; @@ -140,10 +142,13 @@ L_CaveLogic: L_NextWave: set $@FIGHT_YETI_ROUND_TIMER, 0; - set $@FIGHT_YETI_WAVE, $@FIGHT_YETI_WAVE + 1; if ($@FIGHT_YETI_WAVE > 10 && $@YETI_COUNT == 0) goto L_CleanUp; - if ($@FIGHT_YETI_WAVE > 10) goto L_Return_1; + if ($@FIGHT_YETI_WAVE > 10 && $@FIGHT_YETI_WAVE < 22) goto L_Return_1; + if ($@FIGHT_YETI_WAVE > 22) + areamonster "031-3.gat", 80, 20, 160, 90, "", 1072, $@FIGHT_YETI_WAVE*2 + $@FIGHT_YETI_PLAYER_COUNT*5, "Cindy::onPetDeath"; + if ($@FIGHT_YETI_WAVE > 22) + set $@YETI_COUNT, $@YETI_COUNT + $@FIGHT_YETI_WAVE*2 + $@FIGHT_YETI_PLAYER_COUNT*5; set $@FIGHT_YETI_NUMBER, (1 + (1 * $@FIGHT_YETI_WAVE) + (2 * $@FIGHT_YETI_PLAYER_COUNT))/4; set $@YETI_COUNT, $@YETI_COUNT + $@FIGHT_YETI_NUMBER; @@ -170,7 +175,6 @@ L_NextWave: if ($@FIGHT_YETI_WAVE == 10) mapannounce "031-3.gat", "Cindy: This seems to be their final attack! I believe in you!", 0; -// mapannounce "031-3.gat", "WAVE: " + $@FIGHT_YETI_WAVE + " NUMBER OF YETIS SPAWNED: " + $@FIGHT_YETI_NUMBER + " TOTAL YETIS: " + $@YETI_COUNT, 0; goto L_Return_1; // Called on each player once every 5 seconds -- cgit v1.2.3-70-g09d2 From f43b6cbaaa09a1a933c2b1b1783d3650ad289e0a Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 20 Jan 2011 22:16:58 +0100 Subject: setting npc positions in graveyard inn --- npc/027-2_Caretakers_House/gy_inn_shops.txt | 12 ++++++------ npc/027-2_Caretakers_House/testnpcs.txt | 28 ++++++++++++++-------------- 2 files changed, 20 insertions(+), 20 deletions(-) (limited to 'npc') diff --git a/npc/027-2_Caretakers_House/gy_inn_shops.txt b/npc/027-2_Caretakers_House/gy_inn_shops.txt index 66050e9d..b7e3aa5f 100755 --- a/npc/027-2_Caretakers_House/gy_inn_shops.txt +++ b/npc/027-2_Caretakers_House/gy_inn_shops.txt @@ -7,11 +7,11 @@ // banker: function -027-2.gat,113,28,0 shop Chef Skeleton 300,519:100 -027-2.gat,101,28,0 shop Barmaid 301,519:100,533:150,534:90,562:500,676:200 -027-2.gat,103,28,0 shop Shopkeeper 302,586:1000,524:1600,544:10000,632:10000,528:1000,735:1 -027-2.gat,107,28,0 shop Magic Undead Shop 304,501 -027-2.gat,117,28,0 shop Chief Barman 309,539:175,567:500,568:500 +027-2.gat,75,26,0 shop Chef Skeleton 300,519:100 +027-2.gat,90,36,0 shop Barmaid 301,519:100,533:150,534:90,562:500,676:200 +027-2.gat,33,77,0 shop Shopkeeper 302,586:1000,524:1600,544:10000,632:10000,528:1000,735:1 +027-2.gat,103,28,0 shop Magic Undead Shop 304,501 +027-2.gat,106,22,0 shop Chief Barman 309,539:175,567:500,568:500 // Inn 027-2.gat,107,39,0 script Bloody Receptionist 320,{ @@ -27,7 +27,7 @@ } // Bank and Storage -027-2.gat,119,31,0 script Undead Banker 321,{ +027-2.gat,88,22,0 script Undead Banker 321,{ set @npcName$, "J.P. Morbid"; callfunc "Banker"; close; diff --git a/npc/027-2_Caretakers_House/testnpcs.txt b/npc/027-2_Caretakers_House/testnpcs.txt index ffae6246..62f8c956 100755 --- a/npc/027-2_Caretakers_House/testnpcs.txt +++ b/npc/027-2_Caretakers_House/testnpcs.txt @@ -17,58 +17,58 @@ // lightman: quest, -027-2.gat,105,28,0 script Drunk Lover 303,{ +027-2.gat,80,34,0 script Drunk Lover 303,{ end; } -027-2.gat,109,28,0 script Werewolf 305,{ +027-2.gat,118,23,0 script Werewolf 305,{ end; } -027-2.gat,111,28,0 script Chef's helper 306,{ +027-2.gat,74,21,0 script Chef's helper 306,{ end; } -027-2.gat,115,28,0 script Drunker 308,{ +027-2.gat,77,40,0 script Drunker 308,{ end; } -027-2.gat,119,28,0 script Barman 310,{ +027-2.gat,103,22,0 script Barman 310,{ end; } -027-2.gat,117,31,0 script SwordGuy 311,{ +027-2.gat,68,77,0 script SwordGuy 311,{ end; } -027-2.gat,101,31,0 script Ghost Drunker 312,{ +027-2.gat,110,23,0 script Ghost Drunker 312,{ end; } -027-2.gat,103,31,0 script Golbenez 307,{ +027-2.gat,107,29,0 script Golbenez 307,{ end; } -027-2.gat,105,31,0 script Crying Child 314,{ +027-2.gat,39,91,0 script Crying Child 314,{ end; } -027-2.gat,107,31,0 script Innkeeper's Ghost 315,{ +027-2.gat,91,22,0 script Innkeeper's Ghost 315,{ end; } -027-2.gat,109,31,0 script Evil Guard 316,{ +027-2.gat,58,90,0 script Evil Guard 316,{ end; } -027-2.gat,111,31,0 script Hanged Lover 317,{ +027-2.gat,43,73,0 script Hanged Lover 317,{ end; } -027-2.gat,113,31,0 script Headless Lover 318,{ +027-2.gat,29,99,0 script Headless Lover 318,{ end; } -027-2.gat,115,31,0 script Lantern Man 319,{ +027-2.gat,86,30,0 script Lantern Man 319,{ end; } -- cgit v1.2.3-70-g09d2