From 0af9d6465ef5d178fe53bf12f8d7c62fcecaa3a2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Mar 2019 12:01:17 -0300 Subject: [skip ci] Fixes --- npc/006-1/crazyfefe.txt | 4 ++-- 1 file 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; -- cgit v1.2.3-70-g09d2