diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-16 23:43:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-16 23:43:53 -0300 |
commit | 1ad03f3cdca3fc747c7be66911621c8f57b8d8d4 (patch) | |
tree | 7d5b735dd716d0ae56e6eee0ec266d01d6c5d043 /npc/006-1 | |
parent | 508c75860c19527a4481b022ebe5bdf26ed87de6 (diff) | |
download | serverdata-1ad03f3cdca3fc747c7be66911621c8f57b8d8d4.tar.gz serverdata-1ad03f3cdca3fc747c7be66911621c8f57b8d8d4.tar.bz2 serverdata-1ad03f3cdca3fc747c7be66911621c8f57b8d8d4.tar.xz serverdata-1ad03f3cdca3fc747c7be66911621c8f57b8d8d4.zip |
Use limit() instead of max(min()) where appliable
Diffstat (limited to 'npc/006-1')
-rw-r--r-- | npc/006-1/crazyfefe.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 6d7236aa7..01c298214 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -273,7 +273,7 @@ function NextRound { areamonster "006-1", 20, 20, 70, 60, strmobinfo(1, .@monsterId), .@monsterId, 1, "Crazyfefe::OnPetDeath"; // We must lower difficulty according to summoned monster. Only 60% is lowered. // If total level exceeds 250, it will cap at that to prevent excessive "slooping" - $@FEFE_DIFFICULTY=$@FEFE_DIFFICULTY-max(1, min(25, .@lv)*6); + $@FEFE_DIFFICULTY=$@FEFE_DIFFICULTY-(limit(1, .@lv, 25)*6); } freeloop(false); return; |