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

Solved Monster <attack> tags help

eardrums

Member
Joined
May 27, 2010
Messages
101
Solutions
1
Reaction score
11
Hey everyone!
I think its time I come to understand how the attack tag works when making monsters because I dont know how it works...

I dont get why sometimes I gotta put </attack> in the middle

For example

<attacks>
<attack name="melee" interval="2000" skill="50" attack="45"/>
<attack name="physical" interval="1500" chance="100" range="1" min="-300" max="-443">
<attack name="Death Wave" interval="2000" chance="100" min="-300" max="-390"/>
<attack name="earth" interval="1000" chance="35" range="7" target="1" radius="4" min="-450" max="-450">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
</attacks>
What is wrong with this part? Can someone explain it to me? Death wave is a spell I made so nobody asks what it is.

tfs version 0.2.13
 
Hey everyone!
I think its time I come to understand how the attack tag works when making monsters because I dont know how it works...

I dont get why sometimes I gotta put </attack> in the middle

For example

<attacks>
<attack name="melee" interval="2000" skill="50" attack="45"/>
<attack name="physical" interval="1500" chance="100" range="1" min="-300" max="-443">
<attack name="Death Wave" interval="2000" chance="100" min="-300" max="-390"/>
<attack name="earth" interval="1000" chance="35" range="7" target="1" radius="4" min="-450" max="-450">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
</attacks>
What is wrong with this part? Can someone explain it to me? Death wave is a spell I made so nobody asks what it is.

tfs version 0.2.13

You need </attack> when there's an attribute key with the attack, same idea for defenses as well.
 
Back
Top