summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/shroom.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/commands/shroom.txt b/npc/commands/shroom.txt
index e73e35b79..76a4d72c3 100644
--- a/npc/commands/shroom.txt
+++ b/npc/commands/shroom.txt
@@ -26,7 +26,10 @@ OnShroom:
unitemote(.@gmId, E_HAPPY);
sleep2(150);
- areamonster(.@m$, .@x-3, .@y-3, .@x+3, .@y+3, .@mobName$, .@mobId, .@mobAm);
+ // Adjust amount based on player level
+ .@Ammo=limit(1, BaseLevel/10*.@mobAm, 60);
+
+ areamonster(.@m$, .@x-3, .@y-3, .@x+3, .@y+3, .@mobName$, .@mobId, .@Ammo);
sleep2(120);
detachrid();
}