• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Błąd z potworem

szajker123

New Member
Joined
May 12, 2012
Messages
195
Reaction score
0
Witam a wiec mam potwora ninja i błąd z lootem mam jakis i nie umiem go rozwiązac( wgl. jakies dziwne bledy ) a otórz to gdy mam tak ustawiony taki lot to potwor dziala :
<?xml version="1.0"?>
<monster name="Ninja" level="50" maglevel="30" experience="9000" pushable="0" armor="35" defense="40" canpushitems="0" staticattack="50" speed="600" summonable="0" convinceable="0" manacost="420">
<health now="11000" max="11000"/>
<look type="109" head="20" body="30" legs="40" feet="50" corpse="8969" race="2"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag runonhealth="5"/>
</flags>
<targetchange interval="2000" chance="5"/>

<attacks>
<attack name="melee" interval="1900" skill="45" attack="800"/>

<attack name="fire" interval="2000" chance="100" range="7" radius="2" target="1" min="-700" max="-1200">
<attribute key="shootEffect" value="BURSTARROW"/>
</attack>
</attacks>

<immunities>

</immunities>

<voices speed="2000" chance="5">
<voice sentence="I smell gold!"/>
<voice sentence="You is mine"/>
<voice sentence="Haha!"/>
</voices>


<loot>

<item id="12090" countmax="100" chance1="100000" chancemax="0"/>
<item id="11877" countmax="4" chance1="100000" chancemax="0"/>
<item id="11818" chance="633"/>
<item id="11478" chance="502"/>
<item id="11450" chance="600"/>
<item id="11420" chance="500"/>
<item id="5885" chance="15000"/>

<item id="11649" chance="33333">
<inside>
<item id="11877" countmax="2" chance1="30000" chancemax="0"/>
<item id="11429" chance="344"/>
<item id="11423" chance="444"/>
<item id="11437" chance="333"/>
</inside>
</item>

</loot>
</monster>

a w taki sposob nie dziala > ( i rzecz w tym ze gdy ustawiam tak jak jest napisane nadole to nie dziala potwor i wgl tym sposobem lepiej mi sie obsluguje )
<?xml version="1.0"?>
<monster name="Ninja" level="50" maglevel="30" experience="8690" pushable="0" armor="35" defense="40" canpushitems="0" staticattack="50" speed="600" summonable="0" convinceable="0" manacost="420">
<health now="7000" max="7000"/>
<look type="253" corpse="8969"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag runonhealth="5"/>
</flags>

<targetchange interval="2000" chance="5"/>


<attacks>
<attack name="melee" interval="1900" skill="45" attack="800"/>

<attack name="fire" interval="2000" chance="100" range="7" radius="2" target="1" min="-700" max="-1200">
<attribute key="shootEffect" value="BURSTARROW"/>
</attack>
</attacks>
<loot>

<inside>
<item id="11817" countmax="3" chance1="100000" chancemax="0"/>
<item id="11875" countmax="3" chance1="100000" chancemax="0"/>
<item id="11277" countmax="3" chance1="100000" chancemax="0"/>
<item id="11887" countmax="3" chance1="100000" chancemax="0"/>
</inside>
</item>

</loot>
</monster>
 
jak już walisz double posta zamiast edytować, to może daj innym noobkom rozwiązanie

oczywiście chodzi tutaj o brak containera, do którego miałyby być przypisane itemy parametrem <inside>
 
Back
Top