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

Need help with spells anyone please?

amiro78killer

New Member
Joined
Mar 1, 2008
Messages
8
Reaction score
0
Hello i want to know how to add spells so when players type !spells i want to add my own spells so they can see the new spells when they type !spells
 
in forgottenserver/data/spells/spells.xml add:
<instant group="attack" spellid="Your_spell_id" name="Your_spell_id" words="Words_to_cast lvl="Level_to_use" mana="Manacost" range="Range_of_spell" needtarget="target_needed?" blockwalls="1" exhaustion="Exh_time" groupcooldown="Cooldown_on_spellGroup" needlearn="0" script="link_to_script">
<vocation name="Knight"/>
<vocation name="Elite Knight"/>
</instant>

edit the vocations to suit the correct vocations to use the spell.

assuming you're using TFS 1.0
 

Similar threads

Back
Top