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

TFS 1.X+ Fields bug, spamming damage every 0.1 sec

Kubakos

Well-Known Member
Joined
Mar 3, 2010
Messages
952
Solutions
2
Reaction score
50
Hey,

I am using TFS 1.2 by celohere on 8.0 and I have problem with fields (for exemple fire field).
Sometimes they are spamming damage every 0.1 sec and sometimes they doesn't

You can have a view of what it look likes:


Anyone have an idea how to fix that?

Greetings


EDIT: I found a thread that was talking about duplication of "damage" value in fire field attributes in items.xml, it was saying to change first "damage" to "initDamage". I tried but after this it seems that only the "damage" is concidered.

It deals 5 damage when casted on someone and 5 damage when someone goes in (it should be 20 then 10 like in config):

1648282128388.png
 
Last edited:
check ur movements.xml
XML:
    <movevent event="StepIn" itemid="1487" function="onStepInfield"/>
    <movevent event="AddItem" itemid="1487" function="onaddfield"/>

items.xml
XML:
<item id="1487" article="a" name="fire field">
        <attribute key="type" value="magicfield" />
        <attribute key="decayTo" value="1488" />
        <attribute key="duration" value="120" />
        <attribute key="field" value="fire">
            <attribute key="damage" value="20" />
            <attribute key="ticks" value="10000" />
            <attribute key="count" value="7" />
            <attribute key="damage" value="10" />
        </attribute>
    </item>
 
Hey,

I already have this lines in mouvements.xml :
XML:
    <movevent event="StepIn" itemid="1487" function="onStepInField" />
    <movevent event="AddItem" itemid="1487" function="onAddField" />
 
Back
Top