diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-01-01 18:07:26 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-01-01 18:07:26 +0100 |
commit | 5f1a59561d869afb7e159497654478b7dace68aa (patch) | |
tree | 3b18c57454cb70250a7c148fd14e9a012a5acedd | |
parent | 7105c586700a345490e81df66f7a6bc991e23639 (diff) | |
download | serverdata-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
-rw-r--r-- | npc/031-3_Cave/cindyCave.txt | 5 |
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 |