summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/magic/level1-summon-maggots.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/magic/level1-summon-maggots.txt b/npc/magic/level1-summon-maggots.txt
index 2f2b333b..73158d19 100644
--- a/npc/magic/level1-summon-maggots.txt
+++ b/npc/magic/level1-summon-maggots.txt
@@ -19,7 +19,7 @@ function script SK_Jande {
sleep2(cap_value(15400-AdjustSpellpower(100)-@skillLv*400, 10000, 15000));
.@lifetime=59+@skillLv;
.@lifetime = .@lifetime * (50 + abizit() * rand2(5,6)) / 100;
- .@lifetime = max(.@lifetime, 75);
+ .@lifetime = min(.@lifetime, 75);
.@lifetime *= 1000;
summon("Summoned Monster", ManaGuard, .@lifetime);
return;