hi guys can anyone help me with this script i just want to make this spell works like this.
example:
to be able to cast this spell, i need to wait until the little icon (fighting swords) dissapear then, ill be able to use the spell.
ill very appreciate, im waiting for any answer thx.
example:
to be able to cast this spell, i need to wait until the little icon (fighting swords) dissapear then, ill be able to use the spell.
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
local condition = createConditionObject(CONDITION_MANASHIELD)
setConditionParam(condition, CONDITION_PARAM_TICKS, 200000)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end