andu
Sold 649 scripts, 25 maps and 9 events!
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
local condition = createConditionObject(CONDITION_MUTED)
setConditionParam(condition, CONDITION_PARAM_TICKS, 11000)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
if isPlayer(getCreatureTarget(cid)) == true then
doCombat(cid, combat, var)
end
return true
end
This is a simple script of my spell, i want a spell what will make player unable to cast spells for few seconds
i tried with condition muted and condition exhaust but noone works, dunno why