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

item that calls a spell

Ranzor

Pixel Art
Joined
Apr 7, 2016
Messages
68
Reaction score
28
Location
Germany
hello everyone, I need to create an item that conjures a spell, example I click on use on an item and it releases the spell "exura".
 
You'd probably want to create a custom spell with 0 mana cost and no vocation restriction, but I'd just force the player to cast the spell.

spell_name is like "light healing" instead of the word "exura".
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
   doCreatureCastSpell(cid, "spell_name")
   return true
end
 
Back
Top