summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-09-04 19:21:44 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-09-04 19:21:44 +0200
commit733605a389bc429836812510df3d00c6b10420e0 (patch)
treeb1d027cbe843b25f0a1c32f3e1634e3240a836c4 /world/map
parentb806463b610dca0b33599f04c90cbef8f9476f81 (diff)
downloadserverdata-733605a389bc429836812510df3d00c6b10420e0.tar.gz
serverdata-733605a389bc429836812510df3d00c6b10420e0.tar.bz2
serverdata-733605a389bc429836812510df3d00c6b10420e0.tar.xz
serverdata-733605a389bc429836812510df3d00c6b10420e0.zip
Barbarians: adjusting formula for monster spawning
The chance for harder monsters depends now also on the amount of living and newly spawned fluffies.
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/033-1/kimarr.txt7
1 files changed, 5 insertions, 2 deletions
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