Ir para conteúdo
  • Cadastre-se

(Resolvido)Montros passando pelo fogo


Ir para solução Resolvido por Movie,

Posts Recomendados

INTAO EU TENHO UM SERVER PROPRIO AQUI FAZ TEMPO QUE TO TRABALHANDO COM ELE...MAIS ACHEI 1 PROBLEMA COM VARIOS

 

MONSTROS TIPO POR EX O GRIM REAPER PASSA POR FIRE FIELD E OS VIS FIELD E NO GLOBAL ELES NAO PASSAM COMO POSSO

 

ARRUMAS ISSO ?

 

 

DES DE JA AGRADEÇO A TODOS DO TK :)

​​

Link para o post
Compartilhar em outros sites
  • Moderador
  • Solução

Existe um código próprio para isso , vou pegar de exemplo o "Demon" 

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Demon" nameDescription="a demon" race="fire" experience="6000" speed="275" manacost="10000">
<health now="8200" max="8200"/>
<look type="35" corpse="5995"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="90" defense="10"/>
<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 staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="100" attack="110"/>
<attack name="manadrain" interval="2000" chance="13" range="7" min="0" max="-120"/>
<attack name="fire" interval="2000" chance="30" range="7" radius="7" target="1" min="-150" max="-250">
        <attribute key="shootEffect" value="fire"/>
        <attribute key="areaEffect" value="firearea"/>
    </attack>
<attack name="firefield" interval="2000" chance="12" range="7" radius="1" target="1">
        <attribute key="shootEffect" value="fire"/>
    </attack>
<attack name="lifedrain" interval="1000" chance="12" length="8" spread="0" min="-300" max="-467">
        <attribute key="areaEffect" value="purpleenergy"/>
    </attack>
    <attack name="speed" interval="2000" chance="15" target="1" speedchange="-750" duration="30000">
        <attribute key="shootEffect" value="suddendeath"/>
    </attack>
    <attack name="energy" interval="3000" chance="10" range="1" target="1" min="-210" max="-300">
        <attribute key="areaEffect" value="purpleenergy"/>
    </attack>
</attacks>
<defenses armor="55" defense="55">
<defense name="healing" interval="2000" chance="15" min="130" max="240">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
    <defense name="speed" interval="1000" chance="8" speedchange="290" duration="5000">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
    <elements>
        <element physicalPercent="30"/>
        <element energyPercent="50"/>
        <element earthPercent="20"/>
        <element icePercent="-15"/>
        <element holyPercent="-15"/>
        <element deathPercent="20"/>
    </elements>
<immunities>
<immunity fire="1"/>
<immunity drown="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="1">
<summon name="fire elemental" interval="1000" chance="12"/>
</summons>
<voices interval="5000" chance="10">
<voice sentence="MUHAHAHAHA!" yell="1"/>
<voice sentence="I SMELL FEEEEEAAAR!" yell="1"/>
<voice sentence="CHAMEK ATH UTHUL ARAK!" yell="1"/>
<voice sentence="Your resistance is futile!"/>
<voice sentence="Your soul will be mine!" yell="0"/>
</voices>
<loot>
    <item id="2148" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
    <item id="2148" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
    <item id="2152" countmax="3" chance1="33333" chancemax="2000"/> --Plat
    <item id="2514" chance="1900"/> --mastermind shield
    <item id="2472" chance="200"/> --magic plate armor
    <item id="2795" countmax="6" chance1="7500"/> --Fire Mushroom
    <item id="5906" countmax="1" chance="2000"/> -- demon dust
    <item id="5954" countmax="1" chance="2345"/> -- demon horn
<item id="2164" chance="2100"/> --might ring
<item id="2176" chance="3500"/> --orb
    <item id="1982" chance="1300"/> --purpel tome
<item id="2165" chance="2300"/> --stealth ring
    <item id="7591" chance="4500"/> -- GHP
    <item id="1987" chance="100000">
        <inside>
             <item id="2393" chance="3800"/> --giantsword
             <item id="2432" chance="3800"/> --fire axe
         <item id="2112" chance="4100"/> --addon doll
            <item id="2396" chance="2600"/> --ice rapier
            <item id="2179" chance="1100"/> --golden ring
            <item id="2795" countmax="6" chance1="13000"/> --fire mushroom
            <item id="2678" countmax="3" chance1="10000" chancemax="0"/> --coconut
            <item id="2148" countmax="100" chance1="100000" chancemax="0"/> -- gold coin
            <item id="2151" countmax="4" chance1="5500" chancemax="0"/>
            <item id="2462" chance="3200"/> --devil helmet
            <item id="2149" countmax="3" chance1="11000" chancemax="0"/>
            <item id="2171" chance="2200"/> --platinum amulet
            <item id="2387" chance="32000"/> --double axe
            <item id="2470" chance="1350"/> --golden legs
            <item id="7382" chance="300"/> -- Demonrage Sword
            <item id="7393" chance="1700"/> -- Demon Trophy
            <item id="2520" chance="3100"/> --demon shield
            <item id="2418" chance="1500"/> --golden sickle
            <item id="2377" chance="6666"/> --two-handed sword
        </inside>
    </item>
</loot>
</monster>

 

 

No numero em vermelho , você decide se o monstro é imune ou não do elemento , o número 1 significa que ele é imune , já quando usamos 0 , percebemos que não vou conseguir ataca-lo .

 

Penso eu que te ajudei , qualquer coisa manda PM

Editado por moviebr (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
  • Moderador

AQUI SE TU ARRUMA PRA MIM EU FIKARIA MUITO AGRADECIDO :)

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Grim Reaper" nameDescription="a grim reaper" race="undead" experience="5500" speed="400" manacost="0">
<health now="4100" max="4100"/>
<look type="300" corpse="8955"/>
<targetchange interval="5000" chance="10"/>
<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 canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="106" attack="140"/>
<attack name="death" interval="1000" chance="9" range="7" min="0" max="-350">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="lifedrain" interval="1000" chance="9" length="7" spread="0" min="0" max="-600">
<attribute key="areaEffect" value="redspark"/>
</attack>
<attack name="physical" interval="1000" chance="8" range="7" radius="4" target="1" min="0" max="-395">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="redspark"/>
</attack>
<attack name="physical" interval="1000" chance="11" lenght="7" spread="3" min="0" max="-300">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="50" defense="50">
<defense name="healing" interval="1000" chance="25" min="100" max="195">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element energyPercent="10"/>
<element earthPercent="-20"/>
<element icePercent="-10"/>
<element holyPercent="10"/>
<element deathPercent="-20"/>
<element firePercent="10"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Death!" yell="1"/>
<voice sentence="Come a little closer!" yell="1"/>
<voice sentence="The end is near!" yell="1"/>
</voices>
<loot>
<item id="2148" countmax="90" chance="43750"/><!-- gold coin -->
<item id="2148" countmax="80" chance="43750"/><!-- gold coin -->
<item id="2148" countmax="75" chance="43750"/><!-- gold coin -->
<item id="6500" chance="10500"/><!-- demonic essence -->
<item id="8473" chance="9500"/><!-- ultimate health potion -->
<item id="2152" countmax="4" chance="3500"/><!-- Platinum Coin -->
<item id="6558" chance="37000"/><!-- concentrated demonic blood -->
<item id="2162" chance="8150"/><!-- magic lightwand -->
<item id="7590" chance="7850"/><!-- great mana potion -->
<item id="2521" chance="3100"/><!-- dark shield -->
<item id="2550" chance="9500"/><!-- scythe -->
<item id="8910" chance="700"/><!-- underworld rod -->
<item id="7896" chance="1000"/><!-- glacier kilt -->
<item id="9810" chance="2250"/><!-- rusty armor -->
<item id="7418" chance="450"/><!-- nightmare blade -->
<item id="5022" countmax="4" chance="1500"/><!-- orichalcum pearl -->
<item id="8889" chance="560"/><!-- skullcracker armor -->
<item id="6300" chance="280"/><!-- death ring -->
</loot>
</monster>
Link para o post
Compartilhar em outros sites
  • Moderador

 

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

<monster name="Grim Reaper" nameDescription="a grim reaper" race="undead" experience="5500" speed="400" manacost="0">
<health now="4100" max="4100"/>
<look type="300" corpse="8955"/>
<targetchange interval="5000" chance="10"/>
<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 canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="106" attack="140"/>
<attack name="death" interval="1000" chance="9" range="7" min="0" max="-350">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="lifedrain" interval="1000" chance="9" length="7" spread="0" min="0" max="-600">
<attribute key="areaEffect" value="redspark"/>
</attack>
<attack name="physical" interval="1000" chance="8" range="7" radius="4" target="1" min="0" max="-395">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="redspark"/>
</attack>
<attack name="physical" interval="1000" chance="11" lenght="7" spread="3" min="0" max="-300">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="50" defense="50">
<defense name="healing" interval="1000" chance="25" min="100" max="195">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element energyPercent="10"/>
<element earthPercent="-20"/>
<element icePercent="-10"/>
<element holyPercent="10"/>
<element deathPercent="-20"/>
<element firePercent="10"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity fire="0"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Death!" yell="1"/>
<voice sentence="Come a little closer!" yell="1"/>
<voice sentence="The end is near!" yell="1"/>
</voices>
<loot>
<item id="2148" countmax="90" chance="43750"/><!-- gold coin -->
<item id="2148" countmax="80" chance="43750"/><!-- gold coin -->
<item id="2148" countmax="75" chance="43750"/><!-- gold coin -->
<item id="6500" chance="10500"/><!-- demonic essence -->
<item id="8473" chance="9500"/><!-- ultimate health potion -->
<item id="2152" countmax="4" chance="3500"/><!-- Platinum Coin -->
<item id="6558" chance="37000"/><!-- concentrated demonic blood -->
<item id="2162" chance="8150"/><!-- magic lightwand -->
<item id="7590" chance="7850"/><!-- great mana potion -->
<item id="2521" chance="3100"/><!-- dark shield -->
<item id="2550" chance="9500"/><!-- scythe -->
<item id="8910" chance="700"/><!-- underworld rod -->
<item id="7896" chance="1000"/><!-- glacier kilt -->
<item id="9810" chance="2250"/><!-- rusty armor -->
<item id="7418" chance="450"/><!-- nightmare blade -->
<item id="5022" countmax="4" chance="1500"/><!-- orichalcum pearl -->
<item id="8889" chance="560"/><!-- skullcracker armor -->
<item id="6300" chance="280"/><!-- death ring -->
</loot>
</monster>
Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo