Hi, folks... I've a big problem, I don't know what I did but now when I use a spell to heal myself on my server TFs0.4 as exura, exura gran, exura vita, ... I don't heal but my mana gets off.
One thing I found researching the error and it is the spell exura gran mas res, heal to others or at least the monsters.
It's really strange for me and i didn't see anything like this, so, someone knows what is happening?
Script exura:
Script exura gran mas res:
PD: On log server doesn't appear error.
PD: Using runes neither works like: ultimate healing rune.
PD: But ,the potions like heal potion works fine... and heal me.
One thing I found researching the error and it is the spell exura gran mas res, heal to others or at least the monsters.
It's really strange for me and i didn't see anything like this, so, someone knows what is happening?
Script exura:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onGetFormulaValues(cid, level, maglevel)
local min = ((level/5)+(maglevel*1.39)+8)
local max = ((level/5)+(maglevel*1.79)+11)
return min, max
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Script exura gran mas res:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function onGetFormulaValues(cid, level, maglevel)
min = (level * 1 + maglevel * 4) * 2.08
max = (level * 1 + maglevel * 4) * 2.7
if min < 250 then
min = 250
end
return min, max
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
PD: On log server doesn't appear error.
PD: Using runes neither works like: ultimate healing rune.
PD: But ,the potions like heal potion works fine... and heal me.