----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) local Boost_Used = mob:getLocalVar("Boost"); local depopTime = mob:getLocalVar("depopTime"); if (os.time(t) > depopTime) then DespawnMob(mob:getID()); end if (mob:getHPP() <= 25) then if (Boost_Used == 1) then mob:setMod(MOD_TRIPLE_ATTACK,30); mob:setMod(MOD_UFASTCAST, 75); mob:setMod(MOD_REGAIN, 30); mob:setLocalVar("Boost", 2); end elseif (mob:getHPP() <= 50) then if (Boost_Used == 0) then mob:setMod(MOD_TRIPLE_ATTACK,20); mob:setMod(MOD_UFASTCAST, 50); mob:setMod(MOD_REGAIN, 10); mob:setLocalVar("Boost", 1); end end end;