Ots Forum
W data monster tworzymy Dark warior.xml
Spoiler:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dark Warrior" nameDescription="a dark warrior" tp="1" race="blood" species="humman" experience="5000" speed="50" manacost="0">
<health now="50000" max="50000" />
<look type="268" head="114" body="98" legs="114" feet="94" corpse="6080" />
<targetchange interval="5000" chance="8" />
<strategy attack="100" defense="0" />
<flags>
<flag summonable="0" />
<flag attackable="1" />
<flag hostile="1" />
<flag illusionable="0" />
<flag convinceable="0" />
<flag pushable="0" />
<flag canpushitems="1" />
<flag canpushcreatures="1" />
<flag targetdistance="1" />
<flag staticattack="90" />
<flag runonhealth="2500" />
</flags>
<attacks>
<attack name="melee" interval="2000" skill="220" attack="200"/>
<attack name="manadrain" interval="1000" chance="17" range="7" min="-35" max="-10000"/>
<attack name="fire" interval="3000" chance="34" range="7" radius="7" target="1" min="-1000" max="-40000">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="fire" interval="2000" chance="34" range="7" radius="3" target="1" min="-5000" max="-60000">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="melee" interval="3000" chance="40" range="7" radius="1" target="0" min="-10100" max="-66006">
<attribute key="areaEffect" value="blackspark"/>
</attack>
<attack name="physical" interval="1000" chance="15" range="7" min="-1000" max="-20000">
<attribute key="shootEffect" value="spear"/>
</attack>
</attacks>
<defenses armor="90" defense="90">
<defense name="healing" interval="1000" chance="25" min="100" max="2000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>0
<defense name="plinkvis" interval="2000" chance="30" duration="5000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Give me your blood!"/>
<voice sentence="Hell Demon attack!"/>
</voices>
<loot>
<item id="2160" countmax="100" chance1="100000" chancemax="0" />
<item id="2195" chance="100000" />
<item id="2523" chance="100000" />
<item id="7438" chance="100000" />
<item id="2472" chance="100000" />
<item id="7342" chance="100000">
<inside>
<item id="7458" countmax="100" chance1="10000" chancemax="0" />
<item id="7405" countmax="100" chance1="100000" chancemax="0" />
<item id="2151" countmax="100" chance1="10000" chancemax="0" />
<item id="2342" chance="100000" />
<item id="2149" countmax="100" chance1="10000" chancemax="0" />
<item id="2306" chance="100000" />
<item id="7460" chance="100000" />
<item id="2415" chance="1000" />
<item id="7368" countmax="100" chance="10000" />
<item id="2396" chance="100000" />
<item id="5803" chance="100000" />
<item id="2507" chance="100000" />
</inside>
</item>
</loot>
</monster>
dodać do monsters.xml
Spoiler:
<monster name="Dark Warrior" file="Dark Warrior.xml" />
Offline