summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-02 12:01:17 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-02 12:01:17 -0300
commit0af9d6465ef5d178fe53bf12f8d7c62fcecaa3a2 (patch)
tree31828893fecc309664a55e36e555dad0d49bfe17
parentcc2a58c6de0d60f4eb9c635acc0e9681beb604dc (diff)
downloadserverdata-0af9d6465ef5d178fe53bf12f8d7c62fcecaa3a2.tar.gz
serverdata-0af9d6465ef5d178fe53bf12f8d7c62fcecaa3a2.tar.bz2
serverdata-0af9d6465ef5d178fe53bf12f8d7c62fcecaa3a2.tar.xz
serverdata-0af9d6465ef5d178fe53bf12f8d7c62fcecaa3a2.zip
[skip ci] Fixes
-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;