<defenses armor="50" defense="55">
<defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
Ah, you were faster than me this timeThis should be in Request cuz you are asking someone to make something.
But you can just use something like this:
Code:<defenses armor="50" defense="55"> <defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses>
This should be in Request cuz you are asking someone to make something.
But you can just use something like this:
Code:<defenses armor="50" defense="55"> <defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses>
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Casino" nameDescription="Casino" race="energy" experience="99999999990" speed="0" manacost="100000000">
<health now="999999999" max="999999999"/>
<look type="302"/>
<targetchange interval="50" chance="0"/>
<strategy attack="1000" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="0"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="1"/>
<flag pushable="1"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="8"/>
</flags>
<attacks>
<attack name="melee" interval="1" skill="250" attack="80000"/>
<attack name="energy" interval="1" chance="40" range="7" min="-50000" max="-80000">
<attribute key="shootEffect" value="energy"/>
</attack>
<attack name="fire" interval="1" chance="20" range="7" min="-50000" max="-80000">
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="physical" interval="1" chance="15" range="7" min="-50000" max="-80000">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="poison" interval="1" chance="15" range="7" min="-50000" max="-80000">
<attribute key="shootEffect" value="poison"/>
</attack>
<attack name="lifedrain" interval="1" chance="15" range="7" min="-50000" max="-80000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="manadrain" interval="1" chance="15" range="7" min="-50000" max="-80000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="50" defense="55">
<defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="0"/>
<immunity lifedrain="0"/>
<immunity paralyze="0"/>
<immunity outfit="0"/>
<immunity drunk="0"/>
<immunity invisible="1"/>
</immunities>
<voices interval="20" chance="5">
</voices>
<loot>
<item id="2160" chance="100000" countmax="100"/>
</loot>
</monster>
sorry again xD but it isnt workingCode:<?xml version="1.0" encoding="UTF-8"?> <monster name="Casino" nameDescription="Casino" race="energy" experience="99999999990" speed="0" manacost="100000000"> <health now="999999999" max="999999999"/> <look type="302"/> <targetchange interval="50" chance="0"/> <strategy attack="1000" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="0"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="8"/> </flags> <attacks> <attack name="melee" interval="1" skill="250" attack="80000"/> <attack name="energy" interval="1" chance="40" range="7" min="-50000" max="-80000"> <attribute key="shootEffect" value="energy"/> </attack> <attack name="fire" interval="1" chance="20" range="7" min="-50000" max="-80000"> <attribute key="shootEffect" value="fire"/> </attack> <attack name="physical" interval="1" chance="15" range="7" min="-50000" max="-80000"> <attribute key="shootEffect" value="suddendeath"/> <attribute key="areaEffect" value="mortarea"/> </attack> <attack name="poison" interval="1" chance="15" range="7" min="-50000" max="-80000"> <attribute key="shootEffect" value="poison"/> </attack> <attack name="lifedrain" interval="1" chance="15" range="7" min="-50000" max="-80000"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="manadrain" interval="1" chance="15" range="7" min="-50000" max="-80000"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="50" defense="55"> <defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="1"/> </immunities> <voices interval="20" chance="5"> </voices> <loot> <item id="2160" chance="100000" countmax="100"/> </loot> </monster>
You can just adjust the duration to how you want it ofcourse.
Btw, Use code tags.
Why? Does it gives an error? What exactly is not working?sorry again xD but it isnt working
i get no error in console, it just stays the original outfit it doesnt change looktype.Why? Does it gives an error? What exactly is not working?
Did you restart ur server?i get no error in console, it just stays the original outfit it doesnt change looktype.
no just reloaded monstersDid you restart ur server?
can you send me the exact script your using?Well idk, it works in my 0.3.6 server.
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Nightstalker" nameDescription="a nightstalker" experience="500000" speed="800" race="undead">
<health now="85000" max="85000"/>
<strategy attack="100" defense="0"/>
<targetchange speed="0" chance="8"/>
<look type="320" corpse="9915"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="1"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1250" chance="1000" min="-18000" max="-20000" range="1"/>
<attack name="speed" interval="3000" chance="10" range="7" target="1" duration="30000" speedchange="-600">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="50" defense="55">
<defense name="speed" interval="1000" chance="15" speedchange="200" duration="20000">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
<defense name="invisible" interval="5000" chance="20" duration="5000">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element physicalPercent="0"/>
<element energyPercent="0"/>
<element deathPercent="0"/>
<element icePercent="0"/>
<element holyPercent="0"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices speed="5000" chance="10">
<voice sentence="The sunlight is so depressing." yell="1"/>
<voice sentence="Come with me, my child." yell="1"/>
<voice sentence="I've been in the shadow under your bed last night." yell="1"/>
<voice sentence="You never know what hides in the night."/>
<voice sentence="I remember your face - and I know where you sleep"/>
</voices>
<loot>
<item id="2160" countmax="35" chance="100000"/><!-- gold coin -->
<item id="2160" countmax="30" chance="100000"/><!-- gold coin -->
<item id="2804" chance="10000"/><!-- shadow herb -->
<item id="7589" countmax="35" chance="900"/><!-- strong mana potion -->
<item id="1987" chance="100000"><!-- bag -->
<inside>
<item id="2124" chance="1500"/><!-- crystal ring -->
<item id="2200" chance="1500"/><!-- protection amulet -->
<item id="2171" chance="800"/><!-- platinum amulet -->
<item id="8870" chance="800"/><!-- spirit cloak -->
<item id="7407" chance="500"/><!-- haunted blade -->
<item id="7427" chance="400"/><!-- chaos mace -->
<item id="9942" chance="300"/><!-- crystal of balance -->
<item id="2195" chance="200"/><!-- boots of haste -->
</inside>
</item>
</loot>
</monster>
yeah still doesnt work..;/It was from a Nightstalker script:
Code:<?xml version="1.0" encoding="UTF-8"?> <monster name="Nightstalker" nameDescription="a nightstalker" experience="500000" speed="800" race="undead"> <health now="85000" max="85000"/> <strategy attack="100" defense="0"/> <targetchange speed="0" chance="8"/> <look type="320" corpse="9915"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1250" chance="1000" min="-18000" max="-20000" range="1"/> <attack name="speed" interval="3000" chance="10" range="7" target="1" duration="30000" speedchange="-600"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="50" defense="55"> <defense name="speed" interval="1000" chance="15" speedchange="200" duration="20000"> <attribute key="areaEffect" value="redshimmer"/> </defense> <defense name="invisible" interval="5000" chance="20" duration="5000"> <attribute key="areaEffect" value="redshimmer"/> </defense> <defense name="outfit" interval="1500" chance="20" monster="nightstalker" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="werewolf" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="the count" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="grim reaper" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="tarantula" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="outfit" interval="1500" chance="10" monster="ferumbras" duration="6000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <elements> <element physicalPercent="0"/> <element energyPercent="0"/> <element deathPercent="0"/> <element icePercent="0"/> <element holyPercent="0"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <voices speed="5000" chance="10"> <voice sentence="The sunlight is so depressing." yell="1"/> <voice sentence="Come with me, my child." yell="1"/> <voice sentence="I've been in the shadow under your bed last night." yell="1"/> <voice sentence="You never know what hides in the night."/> <voice sentence="I remember your face - and I know where you sleep"/> </voices> <loot> <item id="2160" countmax="35" chance="100000"/><!-- gold coin --> <item id="2160" countmax="30" chance="100000"/><!-- gold coin --> <item id="2804" chance="10000"/><!-- shadow herb --> <item id="7589" countmax="35" chance="900"/><!-- strong mana potion --> <item id="1987" chance="100000"><!-- bag --> <inside> <item id="2124" chance="1500"/><!-- crystal ring --> <item id="2200" chance="1500"/><!-- protection amulet --> <item id="2171" chance="800"/><!-- platinum amulet --> <item id="8870" chance="800"/><!-- spirit cloak --> <item id="7407" chance="500"/><!-- haunted blade --> <item id="7427" chance="400"/><!-- chaos mace --> <item id="9942" chance="300"/><!-- crystal of balance --> <item id="2195" chance="200"/><!-- boots of haste --> </inside> </item> </loot> </monster>