Ir para conteúdo

fagundes14

Campones
  • Total de itens

    96
  • Registro em

  • Última visita

Posts postados por fagundes14

  1. Eu Editei A Magia Agility, Ela Ta Funcionando Direitinha

    Ela Dobra A Speed Do Poke, Ai Dando Uma Grande De Chanse Dele Desvia Dos Attacks Adverssarios (MISS!)

     

    Mais Tem Um Porem :/

    Quando Volto Ele Pra Pokebola, Ele Perde O Status De Agilidade

    E Eu Nao Sei ADD Ele No GoBack

    So Ta Faltando Isso. Se Alguem Puder Ajudar

     

    local function effect(params)

    if isCreature(params.cid) then

    doSendMagicEffect(getThingPositionWithDebug(params.cid), 14)

    end

    end

    local function doReduceSpeed(cid, qnt)

    if not isCreature(cid) then return true end

    local a = getSpeed(cid)

    setPlayerStorageValue(cid, 1003, a - qnt)

    end

     

    local function doDoubleSpeed(cid)

    if not isCreature(cid) then return true end

    local a = getSpeed(cid)

    setPlayerStorageValue(cid, 1003, a * 2)

    local b = getSpeed(cid)

    local c = b - a

    addEvent(doReduceSpeed, 14 * 1000 + 40, cid, c)

    end

    doDoubleSpeed(cid)

    for times = 1, 14 do

    addEvent(effect, 00, {cid = cid})

    addEvent(effect, 1000 * times + 40, {cid = cid})

    end

  2. @Anoniimos

     

    Uai Aki Funciono Direitim ;S

    Vc Nao Mudol Algo?

     

    --/ EDIT

     

    Ixi Nao Mexi Ainda Nos Npcs Mais Acho Que Veio Um Ja No OT

    Ai E So Vc Observar Algumas Coisas Nele E Tenta Modificar A Sua Maneira

     

    ABRASS

     

    @Slicer

     

    Vc Sabe Editar Esse Physical E O EarthArrow

    ja Procurei Aki Pra Tenta Personalisa Mais Nao Achei ;S

     

     

    <attack name="physical" interval="2000" chance="100" range="4" min="-50" max="-100">

    <attribute key="shootEffect" value="eartharrow"/>

     

  3. Alguem tem os ids das outfits do clans do pxg ?

    REP pra quem me ajudar!

     

     

    Usa O Meu

     

    <?xml version="1.0"?>

    <outfits>

    <!-- NORMAL -->

     

    <outfit id="1">

    <list gender="0" lookType="511" name="Trainer"/>

    <list gender="1" lookType="510" name="Trainer"/>

    </outfit>

    <outfit id="2">

    <list gender="0" lookType="615" name="Elite Trainer"/>

    <list gender="1" lookType="614" name="Elite Trainer"/>

    </outfit>

    <outfit id="3">

    <list gender="0" lookType="512" name="Rapper"/>

    <list gender="1" lookType="545" name="Rapper"/>

    </outfit>

    <outfit id="4">

    <list gender="0" lookType="588" name="Jamaican"/>

    <list gender="1" lookType="587" name="Jamaican"/>

    </outfit>

    <outfit id="5">

    <list gender="0" lookType="586" name="Oriental"/>

    <list gender="1" lookType="585" name="Oriental"/>

    </outfit>

    <outfit id="6">

    <list gender="0" lookType="605" name="Rocket"/>

    <list gender="1" lookType="604" name="Rocket"/>

    </outfit>

    <outfit id="7">

    <list gender="0" lookType="495" name="Adventurer"/>

    <list gender="1" lookType="494" name="Adventurer"/>

    </outfit>

    <outfit id="8">

    <list gender="0" lookType="513" name="Bussiness"/>

    <list gender="1" lookType="514" name="Bussiness"/>

    </outfit>

    <outfit id="9">

    <list gender="0" lookType="517" name="Atletic"/>

    <list gender="1" lookType="516" name="Atletic"/>

    </outfit>

    <outfit id="10">

    <list gender="0" lookType="519" name="Punk"/>

    <list gender="1" lookType="518" name="Punk"/>

    </outfit>

    <outfit id="11">

    <list gender="0" lookType="521" name="Fisher"/>

    <list gender="1" lookType="520" name="Fisher"/>

    </outfit>

    <outfit id="12">

    <list gender="0" lookType="524" name="Mercenary"/>

    <list gender="1" lookType="522" name="Mercenary"/>

    </outfit>

    <outfit id="13">

    <list gender="0" lookType="525" name="Hiker"/>

    <list gender="1" lookType="523" name="Hiker"/>

    </outfit>

     

    <!-- PROMOTE -->

     

    <outfit id="14">

    <list gender="0" lookType="1149" name="Naturia"/>

    <list gender="1" lookType="1159" name="Naturia"/>

    </outfit>

    <outfit id="15">

    <list gender="0" lookType="1152" name="Volcanic"/>

    <list gender="1" lookType="1154" name="Volcanic"/>

    </outfit>

    <outfit id="16">

    <list gender="0" lookType="1146" name="Gardestrike"/>

    <list gender="1" lookType="1155" name="Gardestrike"/>

    </outfit>

    <outfit id="17">

    <list gender="0" lookType="1153" name="Malefic"/>

    <list gender="1" lookType="1157" name="Malefic"/>

    </outfit>

    <outfit id="18">

    <list gender="0" lookType="1148" name="Wingeon"/>

    <list gender="1" lookType="1158" name="Wingeon"/>

    </outfit>

    <outfit id="19">

    <list gender="0" lookType="1147" name="Raibolt"/>

    <list gender="1" lookType="1160" name="Raibolt"/>

    </outfit>

    <outfit id="20">

    <list gender="0" lookType="1145" name="Psycraft"/>

    <list gender="1" lookType="1161" name="Psycraft"/>

    </outfit>

    <outfit id="21">

    <list gender="0" lookType="1151" name="Seavell"/>

    <list gender="1" lookType="1162" name="Seavell"/>

    </outfit>

    <outfit id="22">

    <list gender="0" lookType="1150" name="Orebound"/>

    <list gender="1" lookType="1156" name="Orebound"/>

    </outfit>

    <!-- PROMOTE MASTER -->

    <outfit id="23" premium="yes">

    <list gender="1" lookType="1164" name="Raibolt Legend"/>

    <list gender="0" lookType="1179" name="Raibolt Legend"/>

    </outfit>

    <outfit id="24" premium="yes">

    <list gender="1" lookType="1165" name="Seavell King"/>

    <list gender="0" lookType="1178" name="Seavell Queen"/>

    </outfit>

    <outfit id="25" premium="yes">

    <list gender="1" lookType="1166" name="Naturia Keeper"/>

    <list gender="0" lookType="1177" name="Naturia Keeper"/>

    </outfit>

    <outfit id="26">

    <list gender="1" lookType="1167" name="Malefic Lord"/>

    <list gender="0" lookType="1176" name="Malefic Lady"/>

    </outfit>

    <outfit id="27">

    <list gender="1" lookType="1168" name="Volcanic Master"/>

    <list gender="0" lookType="1180" name="Volcanic Master"/>

    </outfit>

    <outfit id="28">

    <list gender="1" lookType="1169" name="Wingeon Dragon"/>

    <list gender="0" lookType="1175" name="Wingeon Dragon"/>

    </outfit>

    <outfit id="29">

    <list gender="1" lookType="1170" name="Orebound Hero"/>

    <list gender="0" lookType="1174" name="Orebound Hero"/>

    </outfit>

    <outfit id="30">

    <list gender="1" lookType="1171" name="Gardestrike Champion"/>

    <list gender="0" lookType="1173" name="Gardestrike Lady"/>

    </outfit>

     

    <outfit id="31">

    <list gender="1" lookType="1172" name="Psycraft Medium"/>

    <list gender="0" lookType="1181" name="Psycraft Medium"/>

    </outfit>

    <!-- GAMEMASTER -->

     

    <outfit id="32">

    <list gender="0-3" lookType="664" name="GameMaster"/>

    </outfit>

     

     

    <outfit id="33">

    <list gender="0-3" lookType="1411" name="Fagundes"/>

    </outfit>

     

    <!-- NATAL -->

     

    <outfit id="34">

    <list gender="0" lookType="661" name="Christmas"/>

    <list gender="1" lookType="662" name="Christmas"/>

    </outfit>

    <outfit id="35">

    <list gender="0" lookType="1084" name="Christmas 2"/>

    <list gender="1" lookType="1083" name="Christmas 2"/>

    </outfit>

     

    <!-- RELLOWEEN -->

     

    <outfit id="36">

    <list gender="0-3" lookType="1140" name="Mummy"/>

    </outfit>

    <outfit id="37">

    <list gender="0" lookType="1190" name="Bruxa"/>

    <list gender="1" lookType="1191" name="Dracula"/>

    </outfit>

    <outfit id="38">

    <list gender="0" lookType="1188" name="Caveira"/>

    <list gender="1" lookType="1189" name="Diaba"/>

    </outfit>

    </outfits>

     

    @Slicer

     

    Eu Nao Entendo Muito De Escripts

    So Intepleto, Vo Fuçando E Olhando Onde OQ Cada Coisa Fais

     

    Mais VLW Vo Tenta Aki. Qual Quer Coisa Eu Posto Aki =D

     

    ABRASS

  4. @Fagundes14

    Obrigado pela sua colaboração, poderia

     

    @Fagundes14

    otimo script mano ;p n testei ainda mas da pra ver q fico lgl... eu n tinha feito ele ainda pq n sei como funciona o sistema de dano q o brun123 invento hehe

     

    VLW Gente =D

    Eu Ainda Quero Criar A Magia Strafe

     

    Mais Nao Sei Nenhuma Storage Nem Nda Do Tipo Pra Por O Fisrt Do Poke Mais Rapido Por Alguns Segundos ;S

  5. Alguem Tem Ideia De Como Eu Faço Uma Spell Que Almenta A Velocidade Do First? (Velocidade Em Que Poke Bate Na Mao)

    Quero Fazer A Magia Strafe

    Ja Tentei De Tudo ;S

    DO REP +

     

    -------------------------------- / MUDANDO DE ASSUNTO

     

    A Gente Eu Consegui Fazer A Magia Passiva DRAGON FURY

    OBS: Ela So Funciona Nos Pokes De Players N Fis A Dos Selvagens AInda Nao

     

    Ta Ae Pra Quem Quiser =D

     

    Va Na Pasta Do Seu OT/Data/Creaturescripts/Scripts/ No Arquivo EXP.LUA E ADD No Final Do Script

    Ae Ali No DracoFury O Nome Do XML Do Pokemon Que VC Por Vai Ter O Passive

     

    -------- /PASS DRAGON

    local DracoFury = {"Gyarados", "Shiny Gyarados", "Dratini", "Shiny Dratini", "Dragonair", "Dragonite", "Shiny Fearow"}

    if isSummon(cid) then

    local e = getCreatureMaster(cid)

    local name = getItemAttribute(getPlayerSlotItem(e, 8).uid, "poke")

    if isInArray(DracoFury, name) then

    if math.random(1, 100) <= 4 then --Chance 4 = 4% Acho, Mais Fica A Sua Escolha

    if getPlayerStorageValue(cid, 32623) == 1 then

    return false

    end

    local function effect(params)

    if isCreature(params.cid) then

    doSendMagicEffect(getThingPos(params.cid), 12)

    end

    end

    setPlayerStorageValue(cid, 32623, 1)

    local function doReduceOffenseDefense(cid, qnt)

    if not isCreature(cid) then return true end

    local a = getDefense(cid)

    local A = getOffense(cid)

    setPlayerStorageValue(cid, 1002, a - qnt)

    setPlayerStorageValue(cid, 1001, A - qnt)

    end

     

    local function doDoubleOffenseDefense(cid)

    if not isCreature(cid) then return true end

    local a = getDefense(cid)

    local A = getOffense(cid)

    setPlayerStorageValue(cid, 1002, a * 2)

    setPlayerStorageValue(cid, 1001, A * 1.5)

    local b = getDefense(cid)

    local c = b - a

    local B = getOffense(cid)

    local C = B - A

    addEvent(doReduceOffenseDefense, 15 * 1500 + 40, cid, c)

    addEvent(doReduceOffenseDefense, 15 * 1500 + 40, cid, C)

    end

    setPlayerStorageValue(cid, 32623, 0)

    doDoubleOffenseDefense(cid)

    for times = 0, 15 do

    addEvent(effect, 1500 * times + 40, {cid = cid})

    end

    setPlayerStorageValue(cid, 32623, 1)

    end

    end

    end

    -- /END ---

  6. @TOPIC

     

    Eu Estava Mudando As Cores Dos Danos (FIREDAMAGE = LARANJA, NORMALDAMAGE = VERMELHO SANGUE).

    Ai Eu Editei Eles No " Exp.LUA " (Creaturescripts)

    E Tambem " 000-constant.LUA " (LIB)

     

    Ate Abri O EXECUTAVEL Do OT Com O Hex Editor Pra Ve C Achava Algo

     

    Porem Somente Os Danos Dos Pokemons Pokemons Selvagens Tiveram Essa Alteraçao ;S

     

    Alguem Pode Me Ajudar?

     

    ABRASS

  7. @Fagundes14

    sorry cafundi...

    troca toda aquela parte do hitmonchan por essa...

     

    -------------------------------------------Passiva Hitmonchan-------------------------------------

    local hitmonchans = {

    ["Hitmonchan"] = {

    [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal

    [1] = {out = 1075, eff = 35, type = FIREDAMAGE}, --outfit fogo

    [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE}, --outfit raio

    [3] = {out = 1078, eff = 43, type = ICEDAMAGE}, --outfit gelo

    [4] = {out = 1076, eff = 140, type = GHOSTDAMAGE} --outfit ghost

    },

     

    ["Shiny Hitmonchan"] = {

    --aconcelho trocar a outfit do shiny hitmonchan pela do elite hitmonchan do PO...

    [0] = {out = 837, eff = 112, type = FIGHTINGDAMAGE}, --outfit normal

    [1] = {out = 1080, eff = 35, type = FIREDAMAGE}, --outfit fogo

    [2] = {out = 1081, eff = 48, type = ELECTRICDAMAGE}, --outfit raio

    [3] = {out = 1082, eff = 43, type = ICEDAMAGE}, --outfit gelo

    [4] = {out = 1079, eff = 140, type = GHOSTDAMAGE} --outfit ghost

    }

    }

    local monchanOUT = {837, 1080, 1081, 1082, 1079}

     

    if isSummon(cid) then

    local e = getCreatureMaster(cid)

    local name = getItemAttribute(getPlayerSlotItem(e, 8).uid, "poke")

    if name == "Shiny Hitmonchan" or name == "Hitmonchan" then

    if isCreature(getCreatureTarget(getCreatureMaster(cid))) then

    if math.random(1, 100) <= 20 then -- Porcentagem de chance pro poke usar a passiva... 10 = 10% +/-

     

    if isSleeping(cid) then return true end

     

    if getDistanceBetween(getThingPos(cid), getThingPos(getMasterTarget(cid))) > 1 then

    return false

    end

    if getItemAttribute(getPlayerSlotItem(e, 8).uid, "poke") == "Shiny Hitmonchan" and not isInArray(monchanOUT, getCreatureOutfit(cid).lookType) then

    return false --proteçao pro script n funcionar com o shiny monchan com outfit diferente da do elite...

    end --script soh funciona com outfit do elite hirmonchan do PO...

     

     

    local min = getWildPokemonLevel(cid)*15 --nao sei como funciona o sistema de dano...

    local max = getWildPokemonLevel(cid)*20 --nao sei como funciona o sistema de dano...

     

    local hands = getItemAttribute(getPlayerSlotItem(e, 8).uid, "hands")

     

     

    doSendDistanceShoot(getThingPos(cid), getThingPos(getMasterTarget(cid)), 39)

    doTargetCombatHealth(cid, getMasterTarget(cid), hitmonchans[name][hands].type, -min, -max, 255)

     

     

    local target = getThingPos(getMasterTarget(cid))

    target.x = target.x + 1

     

    if hands == 4 then

    doSendMagicEffect(target, hitmonchans[name][hands].eff)

    else

    doSendMagicEffect(getThingPos(getMasterTarget(cid)), hitmonchans[name][hands].eff)

    end

     

    end

    end

    end

    end

     

    Eu Ja Tinha Percebido Q Estava Trocado Ae Fis Assim

     

     

     

    doSendDistanceShoot(getThingPos(cid), getThingPos(getMasterTarget(cid)), 39)

    if hands == 4 then

    doTargetCombatHealth(cid, getMasterTarget(cid), hitmonchans[name][hands].type, -min, -max, 255)

    local pos = getThingPos(getMasterTarget(cid))

    pos.x = pos.x + 1

    doSendMagicEffect(pos, 140)

    else

    doTargetCombatHealth(cid, getMasterTarget(cid), hitmonchans[name][hands].type, -min, -max, hitmonchans[name][hands].eff)

    end

     

     

     

    Vlw Mesmo Assim =D

     

    To Sem REP + Amanha Te Do

     

    ABRASS

  8. @Fagundes14

    eu n testei mas tenta algu assim...

    vai no exp.lua e acha essa parte...

    doSendDistanceShoot(getThingPos(cid), getThingPos(getMasterTarget(cid)), 39)

    e troca por isso...

    local target = getThingPos(getMasterTarget(cid))
    target.x+1
    
    if hands == 4 then
    doSendDistanceShoot(getThingPos(cid), target, 39)
    else
    doSendDistanceShoot(getThingPos(cid), getThingPos(getMasterTarget(cid)), 39)
    end
    

     

    O Escript Funciono, Porem Quem Ta X + 1 E O Distance E Nao O Efeito ;S

  9. @Slicer

     

    Eu Estava tentando Corrigir O Efeito Do Shadow Punch Do Passivo Do Hitmonchan Q E Torto Entao Eu Puis Ele Pra POS X + 1

    Mas Nao Esta Funcionando ;S

     

    Se Puder Ajudar

     

    local XPos = pos

    XPos.x = XPos.x + 1

     

    local hitmonchans = {

    ["Hitmonchan"] = {

    [0] = {out = 559, eff = 112, type = FIGHTINGDAMAGE}, --/OUT Normal

    [1] = {out = 1075, eff = 35, type = FIREDAMAGE}, --/OUT Fogo

    [2] = {out = 1077, eff = 48, type = ELECTRICDAMAGE}, --/OUT Raio

    [3] = {out = 1078, eff = 43, type = ICEDAMAGE}, --/OUT Gelo

    [4] = {out = 1076, eff(XPos, 140), type = GHOSTDAMAGE} --/OUT Ghost

    },

     

    ["SHitmonchan"] = {

    [0] = {out = 837, eff = 112, type = FIGHTINGDAMAGE}, --/OUT Normal

    [1] = {out = 1080, eff = 35, type = FIREDAMAGE}, --/OUT Fogo

    [2] = {out = 1081, eff = 48, type = ELECTRICDAMAGE}, --/OUT Raio

    [3] = {out = 1082, eff = 43, type = ICEDAMAGE}, --/OUT Gelo

    [4] = {out = 1079, eff(XPos, 140), type = GHOSTDAMAGE} --/OUT Ghost

    }

    }

     

    Alguem Sbe Pq Algumas Sprites Dao Leg?

     

    ABRASS

  10. @Slicer

     

    O Passive Do Hitmonchan Fico Show REP +

     

    Porem Ele Nao Esta Tirando Dano Dos Pokemons, O Atak Sai Mais Nao Tira Life ;S

    E Nao Esta Dando Nenhum ERRO No Console

     

    @ ALL pode tirar uma duvida minha..? ja fiz tds os johtos portrait corpse etc.. mais qando eu do catch em um deles naum consigo usar os ataqes m1..m2...... aparece o nome "m1..." mais ele naum usa o poder mais qando ele ée selvagem ele usa de boua :x algen poderia mim explicar por favor?

     

    @Slicer jáa te dei teu REP+ amanhã darei o outro como prometido..!

     

    Qual Erro Esta Dando No Console?

  11. Ei Amigo O Look Tipo Pra Add No Rollout Tem Q Ser Assim

    Vc Pega O Look Tipe Dele No Data EDT Subitrai Por 351

     

    EX:

     

    local hitmontop = {lookType = 1193} = Look Tipe 1193 - 351 = 832

     

    Ae Vc Poe Assim

     

    local hitmontop = {lookType = 832}

     

    Aki Do Mesmo Geito

     

    if getCreatureOutfit(cid).lookType == 952 then

    doSetCreatureOutfit(cid, hitmontop, -1)

     

    952 - 351 = 601

     

    Ficando

     

    if getCreatureOutfit(cid).lookType == 601 then

    doSetCreatureOutfit(cid, hitmontop, -1)

     

    ABRASS

  12. @lastdemon

     

    Nossa Cara Rep+ Pra Vc Tem Muito Tempo Que Eu Estou Tentado Modificar Isto =D

     

    @ALL

     

    Entao Gente Eu Fis Algumas Modificaçoes Nas Potions E Fico Bem Legal Elas Ficarao Igual O PXG

    Quando Vc Usa Ela Em Algum Pokemon Seu =D

     

    Se Quiserem e So Falar Que Eu Posto Pra Vcs

     

    ABRASS

  13. @Cabritenho, aqui ta indo, ele att a lista pokemons o.O

    if doCreatureExecuteTalkAction(cid, "/pokeread") then
    end
    

     

    @Brun123, tem como tirar os nomes em branco que mostram embaixo na source??

    Ficar aparecendo pra player fica meio incomodativo qdo fica muito tempo jogando

     

    Onde Vc Adicionol Esta Funaçao?

  14. @otal2012

     

     

     

    @Fagundes14

    ver se esse resolver

    vai em

    data\talkactions\scripts\cdbar.lua

    local function ChangeBalls(cid, param, cancelequal)
    local balls = getPlayerPokeballs(cid)
    for a = 1, #balls do
     local item = balls[a]
     local name = getItemAttribute(item.uid, "poke") .. getItemAttribute(item.uid, "ballorder")
     if name == param then
      if cancelequal and item.uid == getPlayerSlotItem(cid, 8).uid then return true end
      doChangeBalls(cid, getPlayerSlotItem(cid, 8), item)
      return 0
     end
    end
    end
    function onSay(cid, words, param)
    if not useKpdoDlls then return true end
    if words == "!code64" then
    return 0
    end
    if words == "/pokeread" then
     if #getCreatureSummons(cid) >= 1 then
      local pokemon = getCreatureSummons(cid)[1]
      local pokelife = (getCreatureHealth(pokemon) / getCreatureMaxHealth(pokemon))
      doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "hp", pokelife)
     end
     doUpdatePokemonsBar(cid)
    end
    if words == "/goaction" then
     if param == "null" then return 0 end
     if exhaustion.get(cid, 9999) and exhaustion.get(cid, 9999) > 0 then return true end
     if #getCreatureSummons(cid) >= 1 then
      addEvent(doReturnPokemon, 100, cid, getCreatureSummons(cid)[1], false, pokeballs[getPokeballType(getPlayerSlotItem(cid, 8).itemid)].effect)
      if param ~= getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") .. getItemAttribute(getPlayerSlotItem(cid, 8).uid, "ballorder") then
    addEvent(ChangeBalls, 1200, cid, param, true)
      end
     else
      addEvent(ChangeBalls, 100, cid, param)
     end
     exhaustion.set(cid, 9999, 2)
    return 0
    end
    return 0
    end
    

     

     

    Funcionol Perfeitamente, =D REP ++ Pra Vc

    Brigadao

     

    ABRASS

  • Quem Está Navegando   0 membros estão online

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