TheMiszu - 2009-08-29 09:10:58

Co jest z tym skryptem na monstera. Niby zrobiłem monstera wszystko ok zrobiłem expowisko i wszystko gra.
Ale jak moim charem wchodzę na exp nic niema :( tylko tp.  Powiedzcie co w nim nie tak. Może zwaliłem coś z lotem bo id dałem ale nie wiem za bardzo co to to chance?

Spoiler:

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Gamas" nameDescription="a Gamas" race="blood" experience="98920" speed="150" manacost="1000">
  <health now="380" max="380"/>
  <look type="66" head="20" body="30" legs="40" feet="50" corpse="6015"/>
  <targetchange interval="5000" chance="8"/>
  <strategy attack="100" defense="0"/>
  <flags>
    <flag summonable="0"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="1"/>
    <flag convinceable="0"/>
    <flag pushable="0"/>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag targetdistance="4"/>
    <flag staticattack="90"/>
    <flag runonhealth="150"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="50" attack="30"/>
    <attack name="fire" interval="2000" chance="10" range="7" radius="4" target="1" min="-50" max="-120">
      <attribute key="shootEffect" value="fire"/>
      <attribute key="areaEffect" value="firearea"/>
    </attack>
    <attack name="physical" interval="2000" chance="80" range="7" min="-55" max="-105">
      <attribute key="shootEffect" value="largerock"/>
    </attack>
    <attack name="manadrain" interval="2000" chance="8000" range="7" min="-2500" max="-80"/>
  </attacks>
  <defenses armor="60" defense="60">
    <defense name="healing" interval="2000" chance="50" min="75" max="325">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
  <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="Gin gnido!"/>
    <voice sentence="Antonio Fakaldo!."/>
    <voice sentence="AAAAA!!."/>
  </voices>
  <loot>
    <item id="7" countmax="20" chance1="100000" chancemax="0"/>
    <item id="2673" countmax="3" chance1="6666" chancemax="0"/>
    <item id="7420" chance="4000"/>
    <item id="7421" chance="500"/>
    <item id="7422" chance="10000"/>
    <item id="7428" chance="20000"/>
    <item id="7411" chance="100000">
      <inside>
        <item id="2408" chance="2500"/>
        <item id="2160" countmax="60" chance1="20000" chancemax="0"/>
      </inside>
    </item>
  </loot>
</monster>

A jak rozwiąze problem to wtedy wystawie otsa.

demcion12 - 2009-09-04 19:50:20

A wywala ci się jakiś błąd w silniku ?

TheMiszu - 2009-09-05 09:02:55

@up nie

XXpepeXX - 2009-09-05 09:08:44

A masz w Spisie w spisie potworów go? lub nie postawiłeś go.

Spis potworów to jest taki plik Monster... i tam pasz potworki

Robert - 2009-09-05 09:26:19

Co to chance to jest to, co ile ma wypadać wybrany item, im większy czym trudniej chyba :p. A sprawdz na konsoli, czy jest jakiś błąd z tym potworem, może pominąłeś znak > może " lub coś innego ;d.

xXxDanioSxXx - 2009-09-05 09:36:07

Znajdź plik monsters.xml, skopiuj jakąś linijke monstera i wklej na samym dole tylko zmień nazwy na tego, którego dodałeś. Bo założę się że w tym tkwi problem ;];]

https://www.berlin-hotel.pl