Ir para conteúdo
Banner com Efeitos

Featured Replies

Postado

Olá eu queria um SCRIPT que você matasse o GONKA e recebia a outfit dele e aparecesse para o servidor todo que você derrotou o GONKA e recebeu outfit dele. 

 

Alguem sabe o script?.

  • Respostas 12
  • Visualizações 455
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • @mullino  Tenta assim: function onDeath(cid, corpse, deathList) local Storage,monstName = 11543, "Gonka" if isMonster(cid) and string.lower(getCreatureName(cid)) == string.lower(monstName) then

  • @gabriel28 Claramente da pra perceber que a script não foi você que fez e nem deu os devidos créditos . Pra quem quer a script consertada    function onDeath(cid, corpse, deathList) local Sto

Postado

não sei mas da pra fazer ehhe, o que é GONKA? qual é a outfit?

Scriptszinhos:

 

Não abandone seu tópico, quando você tiver a dúvida resolvida sozinho tente ensinar aos outros como resolve-la (você pode não ser o único com o problema) e quando ela for resolvida por outra pessoa não se esqueça de marcar como melhor resposta e deixar o gostei.

  • 2 months later...
  • 6 months later...
  • 2 weeks later...
Postado

em data\actions\scripts crie um arquivo lua e renomeie para GonkaLever e coloque issu 

 

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if getGlobalStorageValue(15421) == 1 then
        doPlayerSendCancel(cid, "Já tem alguém lutando contra o Gonka, espere ele sair.")
        return true
    end
    doTeleportThing(cid, {x = 347, y = 158, z = 7}) --  loca onde o player vai nascer
    doSendMagicEffect({x = 347, y = 158, z = 7}, CONST_ME_TELEPORT) -- efeito no player
    doCreateMonster("Gonka", {x = 337, y = 149, z = 7})  --  Local onde vai criar o gonka
    setGlobalStorageValue(15421,1)  -- storage

    return true
end
        

e add essa tag em actions xml <action actionid="1450" script="GonkaLever.lua"/>

 

action id vc coloca esse id na alavanca que o player vai clicar pelo remeres

 

em moster gonka

 aki esta o script

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Gonka" nameDescription="Gonka" race="blood" experience="3000000" speed="1200" manacost="0">
    <health now="9900000" max="9900000"/>
    <look type="306" corpse="9823"/>
    <targetchange interval="5000" chance="8"/>
    <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="fire" interval="1000" chance="14" range="7" radius="7" target="1" min="-3687" max="-3948">
            <attribute key="shootEffect" value="fire"/>
            <attribute key="areaEffect" value="firearea"/>
        </attack>
        <attack name="firefield" interval="1000" chance="15" range="7" radius="1" target="1">
            <attribute key="shootEffect" value="fire"/>
        </attack>
        <attack name="melee" interval="130" skill="200" attack="320"/>
        <attack name="physical" interval="2000" chance="50" range="7" min="-3403" max="-3584">
            <attribute key="shootEffect" value="largerock"/>
        </attack>
    </attacks>
    <defenses armor="50" defense="55">
        <defense name="speed" interval="1000" chance="7" speedchange="290" duration="4000">
            <attribute key="areaEffect" value="redshimmer"/>
    </defense>
        </defenses>
    <elements>
        <element earthPercent="80"/>
        <element holyPercent="30"/>
        <element firePercent="30"/>
        <element energyPercent="10"/>
        <element physicalPercent="10"/>
        <element icePercent="-10"/>
        <element deathPercent="5"/>
    </elements>
    <immunities>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="20">
        <voice sentence="Acha que consegue me derrotar?!"/>
    </voices>
    <loot>
        <item id="9971" countmax="80" chance="29500"/><!-- gold coin -->
        <item id="6527" chance="1260"/>
        <item id="2493" chance="6000"/>
        <item id="2520" chance="17650"/> 
        <item id="12575" countmax="2"  chance="1000"/>
        <item id="12396" countmax="2"  chance="1000"/>

    </loot>
    
    <script> 
<event name="GonkaKill2"/> 
</script>
    <script> 
<event name="GonkaKill"/> 
</script>
</monster>

 

 

se ajudei +rep

 

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo