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

Help modify cast spells in tfs 1.2

gubbo123

New Member
Joined
Aug 15, 2017
Messages
151
Solutions
1
Reaction score
3
Example

exura vita "heal"
utevo lux "light"
utani gran hur "runnn"
spells don't work with " " after... i can't put this.

how can i edit for to enable?
 
Find the attribute words in spells.xml and change what is in quotes to whatever you want, it can't be blank tho.
Example:
This
HTML:
    <instant group="healing" spellid="3" name="Ultimate Healing" words="exura vita" level="30" mana="160" aggressive="0" selftarget="1" cooldown="1000" groupcooldown="1000" needlearn="0" script="healing/ultimate_healing.lua">
        <vocation name="Sorcerer" />
        <vocation name="Druid" />
        <vocation name="Master Sorcerer" />
        <vocation name="Elder Druid" />
</instant>
Becomes this
HTML:
    <instant group="healing" spellid="3" name="Ultimate Healing" words="heal" level="30" mana="160" aggressive="0" selftarget="1" cooldown="1000" groupcooldown="1000" needlearn="0" script="healing/ultimate_healing.lua">
        <vocation name="Sorcerer" />
        <vocation name="Druid" />
        <vocation name="Master Sorcerer" />
        <vocation name="Elder Druid" />
</instant>
 
exura vita normal is working now, i want my spells work with " " after the spell name

example
exura vita "hahaha"

because now, if u put "some word" after the spell, no work the magic, i just want enable this, option to put some words in "here" after spells
 
Back
Top