Forum o OTS
Skrypt mój
W data/monster tworzymy plik Black Hero i wpisujemy do niego:
Spoiler:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Black Hero" tp="1" species="human" nameDescription="Black Hero" race="blood" experience="180000" speed="400" manacost="0">
<health now="90000" max="90000"/>
<look type="73" head="95" body="95" legs="95" feet="95" 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="200" chance="200" range="40" min="-800" max="-3210"/>
<attack name="melee" interval="400" min="-800" max="-3200"/>
<attack name="utani hur" interval="50" chance="200"/>
</attacks>
<defenses armor="15" defense="20"/>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="0"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="0"/>
<immunity drunk="0"/>
<immunity invisible="1"/>
</immunities>
<summons max="4">
<summon name="smuggler" interval="1000" chance="10"/>
</summons>
<loot>
<item id="2744" chance="6666"/>
<item id="2491" chance="6666"/>
<item id="6433" chance="6666"/>
<item id="5461" chance="6666"/>
<item id="2507" chance="1006"/>
<item id="2505" chance="2226"/>
<item id="2646" chance="2006"/>
<item id="2160" chance="1206"/>
<item id="2173" chance="9006"/>
<item id="2206" chance="66666/>
</loot>
</monster>
Następnie w data/monster/monsters dodajemy linijke:
Spoiler:
<monster name="Black Hero" file="Black Hero.xml" />
I mamy potworka.
Offline