Roflix - 2011-05-23 16:50:01

Kolejnym z moich dodanych tutaj potworków jest Exp Bug, który ma 1 HP.. Warto dodać takiego Exp Buga na swojego OTS'a, gdyż osoby, które na przykład chcą kupić LVL zamiast tego kupują Exp Buga = )
Tworzymy plik o nazwie Exp Bug.xml i wpisujemy do niego ten tekst:

Kod:

<?xml version="1.0" encoding="utf-8"?>
<monster name="Exp bug" namedescription="an exp bug" race="venom" experience="99999999" speed="240" manacost="250">
  <health now="1" max="1"/>
  <look type="45" head="20" body="30" legs="40" feet="50" corpse="5990"/>
  <targetchange interval="2000" chance="0"/>
  <strategy attack="0" defense="0"/>
  <flags>
    <flag summonable="0"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="1"/>
    <flag convinceable="1"/>
    <flag pushable="1"/>
    <flag canpushitems="0"/>
    <flag canpushcreatures="0"/>
    <flag targetdistance="1"/>
    <flag staticattack="90"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="23" attack="9"/>
  </attacks>
  <defenses armor="2" defense="3"/>
  <immunities>
    <immunity physical="0"/>
    <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>
  <loot>
    <item id="3976" countmax="10" chance1="50000" chancemax="0"/>
    <item id="2148" countmax="4" chance1="100000" chancemax="0"/>
    <item id="2679" countmax="3" chance1="50000" chancemax="0"/>
  </loot>
</monster>

Po wpisaniu tego tekstu przechodzimy do kolejnej czynności, do wpisania, któtkiego tekstu w data/monster/monsters.xml

Kod:

<monster name="Exp Bug" file="insects/Exp Bug.xml"/>

Jeżeli macie jakieś problemy, piszcie w komentarzach postaram wam się pomóc = )

www.seductionpoland.pun.pl www.tryharder.pun.pl www.pawn.pun.pl www.write.pun.pl www.sanandreasonline.pun.pl