Forum o OTS
Moj skrypt
Tworzymy plik Pudzian.xml w data/monster i wpisujemy tam:
Spoiler:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Pudzian" tp="1" species="human" nameDescription="Pudzian" race="blood" experience="150000" speed="250" manacost="0">
<health now="420000" max="420000"/>
<look type="277" head="0" body="0" legs="0" feet="0" corpse="6080"/>
<targetchange interval="60000" chance="0"/>
<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 staticattack="50"/>
<flag targetdistance="5"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="spear" interval="300" chance="400" range="16" min="-1200" max="-4000"/>
<attack name="melee" interval="400" min="-1000" max="-4000"/>
<attack name="exori mas" interval="200" chance="200"/>
</attacks>
<defenses armor="15" defense="20"/>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="0"/>
<immunity lifedrain="1"/>
<immunity paralyze="0"/>
<immunity drunk="0"/>
<immunity invisible="1"/>
</immunities>
<summons max="3">
<summon name="cyclops" interval="1000" chance="10"/>
</summons>
<loot>
<item id="2195" chance="1000"/>
<item id="2474" chance="600"/>
<item id="2470" chance="600"/>
<item id="2466" chance="1000"/>
<item id="6391" chance="600"/>
</loot>
</monster>
Następnie do data/monster/monsters wpisujemy:
Spoiler:
<monster name="Pudzian" file="Pudzian.xml" />
I mamy gotowego potwora:P
Offline