diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-01-18 22:09:22 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-01-18 22:09:22 +0100 |
commit | a7a0761c684a2a2ef878cd79cbf4346e546f4b9a (patch) | |
tree | d206b64fa8eef7ae7886ec891a91d9c186909e24 /npc | |
parent | 6033b796431482528072d6de17e08a69307599e0 (diff) | |
download | serverdata-a7a0761c684a2a2ef878cd79cbf4346e546f4b9a.tar.gz serverdata-a7a0761c684a2a2ef878cd79cbf4346e546f4b9a.tar.bz2 serverdata-a7a0761c684a2a2ef878cd79cbf4346e546f4b9a.tar.xz serverdata-a7a0761c684a2a2ef878cd79cbf4346e546f4b9a.zip |
cindy quest: level restriction and map announces for each wave
Diffstat (limited to 'npc')
-rw-r--r-- | npc/031-1_NivalisPort/angelaOutside.txt | 2 | ||||
-rw-r--r-- | npc/031-3_Cave/cindyCave.txt | 25 |
2 files changed, 25 insertions, 2 deletions
diff --git a/npc/031-1_NivalisPort/angelaOutside.txt b/npc/031-1_NivalisPort/angelaOutside.txt index 98523903..b42c5318 100644 --- a/npc/031-1_NivalisPort/angelaOutside.txt +++ b/npc/031-1_NivalisPort/angelaOutside.txt @@ -22,7 +22,7 @@ mes "\"It's terrible, oh my dear child!\""; next; - if (countitem("ConcentrationPotion") > 0) goto L_Menu_Potion; + if (countitem("ConcentrationPotion") > 0 && baselevel > 70) goto L_Menu_Potion; menu "\"Please calm down and tell me what happened.\"", L_Whining, diff --git a/npc/031-3_Cave/cindyCave.txt b/npc/031-3_Cave/cindyCave.txt index df7a153c..b61dfc2d 100644 --- a/npc/031-3_Cave/cindyCave.txt +++ b/npc/031-3_Cave/cindyCave.txt @@ -46,7 +46,7 @@ L_Please_Help: close; L_Try_Cage: - if (baselevel < 65) goto L_To_Weak; + if (baselevel < 70) goto L_To_Weak; if (countitem("TreasureKey") < @KEYS_AMOUNT) goto L_Not_Enough_Keys; delitem "TreasureKey", @KEYS_AMOUNT; mes "As you try to open the door of the cage, there is a loudly squeaking noise."; @@ -61,6 +61,7 @@ L_Try_Cage: set $@FIGHT_YETI_WAVE, 0; set $@YETI_COUNT, 0; set $@FIGHT_YETI_PLAYER_COUNT, getareausers("031-3.gat", 80, 20, 160, 90); + areamonster "031-3.gat", 80, 20, 160, 90, "", 1072, 1, "Cindy::onPetDeath"; startnpctimer; goto L_Exit; @@ -147,6 +148,28 @@ L_NextWave: set $@YETI_COUNT, $@YETI_COUNT + $@FIGHT_YETI_NUMBER; areamonster "031-3.gat", 80, 20, 160, 90, "", 1072, $@FIGHT_YETI_NUMBER, "Cindy::onPetDeath"; + + if ($@FIGHT_YETI_WAVE == 1) + mapannounce "031-3.gat", "Cindy: Yetis!", 0; + if ($@FIGHT_YETI_WAVE == 2) + mapannounce "031-3.gat", "Cindy: Watch out!", 0; + if ($@FIGHT_YETI_WAVE == 3) + mapannounce "031-3.gat", "Cindy: More of them are coming!", 0; + if ($@FIGHT_YETI_WAVE == 4) + mapannounce "031-3.gat", "Cindy: Be carful! More of them!", 0; + if ($@FIGHT_YETI_WAVE == 5) + mapannounce "031-3.gat", "Cindy: Attention! There is another bunch of them!", 0; + if ($@FIGHT_YETI_WAVE == 6) + mapannounce "031-3.gat", "Cindy: Hang on! More of them!", 0; + if ($@FIGHT_YETI_WAVE == 7) + mapannounce "031-3.gat", "Cindy: More Yetis! Will this never end?", 0; + if ($@FIGHT_YETI_WAVE == 8) + mapannounce "031-3.gat", "Cindy: There are coming more and more!", 0; + if ($@FIGHT_YETI_WAVE == 9) + mapannounce "031-3.gat", "Cindy: Watch your back! There are so many of them!", 0; + 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; |