summaryrefslogtreecommitdiff
path: root/npc/031-3_Cave
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-01-01 18:07:26 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-01-01 18:07:26 +0100
commit5f1a59561d869afb7e159497654478b7dace68aa (patch)
tree3b18c57454cb70250a7c148fd14e9a012a5acedd /npc/031-3_Cave
parent7105c586700a345490e81df66f7a6bc991e23639 (diff)
downloadserverdata-5f1a59561d869afb7e159497654478b7dace68aa.tar.gz
serverdata-5f1a59561d869afb7e159497654478b7dace68aa.tar.bz2
serverdata-5f1a59561d869afb7e159497654478b7dace68aa.tar.xz
serverdata-5f1a59561d869afb7e159497654478b7dace68aa.zip
Rescue Cindy: Changing numer of yetis spawned and added some Debug messages
Diffstat (limited to 'npc/031-3_Cave')
-rw-r--r--npc/031-3_Cave/cindyCave.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/031-3_Cave/cindyCave.txt b/npc/031-3_Cave/cindyCave.txt
index f87000aa..080e5ea9 100644
--- a/npc/031-3_Cave/cindyCave.txt
+++ b/npc/031-3_Cave/cindyCave.txt
@@ -148,12 +148,13 @@ L_NextWave:
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;
-//TODO: adjust number of yetis spawned
+//TODO: adjust number of yetis spawned, maybe yeti wave * 2/3 and player count /12
//TODO: use yeti count here
- set $@FIGHT_YETI_NUMBER, $@FIGHT_YETI_WAVE + $@FIGHT_YETI_WAVE * $@FIGHT_YETI_PLAYER_COUNT/10;
+ set $@FIGHT_YETI_NUMBER, ($@FIGHT_YETI_WAVE * 2 / 3) + ($@FIGHT_YETI_WAVE * $@FIGHT_YETI_PLAYER_COUNT/12);
set $@YETI_COUNT, $@YETI_COUNT + $@FIGHT_YETI_NUMBER;
areamonster "031-3.gat", 80, 20, 160, 90, "", 1072, $@FIGHT_YETI_NUMBER, "Cindy::onPetDeath";
+ 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