Ir para conteúdo

suarez23

Campones
  • Total de itens

    80
  • Registro em

  • Última visita

Tudo que suarez23 postou

  1. local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1, #p do if getItemAttribute(p[a], cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!") return true end end end function onSay(cid, words, param, channel) if param ~= "" then return true end if string.len(words) > 3 then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end if getCreatureCondition(getCreatureSummons(cid)[1], CONDITION_INVISIBLE) and not isGhostPokemon(getCreatureSummons(cid)[1]) then return 0 end local mypoke = getCreatureSummons(cid)[1] if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end if getCreatureName(mypoke) == "Evolution" then return true end local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke) local it = string.sub(words, 2, 3) local move = movestable[name].move1 local cdzin = "move"..it.."" if it == "2" then move = movestable[name].move2 elseif it == "3" then move = movestable[name].move3 elseif it == "4" then move = movestable[name].move4 elseif it == "5" then move = movestable[name].move5 elseif it == "6" then move = movestable[name].move6 elseif it == "7" then move = movestable[name].move7 elseif it == "8" then move = movestable[name].move8 elseif it == "9" then move = movestable[name].move9 elseif it == "10" then move = movestable[name].move10 elseif it == "11" then move = movestable[name].move11 elseif it == "12" then move = movestable[name].move12 elseif it == "13" then move = movestable[name].move13 end if not move then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end if false and getLevel(mypoke) < move.level then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't have enough level to use this move.") return 0 end if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use this move again.") return 0 end if getTileInfo(getThingPos(mypoke)).protection then doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.") return 0 end if move.target == 1 then if not isCreature(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.") return 0 end if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then return 0 end if getCreatureHealth(getCreatureTarget(cid)) <= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.") return 0 end if not isCreature(getCreatureSummons(cid)[1]) then return true end if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.") return 0 end if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then return 0 end end doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY) local newid = 0 if isSleeping(mypoke) then newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, 8) doCreatureSay(mypoke, "zZzZ", TALKTYPE_MONSTER) return 0 else newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd) end if move.name ~= "Metronome" then doCreatureSay(mypoke, ""..string.upper(move.name).."!", TALKTYPE_MONSTER) end addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin) docastspell(mypoke, move.name) doCreatureAddCondition(cid, playerexhaust) if useKpdoDlls then doUpdateCooldowns(cid) end return 0 end pega leke xD vas a configuration.lua y busacas en shiny portrait y ay lo cambias xD
  2. tan todos mal los de configuration.lua tonses
  3. ["Shiny Bulbasaur"] = 11989, creo q es ese espero q te sirva xD
  4. nelson do qual shiny presisa portrait vc?
  5. ja fiz oq vc falo dos 151 shiny + ainda n entendo pq lado do poke fala ej shiny venusaur (88) e tmb quiero trokar o coor de ele posso?
  6. men eu taba tentando fazer shiny tmb com poke dash fiz tudo certo + qnd mando /m shiny venusaur apararese um scyther fazendo passive com name do shiny venu e dex de ele mato ele e e um troll Oo usei seu link pra fazer e nda =/
  7. mmm to tentando tudo pra fazer 1 shiny + n posso eu pegei [340] = {x = { pok = 'shiny venusaur', spell = "Quick Attack", minLv = 100, ex = 4999992, base1 = 450, base2 = 460, dista = 1, bonus = 7, type = "normal", cd = 4 n M1 + qnd vo server apreto m1 e solo fala + n faz nda
  8. como eu posso saver o EX do shiny venu ej [5] = {x = { pok = pidgeotto, spell = "Quick Attack", minLv = 20, ex = 1700001, <<<<<---- como posso saver ele pra 1 shiny venu base1 = 100, base2 = 101, dista = 1, bonus = 2.5, type = "normal", cd = 10 plx s responde +5 rep xD ta rukia nem vi =/
  9. <?xml version="1.0" encoding="UTF-8"?> <npc name="Mark" script="default.lua" walkinterval="350000" floorchange="0" speed="0"> <health now="150" max="150"/> <look type="255" head="91" body="114" legs="86" feet="0"/> <parameters> <parameter key="message_greet" value="Hello dear customer! Are you here to see my offers? Come on, lets {trade}!"/> <parameter key="message_farewell" value="Good bye!"/> <parameter key="message_idletimeout" value="Good bye!"/> <parameter key="message_walkaway" value="Good bye!"/> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value="pokeball,2394,550;super ball,2393,770;great ball,2391,660;ultraball,2392,11000;potion,12346,400;super potion,12347,1500;ultra potion,12345,8000;"/> <parameter key="shop_sellable" value="nail,12157,1250;future orb,12194,2000;pot of lava,12152,2250;essence of fire,12162,200;sandbag,12177,950;stone orb,12196,2050;small stone,12337,90;pot of moss bug,12171,250;electric box,12176,1300;screw,12164,85;imam,12198,900;bug antenna,12184,1600;straw,10604,65;water gems,12161,20;remains of magikarp,12334,100;water pendant,12170,800;bird beak,12172,1300;feather,12200,500;pair of leaves,12155,500;bag of polem,12153,1000;bitten apple,12173,450;rat tail,12174,1300;bat wing,12182,550;garrafa veneno,12165,40;gosme,12202,2000;"/> </parameters> </npc> tenta com ese xD abrass
  10. AJUDA PLX COMO EU POSSO CORREGIR ERROR DO VENU E SHINY VENU +5 REP QUEM ME AJUDE XD
  11. n tenho 2 venu men so q lee o shiny venusaur como venu normal
  12. <monster name="Shiny Venusaur" file="pokes/Shiny Venusaur.xml"/> eu escribi isso + da error [Warning - Monsters::loadMonster] Duplicate registered monster with name: Venusaur fala isso n sei oq fazer ajuda e do +5 rep xD
  13. eu fiz tudo + qnd eu do /m shiny venusaur aparese um scyther tirando passive xd olha oq ta acontecendo [22/01/2012 14:04:10] [Warning - Monsters::loadMonster] Duplicate registered monster with name: Venusaur [22/01/2012 14:04:10] >> Loading mods...
  14. eu fiz tudo certinho pra colokar um shiny + cuando eu do /m shiny venusaur nem aparese ele =/
  15. s pq o name ta charizard_s e em rme ta charizard s Sem _
  16. [21/01/2012 23:55:31] [spawn::addMonster] Cannot find "Charizard s" onde e essa coisa?
  17. e em dash to mandando /m shiny .... + n ta aparesendo nda =/
  18. 1 preg eu tenho um ot q n tem ah configurationlua tem como trocar e pom cd nos shiny sem configuration.lua?
  19. paulo pode me ajudar tento cria char e fala sempre ---> 18:14 Account Manager: That name seems to contain invalid symbols, please choose another name.
  20. vlw concegui logar + agr tenho 1 problem pra cria character sempre fala ---> 18:14 Account Manager: That name seems to contain invalid symbols, please choose another name.
  21. vlw concegui logar + agr tenho 1 problem pra cria character sempre fala ---> 18:14 Account Manager: That name seems to contain invalid symbols, please choose another name.
  22. contesta porfavor n posso entrar n pokedash qnd eu vo n account 1/1 e tento entrar em account manager me da bug e me tira do jogo pq?
  • Quem Está Navegando   0 membros estão online

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