• logo_cipsoft
    Nowe serwery zostały otwarte 19 Lut 2025:
    Noctalia (Open PvP) Ignitera (Open PvP) us_logo Xybra (Open PvP)

Nowe potwory..PIGS :)

Status
Zamknięty.

dembo

New User
Dołączył
Kwiecień 6, 2008
Posty
3
Liczba reakcji
0
Te potwory s? mojego autorstwa:
Pig Warrior
W tw?j silnik/data/monsters robimy nowy plik o nazwie pig warrior.xml i wklejamy tam to:
Kod:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Pig Warrior" nameDescription="a pig warrior" race="blood" experience="500" speed="100" manacost="255">
    <health now="500" max="500"/>
    <look type="60" head="20" body="30" legs="40" feet="50" corpse="2935"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="70" defense="40"/>
    <flags>
      <flag summonable="1"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="1"/>
      <flag convinceable="1"/>
      <flag pushable="1"/>
      <flag canpushitems="0"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="0"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
	<attack name="melee" interval="50" min="-25" max="-150"/>
	</attacks>
    <defenses armor="25" defense="35"/>
    <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="2671" chance="50000"/>
    <item id="2407" chance="50000"/>
    <item id="2476" chance="50000"/>
</loot>
</monster>
Magic Pig
Robimy tak jak w pierwszym punkcie tylko tworzymy plik o nazwie magic pig.xml i wklejamy to:
Kod:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Magic Pig" nameDescription="a Magic Pig" race="blood" experience="1600" speed="120" manacost="255">
    <health now="1450" max="1450"/>
    <look type="60" head="20" body="30" legs="40" feet="50" corpse="2935"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="50" defense="50"/>
    <flags>
      <flag summonable="1"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="1"/>
      <flag convinceable="1"/>
      <flag pushable="1"/>
      <flag canpushitems="0"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="2"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
	<attack name="stones" interval="50" chance="5000" range="5" min="-100" max="-300"/>
	<attack name="exori" interval="50" chance="5000"/>
</attacks>
    <defenses armor="25" defense="35"/>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="1"/>
      <immunity fire="0"/>
      <immunity poison="0"/>
      <immunity lifedrain="0"/>
      <immunity paralyze="0"/>
      <immunity outfit="0"/>
      <immunity drunk="0"/>
      <immunity invisible="1"/>
    </immunities>
	<summons max="3">
    <summon name="Pig Warrior" interval="1000" chance="10"/>
  </summons>
    <loot>
<item id="2464" chance="50000"/>
    <item id="2385" chance="50000"/>
    <item id="2152" chance="50000"/>
</loot>
</monster>
Iron Pig
Tak jak zawsze tylko plik o nazwie iron pig.xml i wklejamy to:
Kod:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Iron Pig" nameDescription="a Iron Pig" race="blood" experience="1500" speed="90" manacost="255">
    <health now="1500" max="1500"/>
    <look type="60" head="20" body="30" legs="40" feet="50" corpse="2935"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="70" defense="60"/>
    <flags>
      <flag summonable="1"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="1"/>
      <flag convinceable="1"/>
      <flag pushable="1"/>
      <flag canpushitems="0"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="0"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
	<attack name="melee" interval="500" min="-50" max="-350"/>
	</attacks>
    <defenses armor="50" defense="80"/>
    <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="2487" chance="50000"/>
    <item id="2393" chance="50000"/>
    <item id="2152" chance="50000"/>
</loot>
</monster>
Super Magic Pig
Powtarzamy operacje, robimy plik super magic pig.xml a tam:
Kod:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Super Magic Pig" nameDescription="a Super Magic Pig" race="blood" experience="2000" speed="150" manacost="255">
    <health now="8000" max="8000"/>
    <look type="60" head="20" body="30" legs="40" feet="50" corpse="2935"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="50" defense="50"/>
    <flags>
      <flag summonable="1"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="1"/>
      <flag convinceable="1"/>
      <flag pushable="1"/>
      <flag canpushitems="0"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="0"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
	<attack name="stones" interval="24" chance="5000" range="5" min="-100" max="-300"/>
	<attack name="exori" interval="25" chance="5000"/>
	<attack name="exevo gran mas vis" interval="26" chance="5000"/>
	<attack name="utani hur" interval="25" chance="5000"/>
</attacks>
    <defenses armor="25" defense="35"/>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="1"/>
      <immunity fire="0"/>
      <immunity poison="0"/>
      <immunity lifedrain="0"/>
      <immunity paralyze="0"/>
      <immunity outfit="0"/>
      <immunity drunk="0"/>
      <immunity invisible="1"/>
    </immunities>
	<summons max="6">
    <summon name="Pig Warrior" interval="1000" chance="10"/>
    <summon name="Iron Pig" interval="1000" chance="10"/>
    <summon name="Magic Pig" interval="1000" chance="10"/>
  </summons>
    <loot>
<item id="1487" chance="50000"/>
    <item id="2393" chance="50000"/>
    <item id="2152" chance="50000"/>
</loot>
</monster>
Boss Pig
To samo :) i to:
Kod:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Boss Pig" nameDescription="a Boss Pig" race="blood" experience="100000" speed="200" manacost="255">
    <health now="35000" max="35000"/>
    <look type="60" head="20" body="30" legs="40" feet="50" corpse="2935"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="50" defense="50"/>
    <flags>
      <flag summonable="1"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="1"/>
      <flag convinceable="1"/>
      <flag pushable="1"/>
      <flag canpushitems="0"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="0"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
	<attack name="melee" interval="35" min="-500" max="-3500"/>
	<attack name="exori mort" interval="25" chance="5000"/>
	<attack name="exura vita" interval="29" chance="5000"/>
</attacks>
    <defenses armor="60" defense="100"/>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="0"/>
      <immunity fire="1"/>
      <immunity poison="1"/>
      <immunity lifedrain="0"/>
      <immunity paralyze="0"/>
      <immunity outfit="0"/>
      <immunity drunk="0"/>
      <immunity invisible="1"/>
    </immunities>
	<summons max="3">
    <summon name="Super Magic Pig" interval="1000" chance="10"/>
  </summons>
    <loot>
<item id="1487" chance="50000"/>
    <item id="2393" chance="50000"/>
    <item id="2152" chance="50000"/>
</loot>
</monster>
Teraz w monster.xml dodajemy te 5 linijek:

<monster name="Boss Pig" file="boss pig.xml" />
<monster name="Super Magic Pig" file="super magic pig.xml" />
<monster name="Iron Pig" file="iron pig.xml" />
<monster name="Magic Pig" file="magic pig.xml" />
<monster name="Pig Warrior" file="pig warrior.xml" />

Potwory gotowe :)

I jak si? wam podobaj??? Prosz? o komentarze.
 
Status
Zamknięty.
Do góry