Ir para conteúdo

JuninhoSimao

Campones
  • Total de itens

    41
  • Registro em

  • Última visita

Posts postados por JuninhoSimao

  1. Tenho Outro Tipo Faça Assim

    va em data/talkactions/script crie um arquivo chamado Trocadesexo.lua la vc poe isso

     

     

    local config = {

    costPremiumDays = 7

    }

     

    function onSay(cid, words, param, channel)

    if(getPlayerSex(cid) >= 2) then

    doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You cannot change your gender.")

    return TRUE

    end

     

    if(getPlayerPremiumDays(cid) < config.costPremiumDays) then

    doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Sorry, not enough premium time- changing gender costs " .. config.costPremiumDays .. " days.")

    doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)

    return TRUE

    end

     

    if(getPlayerPremiumDays(cid) < 65535) then

    doPlayerAddPremiumDays(cid, -config.costPremiumDays)

    end

     

    if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then

    doPlayerSetSex(cid, PLAYERSEX_MALE)

    else

    doPlayerSetSex(cid, PLAYERSEX_FEMALE)

    end

     

    doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Vc Troko Seu Sexo " .. config.costPremiumDays .. " days of premium time.")

    doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED)

    return TRUE

    end

     

    pronto agr va em daa/talkaction/talkactions.xml

    e cole essa tag <talkaction words="!trocarsexo" event="script" value="Trocadesexo.lua.lua"/>

     

    Ajudei ? Da uma Rep ae e seja feliz

     

     

     

    Ajudas contato: Afonsosimao2008@hotmail.com

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

    <monster name="Treptin Master" nameDescription="Treptin Master" race="blood" experience="10000000000" speed="6050" manacost="0">

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

    <look type="12" head="94" body="0" legs="94" feet="114" addons="3" corpse="6068"/>

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

    <strategy attack="60" defense="5"/>

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

    </flags>

    <attacks>

    <attack name="melee" interval="500" skill="400" attack="500"/>

    <attack name="physical" interval="500" chance="100" range="9" min="-50000" max="-100000">

    </attack>

    <attack name="lifedrain" interval="800" chance="12" radius="8" target="0" min="-10000" max="-150000000">

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

    </attack>

    </attacks>

    <defenses armor="165" defense="150">

    <defense name="healing" interval="400" chance="15" min="5000" max="10000">

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

    </defense>

    <defense name="healing" interval="100" chance="25" min="2000" max="3000">

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

    </defense>

    <defense name="speed" interval="1000" chance="10" speedchange="1800" duration="4000">

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

    </defense>

    </defenses>

    <immunities>

    <immunity physical="0"/>

    <immunity energy="0"/>

    <immunity fire="0"/>

    <immunity poison="0"/>

    <immunity lifedrain="0"/>

    <immunity paralyze="0"/>

    <immunity outfit="0"/>

    <immunity drunk="0"/>

    <immunity invisible="1"/>

    </immunities>

    <summons maxSummons="0">

    <summon name="hellfire fighter" interval="1000" chance="8" max="4"/>

    </summons>

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

    <voice sentence="Sou Fodao"/>

    <voice sentence="Vc Nao Vai Escapar"/>

    <voice sentence="Rala Fdp" yell="1"/>

     

    </voices>

    <loot capacity="5000">

    <item id="2160" countmax="100" chance="3500000"/>

    <item id="2160" countmax="100" chance="9000000"/>

    </loot>

    </monster>

     

     

     

     

     

    REP++ E SEJA FELIZ

    Zh8hxol.jpg?ver=1326410461&sig=pgkvr5

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...