• 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+ Creature Moves On Fields Bug | TFS 1.5 Nekiro Downgrade 8.0

iNux

Intermediate OT User
Joined
Jan 19, 2019
Messages
226
Reaction score
121
Hello,

While working, experimenting, and testing different things, I arrived at the point of trying out the creature immunity system at GitHub - nekiro/TFS-1.5-Downgrades at 8.0 (https://github.com/nekiro/TFS-1.5-Downgrades/tree/8.0). I attempted to block the creature's path with a field that they were not immune to, for example, a rat. According to the expected functionality, a rat should never be able to pass through a field that is blocking its path, unless it's attacked.

Initially, I thought that I had somehow broken the code that handles movement on fields. However, I tested it on a fresh TFS 1.5 Nekiro Downgrade 8.0 and the result is the same.

Could someone refer me to where I should look or perhaps help me understand why it does not work on GitHub - nekiro/TFS-1.5-Downgrades at 8.0 (https://github.com/nekiro/TFS-1.5-Downgrades/tree/8.0)

Bellow is a gif representing a hunter walking on fire field without being attacked.
 
Solution
Did you add <flag canwalkonfire = "0" />? Base nekiro monster do not have these flags for fire/poison/energy fields.
Did you add <flag canwalkonfire = "0" />? Base nekiro monster do not have these flags for fire/poison/energy fields.
 
Solution
How did you mange to fix the bug when even the monster is getting flamed loses health too quickly with 0.5 exhaust?
You might need to apply these changes in items.xml (changing damage to initdamage) - remember about campfires too, not only field items.
 
You might need to apply these changes in items.xml (changing damage to initdamage) - remember about campfires too, not only field items.
<item id="1492" article="a" name="fire field">
<attribute key="type" value="magicfield"/>
<attribute key="field" value="fire">
<attribute key="damage" value="20"/>
<attribute key="ticks" value="9000"/>
<attribute key="count" value="7"/>
<attribute key="damage" value="10"/>
</attribute>
</item>
this one will spam half second

and this one will not:


<item id="1487" article="a" name="fire field">
<attribute key="type" value="magicfield"/>
<attribute key="replaceable" value="1"/>
<attribute key="decayTo" value="1488"/>
<attribute key="duration" value="200"/>
<attribute key="field" value="fire">
<attribute key="initdamage" value="20"/>
<attribute key="ticks" value="10000"/>
<attribute key="count" value="7"/>
<attribute key="damage" value="10"/>
</attribute>
</item>

also while testing i stepped on the first one then second then first again and the first one didnt repeat the damage over half second so it must be something with condition from the normal one overloading init damage since it is the same condition:)
Post automatically merged:

@Nekiro it would be nice to maybe from time to time push a few small commits or open the repository so we can do pull requests ? :)
 
Last edited:
Back
Top