• 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+ Attack/Spell "outfit"

CastorFlynn

Member
Joined
Aug 29, 2021
Messages
88
Reaction score
8
I'm trying to make a script to tame Donkey, but the Incredibly Old Witch only changes the player's outfit, it doesn't change the outfit of other monsters. I saw that the attack/spell "outfit" is declared in the source, but I didn't find any formula about it. Does anyone know where the code for this attack "outfit" is and what might be preventing it from transforming other monsters as well?

TFS 1.3

XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Incredibly Old Witch" nameDescription="an incredibly old witch" race="blood" experience="0" speed="180">
    <health now="100" max="100"/>
    <look type="54" corpse="6081"/>
    <targetchange interval="5000" chance="8"/>
    <flags>
        <flag summonable="0"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="0"/>
        <flag convinceable="0"/>
        <flag pushable="1"/>
        <flag canpushitems="1"/>
        <flag canpushcreatures="0"/>
        <flag targetdistance="4"/>
        <flag staticattack="90"/>
        <flag runonhealth="100"/>
    </flags>
    <attacks>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="rat" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="chicken" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="green frog" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="bug" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="pig" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="kongra" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="dog" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="skunk" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
        <attack name="outfit" interval="4000" chance="12" range="7" target="1" radius="4" monster="donkey" duration="2000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </attack>
    </attacks>
        <immunities>
        <immunity physical="1"/>
        <immunity energy="1"/>
        <immunity fire="1"/>
        <immunity poison="1"/>
        <immunity ice="1"/>
        <immunity holy="1"/>
        <immunity death="1"/>
        <immunity lifedrain="1"/>
        <immunity manadrain="1"/>
        <immunity paralyze="1"/>
        <immunity drunk="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
        <voice sentence="Feel the wrath of the witch!"/>
        <voice sentence="Oh how you will regret to have disturbed me!"/>
        <voice sentence="I will teach them all to leave me alone!"/>
        <voice sentence="Everyone is so stupid!"/>
        <voice sentence="Stupid people!"/>
    </voices>
</monster>
 
Back
Top