Hi, how can I make with this spell:
So that it isn't a combat spell and what condition should I use so each tic makes this CONST_ME_MAGIC_BLUE thing?
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)
local condition = createConditionObject(CONDITION_NONE)
addDamageCondition(condition, 25, 3000, 100)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
So that it isn't a combat spell and what condition should I use so each tic makes this CONST_ME_MAGIC_BLUE thing?