Mam do zaprezentowania potworka Ufo
Wchodzimy data/monsters Robimy notatnik , w notatniku wpisujemy:
<?xml version="1.0" encoding="UTF-8"?> <monster name="UFO" nameDescription="a UFO" race="blood" experience="15000000" speed="15000" manacost="0"> <health now="1000000" max="1000000"/> <look type="72" head="0" body="66" legs="78" feet="94" corpse="6080"/> <targetchange interval="5000" chance="8"/> <strategy attack="10000" defense="7777770"/> <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="3000" skill="200" attack="30000"/> <attack name="manadrain" interval="2000" chance="12" range="7" min="-250" max="-350"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="poison" interval="1000" chance="9" radius="6" target="0" min="-50" max="-550"> <attribute key="areaEffect" value="poison"/> </attack> <attack name="energy" interval="1000" chance="10" radius="6" target="0" min="-700" max="-800"> <attribute key="areaEffect" value="energy"/> </attack> <attack name="manadrain" interval="1000" chance="8" radius="6" target="0" min="-125" max="-375"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="lifedrain" interval="1000" chance="10" radius="6" target="0" min="-100" max="-200"> <attribute key="areaEffect" value="poff"/> </attack> <attack name="strength" interval="1000" chance="6" radius="5" target="0" min="-125" max="-375"> <attribute key="areaEffect" value="blackspark"/> </attack> <attack name="firecondition" interval="1000" chance="15" range="7" radius="7" target="1" min="-250" max="-400"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="lifedrain" interval="1000" chance="9" length="8" spread="0" min="-50" max="-250"> <attribute key="areaEffect" value="greenspark"/> </attack> </attacks> <defenses armor="90" defense="110"> <defense name="healing" interval="1000" chance="25" min="600" max="800"> <attribute key="areaEffect" value="greenshimmer"/> </defense> <defense name="healing" interval="2000" chance="10" min="1500" max="2500"> <attribute key="areaEffect" value="greenshimmer"/> </defense> <defense name="speed" interval="1000" chance="4" speedchange="500" duration="7000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity physical="1"/> <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> <summons max="5"> <summon name="Demon" interval="1000" chance="12" max="3"/> <summon name="fury" interval="1000" chance="12" max="2"/> <summon name="Juggernaut" interval="1000" chance="30" max="2"/> <summon name="demon" interval="1000" chance="12" max="2"/> </summons> <voices interval="5000" chance="10"> <voice sentence="Iceee!!!!!" yell="1"/> <voice sentence="Die I am 3 Brother!" yell="1"/> <voice sentence="Ruuun or Diee!" yell="1"/> <voice sentence="Be prepared for the day my masters will come for you!"/> <voice sentence="Souls Ghazbaran !!" yell="1"/> </voices> <loot> </loot> </monster>
Zapisujemy jako UFO.xml
Wchodzimy data/monsters/monsters.xml
Wklejamy linijkę:
<monster name="UFO" file="UFO.xml" />
|