#1 2008-02-25 12:42:33

Admin

http://img262.imageshack.us/img262/9884/adminep0.png

Zarejestrowany: 2008-02-23
Posty: 41
Punktów :   
WWW

Skrypt na potwora Golden Warrior 8.1 (może pójść na inne)

Oto script na nowego monstera:
data/monsters/Golden Warrior.lua

<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Golden Warrior" species="human" nameDescription="a golden warrior" race="blood" experience="160000" speed="600" manacost="0">
    <health now="180000" max="180000"/>
    <look type="143" head="79" body="79" legs="79" feet="79" addon="3" corpse="3128"/>
    <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 lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" min="-600" max="-1200"/>
      <attack name="spear" interval="1000" chance="100" min="-100" max="-500"/>
      <attack name="berserk" interval="5000" chance="70"/>
      <attack name="sudden death" interval="5000" chance="30"/>
    </attacks>
    <defenses armor="43" defense="45"/>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="0"/>
      <immunity fire="1"/>
      <immunity poison="1"/>
      <immunity lifedrain="1"/>
      <immunity paralyze="1"/>
      <immunity outfit="1"/>
      <immunity drunk="1"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="2000" chance="5">
      <voice sentence="THIS IS MY WORLD!"/>
      <voice sentence="YOU ARE NOOB!"/>
      <voice sentence="I KILL YOU!"/>
      <voice sentence="FIGHT!"/>
      <voice sentence="DEAD!"/>
    </voices>
    <loot>
      <item id="2148" countmax="10" chance1="100000" chancemax="0"/>
      <item id="2148" countmax="100" chance1="100000" chancemax="0"/>
      <item id="2476" chance="1000"/>
      <item id="2489" chance="1428"/>
      <item id="2490" chance="6666"/>
      <item id="2381" chance="5000"/>
      <item id="2389" countmax="1" chance1="20000" chancemax="0"/>
      <item id="1987" chance="100000">
        <inside>
          <item id="2463" chance="2500"/>
          <item id="2148" countmax="15" chance1="100000" chancemax="0"/>
          <item id="2120" chance="20000"/>
          <item id="2387" chance="6666"/>
          <item id="2377" chance="2857"/>
          <item id="2430" chance="1333"/>
          <item id="2414" chance="909"/>
          <item id="2195" chance="555"/>
        </inside>
      </item>
    </loot>
  </monster>

Potem data/scrips/monsters.lua dopisujemy :

<monster name="Golden Warrior" file="Golden Warrior.xml" />


Pozdrawiam

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
przegrywanie kaset studio woj. kujawsko-pomorskie anties.pl