• 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!

Need item to cast instant spell.

brunolopes

New Member
Joined
Nov 8, 2009
Messages
49
Reaction score
1
This is possible?
I'm making a spell for Paladins, that shoot a arrow and paralyze the target, and to use this spell, need 1 arrow.

I can make the part that shoot the arrow and paralyze the target...
But I am not able to do the part that need 1 arrow to cast the spell...

Can anyone help me?
Sorry for my bad english, I'm using the google translator... :peace:
 
Code:
function onCastSpell(cid, var)
 if doPlayerRemoveItem(cid, arrowID, 1) then
  return doCombat(cid, combat, var)
 else
  doPlayerSendCancel(cid, "You need an arrow to cast this spell.")
 end
 return 0
end
 
Last edited:
Back
Top