Wild Bowman

Status
Zamknięty.

Lisciu Fighter

Active User
Zarejestrowany
Dołączył
Lipiec 2, 2009
Posty
62
Liczba reakcji
1
Witam. To m?j pierwszy potworek jakiego zrobi?em. Zrobi? jeszcze wi?cej "Wild?w" ale zale?y jakie wystawicie komentarze.

Kod:
<?xml version="1.0"?>
<monster name="Wild Bowman" nameDescription="a Wild Bowman" experience="430" speed="150" race="Blood">
  <health now="2000" max="2000"/>
  <look type="129" head="79" body="78" legs="119" feet="115" addons="1" corpse="2317"/>
  <strategy attack="51" defense="49"/>
  <targetchange speed="1000" chance="50"/>
  <flags>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag attackable="1"/>
    <flag pushable="0"/>
    <flag staticattack="100"/>
    <flag targetdistance="4"/>
    <flag runonhealth="50"/>
  </flags>
  <attacks>
    <attack name="melee" interval="100" chance="25" skill="140" attack="100" 0="0" tick="0" min="-201" max="-541" range="1">
      <attribute key="areaEffect" value="holydamage"/>
    </attack>
    <attack name="physical" interval="100" chance="100" min="-201" max="-541" range="7" radius="1" target="1">
      <attribute key="areaEffect" value="greenspark"/>
      <attribute key="shootEffect" value="flasharrow"/>
    </attack>
    <attack name="physical" interval="100" chance="5" min="-402" max="-1082" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="onyxarrow"/>
    </attack>
  </attacks>
  <defenses defense="50" armor="17">
    <defense name="physical" interval="100" chance="50" min="200" max="250">
      <attribute key="areaEffect" value="redshimmer"/>
    </defense>
  </defenses>
  <immunities>
    <immunity name="paralyze"/>
    <immunity name="invisible"/>
    <immunity name="drown"/>
    <immunity name="drunk"/>
  </immunities>
  <voices speed="2200" chance="75">
    <voice sentence="I fucking your mom!" yell="1"/>
    <voice sentence="I kill  you!" yell="1"/>
    <voice sentence="This is SPARTA!!!" yell="1"/>
  </voices>
  <summons maxSummons="10">
    <summon name="Scarab" speed="0" chance="0"/>
    <summon name="Scarab" speed="0" chance="0"/>
  </summons>
  <elements/>
  <loot>
    <item id="2507" countmax="1" chance="5"/>
    <item id="2660" countmax="1" chance="5"/>
    <item id="1987" countmax="1" chance="100">
      <inside>
        <item id="2148" countmax="100" chance="50"/>
      </inside>
    </item>
    <item id="2458" countmax="1" chance="50"/>
    <item id="2464" countmax="1" chance="50"/>
    <item id="2648" countmax="1" chance="50"/>
    <item id="3982" countmax="1" chance="50"/>
  </loot>
</monster>
 
Odp: Wild Bowman

Nie chcia?bym ci? jakkolwiek do?owa? - ale ten stworzenie potwora jest proste.
Je?li chodzi o ca?y skrypt - ?adna robota.
PHP:
<strategy attack="720" defense="450"/>
Ta warto?? jest zapisana w procentach, czyli attack plus defense powinno razem da? 100. A twoja warto?? po dodaniu przekracza t? ilo??.
PHP:
<voice sentence="I fucking your mom!" yell="1"/>
M?g?by? sobie niekt?re rzeczy podarowa? - naprawd?, podarowa? i zachowa? dla siebie
 
Odp: Wild Bowman

Kod:
<attacks>
<attack name="melee" interval="100" chance="25" skill="140" attack="100" 0="0" tick="0" min="-201" max="-541" range="1">
<attribute key="areaEffect" value="holydamage"/>
</attack>
Nie mam poj?cia co? Ty tu zrobi?. Albo dajesz, potworkowi okre?lonego skilla i atak albo minimalne oraz maksymalne obra?enia, nie mo?na dawa? obu naraz. 0="0" Co to ma by?? Wyt?umacz. tick="0" Sk?d to wzi??e??


Kod:
<attack name="physical" interval="100" chance="100" min="-201" max="-541" range="7" radius="1" target="1">
<attribute key="areaEffect" value="greenspark"/>
<attribute key="shootEffect" value="flasharrow"/>
</attack>
Masz Ty jakie? poj?cie o tworzeniu monster?w? Interval to czas po jakim potw?r ponownie spr?buje zaatakowa? gdzie 1000=1s, a u Ciebie atak b?dzie losowany co 0,1 sekundy, a to ciut za szybko. Chance="100", no brawo. potw?r b?dzie pr?bowa? zaatakowa? co 0,1 sekundy i na dodatek ze 100% prawdopodobie?stwem, spr?buj to prze?y?...


Kod:
<defense name="physical" interval="100" chance="50" min="200" max="250">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
Defense name="physical"? Nie mam poj?cia sk? Ty to wzi??e?, ale jakby nie by?o potw?r leczy? si? b?dzie, ale zobacz jak cz?sto i mocno. Co 0,1 sekundy z 50% szans? po 200-250HP, po kalkulacji wychodzi, ?e na sekund? b?dzie si? leczy? ~1000HP, a Tw?j monster ma 2k HP. Troch? to nieprzemy?lane.


Kod:
<voices speed="2200" chance="75">
voices speed="2200"? Od kiedy u?ywa si? tej zmiennej? Interval odpowiada za czas, po kt?rym potw?r spr?buje co? powiedzie?.


Kod:
<summons maxSummons="10">
<summon name="Scarab" speed="0" chance="0"/>
<summon name="Scarab" speed="0" chance="0"/>
</summons>
Ciekawe... Maksymalna ilo?? summon?w to 10, ale szansa na przywo?anie wynosi "0". Speed="0"? Ty w og?le masz poj?cie co piszesz? Ech...


Kod:
<item id="2507" countmax="1" chance="5"/>
<item id="2660" countmax="1" chance="5"/>
<item id="1987" countmax="1" chance="100">
<inside>
<item id="2148" countmax="100" chance="50"/>
</inside>
</item>
<item id="2458" countmax="1" chance="50"/>
<item id="2464" countmax="1" chance="50"/>
<item id="2648" countmax="1" chance="50"/>
<item id="3982" countmax="1" chance="50"/>
</loot>
To jest najciekawsze. Dla przyk?adu. Item o ID 1987 to bag, u Ciebie chance wynosi "100", a to znaczy, ?e istnieje 0,1% szans na wypadni?cie ?w baga, pomn?? to przez szans? na wypadni?cie itemka w nim si? znajduj?cego (0,05%) to wyjdzie nam szansa r?wna 0,005%, ?e wypadnie nam bag, a w nim item.
Wsz?dzie masz napisane chance="50" lub ="100". Nie czyta?e? poradnik?w poniewa? 1000=1%.
W moim podpisie masz link do mojego poradnika. Zapoznaj si? z nim.
A teraz ?ycz? szcz??cia w dalszych pr?bach stworzenia monstera.
 
Status
Zamknięty.
Back
Do góry