Wchodzimy w data/monsters Robimy notatnik a w notatniku wpisujemy:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Appertince Bandit" nameDescription="a Appertince Bandit" race="blood" experience="2000" species="human" speed="300" manacost="450"> <health now="2450" max="2450"/> <look type="129" head="1" body="13" legs="76" feet="52" corpse="3128"/> <targetchange interval="60000" chance="0"/> <strategy attack="1000" defense="60"/> <flags> <flag summonable="2"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag staticattack="50"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="55"/> </flags> <attacks> <attack name="melee" interval="2000" min="-22" max="-65"/> </attacks> <defenses armor="17" defense="18"/> <immunities> <immunity physical="1"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="0"/> </immunities> <voices interval="2000" chance="5"> <voice sentence="Padasz!!"/> <voice sentence="Items sa moje!!"/> </voices> <loot> </loot> </monster>
Zapisujemy jako: Appertince Bandit.xml
Wchodzimy w data/monsters/monsters.xml Dodajemy linijkę:
<monster name="Appertince Bandit" file="Appertince Bandit.xml"
Wchodzimy w data/monsters Robimy notatnik a w notatniku wpisujemy:
<?xml version="1.0" encoding="UTF-8" ?> <monster name="Battle Dwarf" nameDescription="a Battle Dwarf" race="blood" experience="18000" speed="300" manacost="0"> <health now="12200" max="12200" /> <look type="69" head="0" body="0" legs="0" feet="0" corpse="2960" /> <targetchange interval="2000" chance="90" /> <strategy attack="100" defense="0" />
<flags> <flag summonable="0" /> <flag attackable="1" /> <flag hostile="1" /> <flag illusionable="1" /> <flag convinceable="0" /> <flag pushable="0" /> <flag canpushitems="1" /> <flag canpushcreatures="1" /> <flag targetdistance="4" /> <flag runonhealth="5000" /> </flags>
<attacks> <attack name="melee" interval="2000" skill="50" attack="40" /> <attack name="Fire Field" interval="6000" chance="80" /> <attack name="Explosive Arrow" interval="3000" chance="100" min="-250" max="-300" /> <attack name="warlock firebomb" interval="12000" chance="80" /> <attack name="geb" interval="8000" chance="100" min="-350" max="-500" /> <attack name="Heavy Magic Missile" interval="6500" chance="100" min="-200" max="-250" /> </attacks>
<defenses armor="32" defense="50"> <defense name="monster invisible" interval="5200" chance="80" /> <defense name="light healing" interval="9200" chance="75" min="50" max="200" /> </defenses>
<immunities> <immunity physical="1" /> <immunity energy="1" /> <immunity fire="1" /> <immunity poison="1" /> <immunity lifedrain="0" /> <immunity paralyze="1" /> <immunity outfit="1" /> <immunity drunk="1" /> <immunity invisible="1" /> </immunities>
<summons max="6"> <summon name="Black Knight" interval="2000" chance="90" /> <summon name="Dark Torturer" interval="2000" chance="60" /> </summons>
<voices interval="5000" chance="10"> <voice sentence="The end is near..." /> <voice sentence="Die. Now." /> <voice sentence="You are Dead!" /> </voices>
<loot capacity="900"> <item id="2160" countmax="1" chance1="100000" chancemax="3000" /> gold <item id="2160" countmax="2" chance1="65000" chancemax="300" /> gold <item id="2160" countmax="1" chance1="9999" chancemax="300" /> gold <item id="2689" countmax="6" chance1="10000" chancemax="3333" /> bread <item id="2151" countmax="5" chance1="5555" chancemax="0" /> talon <item id="2679" countmax="5" chance1="10000" chancemax="2500" /> cherry <item id="2357" chance="800" /> ring of sky <item id="2047" chance="37000" /> candle <item id="1987" chance="100000"> <inside> <item id="2167" chance="3400" /> energy ring <item id="2792" countmax="3" chance1="6500" chancemax="0" /> dark m <item id="2114" chance="750" /> piggy bank <item id="2656" chance="4200" /> blue robe <item id="2600" chance="10000" /> inkwell <item id="2436" chance="6200" /> skull staff <item id="1982" chance="2500" /> purpel tome <item id="2197" chance="6200" /> stone skin amulet <item id="2185" chance="2200" /> volcanic rod <item id="2466" chance="4000" /> golden a <item id="2178" chance="4600" /> mind stone </inside> </item>
Zapisujemy jako: Battle Dwarf.xml
Wchodzimy w data/monsters/monsters.xml Dodajemy linijkę:
<monster name="Battle Dwarf" file="Battle Dwarf.xml" />
|