From 733605a389bc429836812510df3d00c6b10420e0 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sun, 4 Sep 2011 19:21:44 +0200 Subject: Barbarians: adjusting formula for monster spawning The chance for harder monsters depends now also on the amount of living and newly spawned fluffies. --- world/map/npc/033-1/kimarr.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'world') diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt index 7882d3d1..7d565001 100644 --- a/world/map/npc/033-1/kimarr.txt +++ b/world/map/npc/033-1/kimarr.txt @@ -157,7 +157,10 @@ L_Game: set $@Fluffy_FighterID, getcharid(3); set $@Fluffy_Time, 180; -//TODO: set minimum number of killed fluffies (maybe based on level?) +//TODO: set minimum number of killed fluffies, here are some ideas +// set $@Fluffy_Min, (baselevel*7)/10; +// set $@Fluffy_Min, (baselevel*2)/3; +// set $@Fluffy_Min, (baselevel*3)/4; set $@Fluffy_Min, 2; warp "033-1.gat", 79, 34; initnpctimer; @@ -257,7 +260,7 @@ L_BeginHunting: areamonster "033-1.gat", 79, 29, 88, 42, "", 1089, $@Fluffy_Spawn, "Kimarr::OnFluffyDeath"; - set $@Fluffy_Extra, 5 * @Fluffy_XmasCake + 3 * @Fluffy_Cake + 10 * BaseLevel; + set $@Fluffy_Extra, 5 * @Fluffy_XmasCake + 3 * @Fluffy_Cake + 12 * ($@Fluffy_Alive + $@Fluffy_Spawn) + 7 * BaseLevel; if ((BaseLevel > 40) && (rand($@Fluffy_Extra) > 500)) // Ice Goblin areamonster "033-1.gat", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnIceGoblinDeath"; if ((BaseLevel > 60) && (rand($@Fluffy_Extra) > 550)) // Santa Slime -- cgit v1.2.3-70-g09d2