• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua healing and runing dont remove paralyze

mattehj

Member
Joined
Oct 8, 2009
Messages
83
Reaction score
16
Hello If i run and use for example Exura ico, It doesn't remove paralyze, But if I stand still it removes it, this makes it impossible to hunt..
Any idea how to fix this?

This is my Exura ico script


local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0)
combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onGetFormulaValues(player, level, maglevel)
local min = (level / 5) + (maglevel * 4) + 25
local max = (level / 5) + (maglevel * 7.95) + 51
return min, max
end

combat:setCallback(CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")

function onCastSpell(creature, var)
return combat:execute(creature, var)
end
 
Back
Top