summaryrefslogtreecommitdiff
path: root/npc/006-1/crazyfefe.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/006-1/crazyfefe.txt')
-rw-r--r--npc/006-1/crazyfefe.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt
index b31488cb3..5dc7e7149 100644
--- a/npc/006-1/crazyfefe.txt
+++ b/npc/006-1/crazyfefe.txt
@@ -182,7 +182,7 @@ L_Summon:
for (.@i = 0; .@i < .@amount; ++.@i) {
.@monsterId=Piou;
- .@lv=min(1, $@FEFE_DIFFICULTY/10);
+ .@lv=max(1, $@FEFE_DIFFICULTY/10);
// Luck shall interfer with .@lv (up to +20 random levels)
// This prevents from excess of House Maggots, for example
@@ -226,7 +226,7 @@ L_Summon:
}
areamonster "006-1", 20, 20, 70, 60, strmobinfo(1, .@monsterId), .@monsterId, 1, "Crazyfefe::OnPetDeath";
// We must lower difficulty according to summoned monster. Only 80% is lowered.
- $@FEFE_DIFFICULTY-=min(1, (.@lv-10)*8);
+ $@FEFE_DIFFICULTY=$@FEFE_DIFFICULTY-max(1, .@lv*8);
}
freeloop(false);
initnpctimer;