• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Spell Eror

WiLDTuRTLE

Member
Joined
Feb 26, 2011
Messages
478
Reaction score
5
i5nkom.png


Code:
local shield = createConditionObject(CONDITION_MANASHIELD)
setConditionParam(shield, CONDITION_PARAM_TICKS, 200000)
function onCastSpell(cid, var)
if hasCondition(cid, CONDITION_MANASHIELD) == false then)
doAddCondition(cid,shield)
doSendMagicEffect(getThingPos(cid),12)
doCreatureSay(cid, "Mana Shield On!", TALKTYPE_ORANGE_1)
else
doRemoveCondition(cid,CONDITION_MANASHIELD)
doCreatureSay(cid, "Mana Shield Off!", TALKTYPE_ORANGE_1)
end
return true
end

Whats wrong .. lol
 

Similar threads

Back
Top