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

Mobs with custom spells.

salty

New Member
Joined
Mar 20, 2013
Messages
14
Reaction score
0
Hey,
I was wondering if i can add custom spells to monsters,
like say i make a spell using "TGYoshi"s spellcreator. Can i then make it so a monster use it?
And if so, how? ( Im using [9.1] TFs v0.2.11pl2 )

Rep++ for help :3

- - - Updated - - -

bump
 
Last edited:
just go to spells/scripts and create for example monsterspell.lua

then you should relate it to the new spell go to spells.xml and add the line:
Code:
		<instant name="[COLOR="#FF0000"]hot dog[/COLOR]" words="TGYoshi" lvl="100" mana="150" aggressive="0" exhaustion="1000" needlearn="0" event="script" value="monsterspell.lua">
		<vocation id="0"/>
	</instant>

finally you need to put it as an monster attack for example:
Code:
<attack name=""[COLOR="#FF0000"]hot dog[/COLOR]" interval="2000" chance="100" target="0" min="500" max="500"/>


and u're done
 
Back
Top