From 1ad03f3cdca3fc747c7be66911621c8f57b8d8d4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Jun 2019 23:43:53 -0300 Subject: Use limit() instead of max(min()) where appliable --- npc/006-1/crazyfefe.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/006-1/crazyfefe.txt') 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; -- cgit v1.2.3-70-g09d2