Ir para conteúdo
  • 0

Como adivionar loot em algum monster?


ravely13

Pergunta

Eu estou tentando coloca uma mpa , royal helmet e algumas coisas no mutated human mais depois que eu coloco quando vou ver se fico ele nao dropa , como faz pra coloca que caia mais coisas do bixo?

 

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Mutated Human" nameDescription="a mutated human" race="blood" experience="150" speed="245" manacost="0">

<health now="240" max="240"/>

<look type="323" corpse="9107"/>

<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="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" min="-0" max="-90" poison="300"/>

<attack name="death" interval="3000" chance="20" length="8" spread="3" min="-40" max="-50">

<attribute key="areaEffect" value="poison"/>

</attack>

</attacks>

<defenses armor="30" defense="30"/>

<elements>

<element icePercent="20"/>

<element holyPercent="-25"/>

</elements>

<immunities>

<immunity death="1"/>

<immunity earth="1"/>

<immunity paralyze="1"/>

<immunity lifedrain="1"/>

<immunity drunk="1"/>

<immunity drown="1"/>

<immunity invisible="1"/>

</immunities>

<voices interval="2500" chance="10">

<voice sentence="Take that creature off my back!! I can fell it!"/>

<voice sentence="HEEEEEEEELP!"/>

<voice sentence="You will be the next infected one... GRAAAAAAAAARRR!"/>

<voice sentence="Science... is a curse."/>

<voice sentence="Run as fast as you can."/>

<voice sentence="Oh by the gods! What is this... aaaaaargh!"/>

</voices>

<loot>

<item id="2148" countmax="50" chance="100000"/><!-- gold coin -->

<item id="3976" countmax="3" chance="10000"/><!-- worm -->

<item id="2671" chance="900"/><!-- ham -->

<item id="8891" chance="9999999999999"/><!-- Paladin Armor -->

<item id="2226" chance="12500"/><!-- fishbone -->

<item id="2472" chance="99999999999999"/> --magic plate armor

<item id="2801" chance="1500"/><!-- fern -->

<item id="1987" chance="100000"><!-- bag -->

<inside>

<item id="2406" countmax="1" chance="4000"/><!-- short sword -->

<item id="2376" chance="3000"/><!-- sword -->

<item id="2170" chance="300"/><!-- silver amulet -->

<item id="2161" chance="1500"/><!-- strange talisman -->

<item id="9808" chance="2000"/><!-- rusty armor -->

<item id="7910" chance="700"/><!-- peanut -->

</inside>

</item>

</loot>

</monster>

Link para o comentário
Compartilhar em outros sites

9 respostass a esta questão

Posts Recomendados

  • 0

Vá no script do monstro que quer add loot e procure onde está assim:

<loot>
    <item id="12194" chance="4000" chance1="129" chancemax="156" count="1" countmax="1"/>
   </loot>

Legenda:

Item id= Id do item que quer por pra dropar.

chance1= chance de dropar o item

chancemax= chance maxima de dropar o item

count= quantidade minima do item q ira dropar

countmax= quantidade maxima que pode dropar

 

Ai para add mais itens é so colocar outra tag dessa:

    <item id="12194" chance="4000" chance1="129" chancemax="156" count="1" countmax="1"/>

E Ir trocando de acordo com a legenda que fiz.

 

No caso eu peguei de um pokemon, mas é a msm coisa.

Link para o comentário
Compartilhar em outros sites

  • 0

ID DO ITEM = 2472

 

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Mutated Human" nameDescription="a mutated human" race="blood" experience="150" speed="245" manacost="0">

<health now="240" max="240"/>

<look type="323" corpse="9107"/>

<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="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" min="-0" max="-90" poison="300"/>

<attack name="death" interval="3000" chance="20" length="8" spread="3" min="-40" max="-50">

<attribute key="areaEffect" value="poison"/>

</attack>

</attacks>

<defenses armor="30" defense="30"/>

<elements>

<element icePercent="20"/>

<element holyPercent="-25"/>

</elements>

<immunities>

<immunity death="1"/>

<immunity earth="1"/>

<immunity paralyze="1"/>

<immunity lifedrain="1"/>

<immunity drunk="1"/>

<immunity drown="1"/>

<immunity invisible="1"/>

</immunities>

<voices interval="2500" chance="10">

<voice sentence="Take that creature off my back!! I can fell it!"/>

<voice sentence="HEEEEEEEELP!"/>

<voice sentence="You will be the next infected one... GRAAAAAAAAARRR!"/>

<voice sentence="Science... is a curse."/>

<voice sentence="Run as fast as you can."/>

<voice sentence="Oh by the gods! What is this... aaaaaargh!"/>

</voices>

<loot>

<item id="2148" countmax="50" chance="100000"/><!-- gold coin -->

<item id="3976" countmax="3" chance="10000"/><!-- worm -->

<item id="2671" chance="900"/><!-- ham -->

<item id="2696" chance="13500"/><!-- cheese -->

<item id="2226" chance="12500"/><!-- fishbone -->

<item id="2484" chance="3000"/><!-- studded armor -->

<item id="2801" chance="1500"/><!-- fern -->

<item id="1987" chance="100000"><!-- bag -->

<inside>

<item id="2406" countmax="1" chance="4000"/><!-- short sword -->

<item id="2376" chance="3000"/><!-- sword -->

<item id="2170" chance="300"/><!-- silver amulet -->

<item id="2161" chance="1500"/><!-- strange talisman -->

<item id="9808" chance="2000"/><!-- rusty armor -->

<item id="7910" chance="700"/><!-- peanut -->

</inside>

</item>

</loot>

</monster>

Link para o comentário
Compartilhar em outros sites

  • 0

ID DO ITEM = 2472

 

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Mutated Human" nameDescription="a mutated human" race="blood" experience="150" speed="245" manacost="0">

<health now="240" max="240"/>

<look type="323" corpse="9107"/>

<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="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" min="-0" max="-90" poison="300"/>

<attack name="death" interval="3000" chance="20" length="8" spread="3" min="-40" max="-50">

<attribute key="areaEffect" value="poison"/>

</attack>

</attacks>

<defenses armor="30" defense="30"/>

<elements>

<element icePercent="20"/>

<element holyPercent="-25"/>

</elements>

<immunities>

<immunity death="1"/>

<immunity earth="1"/>

<immunity paralyze="1"/>

<immunity lifedrain="1"/>

<immunity drunk="1"/>

<immunity drown="1"/>

<immunity invisible="1"/>

</immunities>

<voices interval="2500" chance="10">

<voice sentence="Take that creature off my back!! I can fell it!"/>

<voice sentence="HEEEEEEEELP!"/>

<voice sentence="You will be the next infected one... GRAAAAAAAAARRR!"/>

<voice sentence="Science... is a curse."/>

<voice sentence="Run as fast as you can."/>

<voice sentence="Oh by the gods! What is this... aaaaaargh!"/>

</voices>

<loot>

<item id="2148" countmax="50" chance="100000"/><!-- gold coin -->

<item id="3976" countmax="3" chance="10000"/><!-- worm -->

<item id="2671" chance="900"/><!-- ham -->

<item id="2696" chance="13500"/><!-- cheese -->

<item id="2226" chance="12500"/><!-- fishbone -->

<item id="2484" chance="3000"/><!-- studded armor -->

<item id="2801" chance="1500"/><!-- fern -->

<item id="1987" chance="100000"><!-- bag -->

<inside>

<item id="2406" countmax="1" chance="4000"/><!-- short sword -->

<item id="2376" chance="3000"/><!-- sword -->

<item id="2170" chance="300"/><!-- silver amulet -->

<item id="2161" chance="1500"/><!-- strange talisman -->

<item id="9808" chance="2000"/><!-- rusty armor -->

<item id="7910" chance="700"/><!-- peanut -->

</inside>

</item>

</loot>

</monster>

Coloque Em Spoiler.

 

ID DO ITEM = 2472

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Mutated Human" nameDescription="a mutated human" race="blood" experience="150" speed="245" manacost="0">

<health now="240" max="240"/>

<look type="323" corpse="9107"/>

<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="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" min="-0" max="-90" poison="300"/>

<attack name="death" interval="3000" chance="20" length="8" spread="3" min="-40" max="-50">

<attribute key="areaEffect" value="poison"/>

</attack>

</attacks>

<defenses armor="30" defense="30"/>

<elements>

<element icePercent="20"/>

<element holyPercent="-25"/>

</elements>

<immunities>

<immunity death="1"/>

<immunity earth="1"/>

<immunity paralyze="1"/>

<immunity lifedrain="1"/>

<immunity drunk="1"/>

<immunity drown="1"/>

<immunity invisible="1"/>

</immunities>

<voices interval="2500" chance="10">

<voice sentence="Take that creature off my back!! I can fell it!"/>

<voice sentence="HEEEEEEEELP!"/>

<voice sentence="You will be the next infected one... GRAAAAAAAAARRR!"/>

<voice sentence="Science... is a curse."/>

<voice sentence="Run as fast as you can."/>

<voice sentence="Oh by the gods! What is this... aaaaaargh!"/>

</voices>

<loot>

<item id="2148" countmax="50" chance="100000"/><!-- gold coin -->

<item id="3976" countmax="3" chance="10000"/><!-- worm -->

<item id="2671" chance="900"/><!-- ham -->

<item id="2696" chance="13500"/><!-- cheese -->

<item id="2226" chance="12500"/><!-- fishbone -->

<item id="2484" chance="3000"/><!-- studded armor -->

<item id="2801" chance="1500"/><!-- fern -->

<item id="1987" chance="100000"><!-- bag -->

<item id="2472" chance="10000"/>

<inside>

<item id="2406" countmax="1" chance="4000"/><!-- short sword -->

<item id="2376" chance="3000"/><!-- sword -->

<item id="2170" chance="300"/><!-- silver amulet -->

<item id="2161" chance="1500"/><!-- strange talisman -->

<item id="9808" chance="2000"/><!-- rusty armor -->

<item id="7910" chance="700"/><!-- peanut -->

<item id="2472" chance="10000"/>

</inside>

</item>

</loot>

</monster>

 

Esse ID o Item Se Junta ? Caso Se Junto Coloque:

<item id="2472" countmax="1" chance="10000"/> EM: countmax="1" No 1 Coloque A Quantidade Maxima

Editado por Overllord
Link para o comentário
Compartilhar em outros sites

  • 0

Caso não funcione, vá em config.lua e procure por:

rateLoot = 

Veja qual é o valor depois da virgula, tire-o e coloque o valor que quiser. Logo após isso teste.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...