Crystals
Member
- Joined
- Sep 28, 2024
- Messages
- 58
- Reaction score
- 10
Hi,
I don't know how to make a monster run away from the player through fire/poison/energy if there is no other way.
It's not about being resistant. When it gets hit by a fire bomb, it runs further, but if there is fire in front of it, it won't run. If it gets hit by a fire bomb, it stands still and doesn't move
TFS 1.4.2
I don't know how to make a monster run away from the player through fire/poison/energy if there is no other way.
It's not about being resistant. When it gets hit by a fire bomb, it runs further, but if there is fire in front of it, it won't run. If it gets hit by a fire bomb, it stands still and doesn't move
TFS 1.4.2
LUA:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Rabbit Speed" nameDescription="a rabbit normal" race="blood" experience="0" speed="500" manacost="220">
<health now="15" max="15"/>
<look type="978" corpse="6017"/>
<targetchange interval="5000" chance="0"/>
<flags>
<flag summonable="1" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="1" />
<flag convinceable="0" />
<flag pushable="1" />
<flag canpushitems="0" />
<flag canpushcreatures="0" />
<flag targetdistance="8" />
<flag staticattack="90" />
<flag runonhealth="150" />
<flag canwalkonenergy="1" />
<flag canwalkonfire="1" />
<flag canwalkonpoison="1" />
</flags>
<defenses armor="5" defense="5"/>
<immunities>
<immunity invisible="1" />
</immunities>
<loot>
<item id="2684" countmax="2" chance="10000"/><!-- carrot -->
<item id="2666" countmax="2" chance="85620"/><!-- meat -->
</loot>
</monster>