-
Total de itens
141 -
Registro em
-
Última visita
Tudo que AWeskers postou
-
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Alguem ae tem o script de pokemon por teleport ? igual do PokemonBR ? tipo o que o cara falo ali em cima, que entrando no Teleport recebe o pokemon inicial ? REP++ ae Vlws. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Alguem ae tem algum link de tutorial de como fazer com que a DLL de outro server funcione no PDA ? tipo a MoveBar do PAdventures ? mais só com a MoveBar, sem a PokemonBar ? Se tiver o link ae ja do teu REP++ ^^ -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
@AsMinaPira: vlws ae tbm tava presisando saber como editar o lv min e max, seu primeiro REP+ ae ^^ -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Galéra alguem tem o script da EvoItem igual do KpDo ? tipo que dando use no item o poke se estiver no level cérto evolua sem presisar passar +1 level ? REP++ ae. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Alguem tem o script de duel com janela de opções ? igual a do KpDo que apareçe uma janela escolhendo a quantidade de pokes que seram utilizados na batalha ? Vlws ae. -
@Pation: Já foi anotado seu pedido de tipo de pagamento. Servidor só sairá em setembro mesmo, queremos que fique o máximo possível livre de erros e também estamos adicionando novas areas e quests exclusivas no game. Entre outras estou com uma duvida sobre a opinião de você. Preferem os portraits atual do PDA ou preferem o antigo do estilo KpDo ? Sugestões seram muito bem vindas, após o servidor estiver online no Website terá uma pagina de sugestões que eu verei todos os dias para melhorar a qualidade do SPC Game.
-
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
@Kurobisu edita seu post ae, coloca um spoiler direito, isso ta ocupando quase a téla toda -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
@shadow2012: tenho o sistema de addon pros pokes não, mais acho que se vc p rocurar deve ter aqui no Xtibia um explicando como add. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Ae galéra tive um problema com a spr que não póde passar de 65535 Sprites e queria saber se alguem sabe uma maneira de colocar 2 sprs no server. REP++. Vlws ae. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
@Kurobiso: Vlws ae, me deu uma idéia msm ^^, acho que consigo colocar 2 sprs, compilando as duas formando uma unica spr com o dobro de capacidaed, sei um jeito de fazer isso, Vlws ae ^^ @shadow2012: Esquenta com REP não, nen presisa dar, não ligo pra isso. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
@shadow2012: não tenho certeza mais verifica se o nome do script do NPC ta como "diamond". ja que o NPC em xml ta carregando o diamond.lua qualquer erro no nome póde causar em não carregar o arquivo.lua @StyloMaldoso ja exclui um monte de sprites sem uso mais nao passa de 65535 a capacidade maxima, talvez presise alterar a programação do arquivo, coisa que não sou programador. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Galéra to com um problema aqui na spr, pareçe que a capacidade maxima déla é 65535, só que presiso de mais espaço que isso. Alguem sabe como almenta a capacidade maxima déla ? se souber posta ae ou manda MSG. Vlws ae. -
@Brunnoo: Obrigado pelo comentário, equipe SPC estará fazendo a maior diversão possível aos jogadores.
-
Servidor SPC veio para inovar, não é um dos servidores que ficam um tempo online e depois fecha, a equipe deve estar ciente que passara sobre testes antes de serem recrutados. Servidor já contem muitas novidades, mas algumas fontes de ajuda ainda não foram preenchidas, a equipe está precisando de membros qualificados para certas partes do servidor. 1* Entre as novidades o servidor conta com uma média de 406 Pokemons Normais e 190 Shinys, todos teram respaws em partes adicionais no mapa. 2* Entre outras novidades podemos contar com a PokeTask, parecida com a do KpDo podendo ganhar dinheiro e exp apenas fazendo missões de "Task". 3* Também temos a Hyper Ball que será vendida no Shop Online, contendo sua média de 8x de catch, sendo o dobro da Ultra Ball com 4x. 4* Rare Candy com Boost System, será útil após a quantidade de Stones começar a ficar alta. 5* Vitaminas, são 4 vitaminas com suas devidas funções diferentes, as vitaminas são de: Offense Vitamin, Defense Vitamin, Special Attack Vitamin e Vitality Vitamin, elas aumentam as status do pokemon de sua devida função, será vendida no Shop Online. 6* Novas Cidades como Azalea, Cherrygrove e Blackthorn, contendo respaws ao seu redor. 7* PvP System, ao sair do PvP você retornara na mesma cidade em que entrou. 8* Bike System como First Items, começando junto aos itens. 9* Teleport Rune, este item é de extrema utilidade, caso fique preso em algum lugar pasta utiliza-lo que será teleportado para sua cidade natal, usado a cada 3 horas para evitar aproveitamento. 10* Changes Hometown: adicionado em todas as cidades "Free's" esse sistema é muito útil para se tornar morador da cidade apenas ao entrar no portal nos CP's. 11* Refrigerante: este item é utilizado para healar a vida do jogador, não do pokemon, ele heala a vida aos poucos e póde ser encontrado em qualquer mercado. 12* Car e Moto Systems, iguais a Bike System porem com mais velocidade, será vendidos no Shop Online. 13* Client Personalizado do servidor, trazendo melhor aparência e conforto para seu melhor bem estar no game. 14* Domínio de Website será "www.pokemonspc.com.br". 15* Frutas podem ser retiradas de arvores. 16* Promotion System, ganhando dos 8 lideres de ginasio você podera escolher uma vocation que te dara 20% a mais do elemento escolhido + 20% a mais de exp. 17* Website super personalizado, personalização completa. 18* Potions podem ser utilizadas mesmo em battle. 19* Stones compactas, podendo juntar até 100 stones sem ocupar mais de 1 espaço na bag. 20* Seram 6 Pokemons iniciais, podendo escolher apenas 1 entre os seguintes pokemons: Charmander, Squirtle, Bulbasaur, Chikorita, Totodile e Cyndaquil. 21* PvP System, como todos ja conhecem o PvP é uma area de troca e de pura War, ao sair do PvP retornara na mesma cidade em que entrou. 22* Promotion System: ganhando as 8 insigneas dos ginasios você poderá es colher uma nova vocação, tendo 20% a mais de habilidade com o elemento da vocation e 20% a mais de experiencia ganha. 23* Nick Name: igual KpDo, basta falar !nick name e seu pokemon ganha o apelido, Detalhe: apenas 1 vez por pokemon. 24* Barco System: bastando pagar 15 HDs, você poderá ir de barco entre Cinnabar e Vermilion e outras ilhas. 25* Saffari Zone: NPC te transporta para a Saffari Zone por 50 HDs lhe dando 30 Saffari Balls, somente élas poderam ser utilizadas na Saffari Zone. 26* Quests podem ser visualizadas pelo comando !quests, podendo visualizar as quests que já foram enão foram feitas. Ae está alguns dos novos pokemons e a visualização do mapa. ---------- Imagem Anexada ---------- Além desses ainda tem bastantes novidades que apenas entrando poderá conferir.
-
Galéra to com um problema ao adicionar novas coisas na spr. Sempre que passa de 65535 de sprites néla os novos itens adicionados começam a ocupar o espaço de outras sprites, me falaro que 65535 é a capacidade maxima da SPR. Queria saber se alguem sabe como aumentar a capacidade maxima déla, REP+ por 7 dias se alguem me falar ae. Vlws ae.
-
Você tem talento como desenhista garoto meus parabens ae ^^ Rep+ só pelo talento kkk
-
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Galéra eu criei algumas sprites próprias pro meu servidor, sprites de Hoenn, ao todo são 22 sprites próprias e presiso de um Compilador descente, um que seja melhor que o MoleBox pra poder colocar pelo menos uma segurança melhor pra éla, mesmo que seja algum compilador que não seja tão fórte, um que pelo menos proteja, sem ser o molebox que aqui em casa fica dando problema, qualquer coisa me add no msn ae: MSN: gustavo.gonssalles@hotmail.com -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Galéra to presisando da cooldown bar mais atualizada, todas que eu achei aqui tem o mesmo problema que é a que tem o Otal.dll de aproximadamente 124 kbs, se for possivel mandar um download de uma igual do PokeVicio que é de aproximadamente 294 kbs do Rep++ Sei que ja deve ter algum topico sobre isso mais nao consegui achar É isso então galéra -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Galéra to presisando da cooldown bar mais atualizada, todas que eu achei aqui tem o mesmo problema que é a que tem o Otal.dll de aproximadamente 124 kbs, se for possivel mandar um download de uma igual do PokeVicio que é de aproximadamente 296 kbs do Rep++ Sei que ja deve ter algum topico sobre isso mais nao consegui achar É isso então galéra -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Aqui o meu boost.lua em spoiler, se alguem conseguir saber como faço pra poder dar boost com as stones mesmo compactadas do Rep++ boost.lua ae -
Vo dar uma olhada no script pra ver se é isso mesmo Aqui é o boost.lua do meu server, to vendo o que você falou ainda mais se tiver mais coisa errada, dá uma olhada ae local ballslot = 12355 local ballslot_run = 12352 local stoneslot = 12354 local stoneslot_run = 12353 local button = 12356 local button_run = 12357 function isRunning(id) if isInArray({button_run, stoneslot_run, ballslot_run}, id) then return true end return false end boost_stones = { ["Bulbasaur"] = {leaf}, ["Ivysaur"] = {leaf}, ["Venusaur"] = {leaf}, ["Charmander"] = {fire}, ["Charmeleon"] = {fire}, ["Charizard"] = {fire}, ["Squirtle"] = {water}, ["Wartortle"] = {water}, ["Blastoise"] = {water}, ["Caterpie"] = {coccon}, ["Metapod"] = {coccon}, ["Butterfree"] = {coccon}, ["Weedle"] = {coccon}, ["Kakuna"] = {coccon}, ["Beedrill"] = {coccon}, ["Pidgey"] = {heart}, ["Pidgeotto"] = {heart}, ["Pidgeot"] = {heart}, ["Rattata"] = {heart}, ["Raticate"] = {heart}, ["Spearow"] = {heart}, ["Fearow"] = {heart}, ["Ekans"] = {venom}, ["Arbok"] = {venom}, ["Pikachu"] = {thunder}, ["Raichu"] = {thunder}, ["Sandshrew"] = {earth}, ["Sandslash"] = {earth}, ["Nidoran Female"] = {venom}, ["Nidorina"] = {venom}, ["Nidoqueen"] = {venom, earth}, ["Nidoran Male"] = {venom}, ["Nidorino"] = {venom}, ["Nidoking"] = {venom, earth}, ["Clefairy"] = {heart}, ["Clefable"] = {heart}, ["Vulpix"] = {fire}, ["Ninetales"] = {fire}, ["Jigglypuff"] = {heart}, ["Wigglytuff"] = {heart}, ["Zubat"] = {venom}, ["Golbat"] = {venom}, ["Oddish"] = {leaf, venom}, ["Gloom"] = {leaf, venom}, ["Vileplume"] = {leaf, venom}, ["Paras"] = {coccon, leaf}, ["Parasect"] = {coccon, leaf}, ["Venonat"] = {coccon, venom}, ["Venomoth"] = {coccon, venom}, ["Diglett"] = {earth}, ["Dugtrio"] = {earth}, ["Meowth"] = {heart}, ["Persian"] = {heart}, ["Psyduck"] = {water}, ["Golduck"] = {water, enigma}, ["Mankey"] = {punch}, ["Primeape"] = {punch}, ["Growlithe"] = {fire}, ["Arcanine"] = {fire}, ["Poliwag"] = {water}, ["Poliwhirl"] = {water}, ["Poliwrath"] = {water, punch}, ["Abra"] = {enigma}, ["Kadabra"] = {enigma}, ["Alakazam"] = {enigma}, ["Machop"] = {punch}, ["Machoke"] = {punch}, ["Machamp"] = {punch}, ["Bellsprout"] = {leaf, venom}, ["Weepinbell"] = {leaf, venom}, ["Victreebel"] = {leaf, venom}, ["Tentacool"] = {water, venom}, ["Tentacruel"] = {water, venom}, ["Geodude"] = {earth, rock}, ["Graveler"] = {earth, rock}, ["Golem"] = {earth, rock}, ["Ponyta"] = {fire}, ["Rapidash"] = {fire}, ["Slowpoke"] = {water, enigma}, ["Slowbro"] = {water, enigma}, ["Magnemite"] = {thunder, metal}, ["Magneton"] = {thunder, metal}, ["Farfetch'd"] = {heart}, ["Doduo"] = {heart}, ["Dodrio"] = {heart}, ["Seel"] = {water, ice}, ["Dewgong"] = {water, ice}, ["Grimer"] = {venom}, ["Muk"] = {venom}, ["Shellder"] = {water, ice}, ["Cloyster"] = {water, ice}, ["Gastly"] = {dark}, ["Haunter"] = {dark}, ["Gengar"] = {dark}, ["Onix"] = {rock, earth}, ["Drowzee"] = {enigma}, ["Hypno"] = {enigma}, ["Krabby"] = {water}, ["Kingler"] = {water}, ["Voltorb"] = {thunder}, ["Electrode"] = {thunder}, ["Exeggcute"] = {enigma, leaf}, ["Exeggutor"] = {enigma, leaf}, ["Cubone"] = {earth}, ["Marowak"] = {earth}, ["Hitmonlee"] = {punch}, ["Hitmonchan"] = {punch}, ["Lickitung"] = {heart}, ["Koffing"] = {venom}, ["Weezing"] = {venom}, ["Rhyhorn"] = {earth, rock}, ["Rhydon"] = {earth, rock}, ["Chansey"] = {heart}, ["Tangela"] = {leaf}, ["Kangaskhan"] = {heart}, ["Horsea"] = {water}, ["Seadra"] = {water}, ["Goldeen"] = {water}, ["Seaking"] = {water}, ["Staryu"] = {water}, ["Starmie"] = {water}, ["Mr. Mime"] = {enigma}, ["Scyther"] = {coccon}, ["Jynx"] = {enigma, ice}, ["Electabuzz"] = {thunder}, ["Magmar"] = {fire}, ["Pinsir"] = {coccon}, ["Tauros"] = {heart}, ["Magikarp"] = {water}, ["Gyarados"] = {water, crystal}, ["Lapras"] = {water, ice}, ["Ditto"] = {heart}, ["Eevee"] = {heart}, ["Vaporeon"] = {water}, ["Jolteon"] = {thunder}, ["Flareon"] = {fire}, ["Porygon"] = {heart, enigma}, ["Omanyte"] = {rock, water}, ["Omastar"] = {rock, water}, ["Kabuto"] = {rock, water}, ["Kabutops"] = {rock, water}, ["Aerodactyl"] = {rock}, ["Snorlax"] = {heart}, ["Articuno"] = {ice}, ["Zapdos"] = {thunder}, ["Moltres"] = {fire}, ["Dratini"] = {crystal}, ["Dragonair"] = {crystal}, ["Dragonite"] = {crystal}, ["Mewtwo"] = {enigma}, ["Mew"] = {enigma}, ["Shiny Bulbasaur"] = {leaf}, ["Shiny Ivysaur"] = {leaf}, ["Shiny Venusaur"] = {leaf}, ["Shiny Charmander"] = {fire}, ["Shiny Charmeleon"] = {fire}, ["Shiny Charizard"] = {fire}, ["Shiny Squirtle"] = {water}, ["Shiny Wartortle"] = {water}, ["Shiny Blastoise"] = {water}, ["Shiny Caterpie"] = {coccon}, ["Shiny Metapod"] = {coccon}, ["Shiny Butterfree"] = {coccon}, ["Shiny Weedle"] = {coccon}, ["Shiny Kakuna"] = {coccon}, ["Shiny Beedrill"] = {coccon}, ["Shiny Pidgey"] = {heart}, ["Shiny Pidgeotto"] = {heart}, ["Shiny Pidgeot"] = {heart}, ["Shiny Rattata"] = {heart}, ["Shiny Raticate"] = {heart}, ["Shiny Spearow"] = {heart}, ["Shiny Fearow"] = {heart}, ["Shiny Ekans"] = {venom}, ["Shiny Arbok"] = {venom}, ["Shiny Pikachu"] = {thunder}, ["Shiny Raichu"] = {thunder}, ["Shiny Sandshrew"] = {earth}, ["Shiny Sandslash"] = {earth}, ["Shiny Nidoran Female"] = {venom}, ["Shiny Nidorina"] = {venom}, ["Shiny Nidoqueen"] = {venom, earth}, ["Shiny Nidoran Male"] = {venom}, ["Shiny Nidorino"] = {venom}, ["Shiny Nidoking"] = {venom, earth}, ["Shiny Clefairy"] = {heart}, ["Shiny Clefable"] = {heart}, ["Shiny Vulpix"] = {fire}, ["Shiny Ninetales"] = {fire}, ["Shiny Jigglypuff"] = {heart}, ["Shiny Wigglytuff"] = {heart}, ["Shiny Zubat"] = {venom}, ["Shiny Golbat"] = {venom}, ["Shiny Oddish"] = {leaf, venom}, ["Shiny Gloom"] = {leaf, venom}, ["Shiny Vileplume"] = {leaf, venom}, ["Shiny Paras"] = {coccon, leaf}, ["Shiny Parasect"] = {coccon, leaf}, ["Shiny Venonat"] = {coccon, venom}, ["Shiny Venomoth"] = {coccon, venom}, ["Shiny Diglett"] = {earth}, ["Shiny Dugtrio"] = {earth}, ["Shiny Meowth"] = {heart}, ["Shiny Persian"] = {heart}, ["Shiny Psyduck"] = {water}, ["Shiny Golduck"] = {water, enigma}, ["Shiny Mankey"] = {punch}, ["Shiny Primeape"] = {punch}, ["Shiny Growlithe"] = {fire}, ["Shiny Arcanine"] = {fire}, ["Shiny Poliwag"] = {water}, ["Shiny Poliwhirl"] = {water}, ["Shiny Poliwrath"] = {water, punch}, ["Shiny Abra"] = {enigma}, ["Shiny Kadabra"] = {enigma}, ["Shiny Alakazam"] = {enigma}, ["Shiny Machop"] = {punch}, ["Shiny Machoke"] = {punch}, ["Shiny Machamp"] = {punch}, ["Shiny Bellsprout"] = {leaf, venom}, ["Shiny Weepinbell"] = {leaf, venom}, ["Shiny Victreebel"] = {leaf, venom}, ["Shiny Tentacool"] = {water, venom}, ["Shiny Tentacruel"] = {water, venom}, ["Shiny Geodude"] = {earth, rock}, ["Shiny Graveler"] = {earth, rock}, ["Shiny Golem"] = {earth, rock}, ["Shiny Ponyta"] = {fire}, ["Shiny Rapidash"] = {fire}, ["Shiny Slowpoke"] = {water, enigma}, ["Shiny Slowbro"] = {water, enigma}, ["Shiny Magnemite"] = {thunder, metal}, ["Shiny Magneton"] = {thunder, metal}, ["Shiny Farfetch'd"] = {heart}, ["Shiny Doduo"] = {heart}, ["Shiny Dodrio"] = {heart}, ["Shiny Seel"] = {water, ice}, ["Shiny Dewgong"] = {water, ice}, ["Shiny Grimer"] = {venom}, ["Shiny Muk"] = {venom}, ["Shiny Shellder"] = {water, ice}, ["Shiny Cloyster"] = {water, ice}, ["Shiny Gastly"] = {dark}, ["Shiny Haunter"] = {dark}, ["Shiny Gengar"] = {dark}, ["Shiny Onix"] = {rock, earth}, ["Shiny Drowzee"] = {enigma}, ["Shiny Hypno"] = {enigma}, ["Shiny Krabby"] = {water}, ["Shiny Kingler"] = {water}, ["Shiny Voltorb"] = {thunder}, ["Shiny Electrode"] = {thunder}, ["Shiny Exeggcute"] = {enigma, leaf}, ["Shiny Exeggutor"] = {enigma, leaf}, ["Shiny Cubone"] = {earth}, ["Shiny Marowak"] = {earth}, ["Shiny Hitmonlee"] = {punch}, ["Shiny Hitmonchan"] = {punch}, ["Shiny Lickitung"] = {heart}, ["Shiny Koffing"] = {venom}, ["Shiny Weezing"] = {venom}, ["Shiny Rhyhorn"] = {earth, rock}, ["Shiny Rhydon"] = {earth, rock}, ["Shiny Chansey"] = {heart}, ["Shiny Tangela"] = {leaf}, ["Shiny Kangaskhan"] = {heart}, ["Shiny Horsea"] = {water}, ["Shiny Seadra"] = {water}, ["Shiny Goldeen"] = {water}, ["Shiny Seaking"] = {water}, ["Shiny Staryu"] = {water}, ["Shiny Starmie"] = {water}, ["Shiny Mr. Mime"] = {enigma}, ["Shiny Scyther"] = {coccon}, ["Shiny Jynx"] = {enigma, ice}, ["Shiny Electabuzz"] = {thunder}, ["Shiny Magmar"] = {fire}, ["Shiny Pinsir"] = {coccon}, ["Shiny Tauros"] = {heart}, ["Shiny Magikarp"] = {water}, ["Shiny Gyarados"] = {water, crystal}, ["Shiny Lapras"] = {water, ice}, ["Shiny Ditto"] = {heart}, ["Shiny Eevee"] = {heart}, ["Shiny Vaporeon"] = {water}, ["Shiny Jolteon"] = {thunder}, ["Shiny Flareon"] = {fire}, ["Shiny Porygon"] = {heart, enigma}, ["Shiny Omanyte"] = {rock, water}, ["Shiny Omastar"] = {rock, water}, ["Shiny Kabuto"] = {rock, water}, ["Shiny Kabutops"] = {rock, water}, ["Shiny Aerodactyl"] = {rock}, ["Shiny Snorlax"] = {heart}, ["Shiny Dratini"] = {crystal}, ["Shiny Dragonair"] = {crystal}, ["Shiny Dragonite"] = {crystal}, ["Chikorita"] = {leaf}, ["Bayleef"] = {leaf}, ["Meganium"] = {leaf}, ["Cyndaquil"] = {fire}, ["Quilava"] = {fire}, ["Typhlosion"] = {fire}, ["Totodile"] = {water}, ["Croconaw"] = {water}, ["Feraligatr"] = {water}, ["Aipom"] = {heart}, ["Ampharos"] = {thunder}, ["Ariados"] = {coccon, venom}, ["Azumarill"] = {water}, ["Bellossom"] = {leaf}, ["Blissey"] = {heart}, ["Celebi"] = {leaf, enigma}, ["Chinchou"] = {water, thunder}, ["Cleffa"] = {heart}, ["Corsola"] = {water}, ["Crobat"] = {venom, heart}, ["Delibird"] = {heart, ice}, ["Donphan"] = {heart, earth}, ["Dunsparce"] = {heart}, ["Elekid"] = {thunder}, ["Entei"] = {fire}, ["Espeon"] = {enigma}, ["Flaaffy"] = {thunder}, ["Forretress"] = {coccon}, ["Furret"] = {heart}, ["Girafarig"] = {enigma}, ["Gligar"] = {venom}, ["Granbull"] = {heart, venom}, ["Heracross"] = {coccon}, ["Hitmontop"] = {punch}, ["Ho-oh"] = {fire}, ["Hoothoot"] = {heart}, ["Hoppip"] = {leaf}, ["Houndoom"] = {fire}, ["Houndour"] = {fire}, ["Igglybuff"] = {heart}, ["Jumpluff"] = {leaf}, ["Kingdra"] = {water}, ["Lanturn"] = {water, thunder}, ["Larvitar"] = {earth}, ["Ledian"] = {coccon}, ["Ledyba"] = {coccon}, ["Lugia"] = {water, enigma}, ["Magby"] = {fire}, ["Magcargo"] = {fire}, ["Mantine"] = {water}, ["Mareep"] = {thunder}, ["Marill"] = {water}, ["Miltank"] = {heart}, ["Misdreavus"] = {dark}, ["Murkrow"] = {dark}, ["Natu"] = {heart, enigma}, ["Noctowl"] = {heart, enigma}, ["Octillery"] = {water}, ["Phanpy"] = {heart, earth}, ["Pichu"] = {thunder}, ["Piloswine"] = {ice}, ["Pineco"] = {coccon}, ["Politoed"] = {water}, ["Porygon2"] = {enigma}, ["Pupitar"] = {earth}, ["Quagsire"] = {water, earth}, ["Qwilfish"] = {water}, ["Raikou"] = {thunder}, ["Remoraid"] = {water}, ["Scizor"] = {coccon}, ["Sentret"] = {heart}, ["Shuckle"] = {earth}, ["Skarmory"] = {heart}, ["Skiploom"] = {leaf}, ["Slowking"] = {enigma, water}, ["Slugma"] = {fire}, ["Smeargle"] = {heart}, ["Smoochum"] = {ice}, ["Sneasel"] = {ice, dark}, ["Snubbull"] = {ice}, ["Spinarak"] = {coccon}, ["Stantler"] = {heart}, ["Steelix"] = {rock}, ["Sudowoodo"] = {rock}, ["Suicune"] = {water}, ["Sunflora"] = {leaf}, ["Sunkern"] = {leaf}, ["Swinub"] = {ice}, ["Teddiursa"] = {heart}, ["Togepi"] = {heart}, ["Togetic"] = {heart}, ["Tyranitar"] = {earth}, ["Tyrogue"] = {punch}, ["Umbreon"] = {dark}, ["Unown"] = {enigma}, ["Ursaring"] = {heart}, ["Wobbuffet"] = {enigma}, ["Wooper"] = {enigma}, ["Xatu"] = {heart, enigma}, ["Aaron"] = {rock}, ["Aggron"] = {rock}, ["Ambipom"] = {heart}, ["Bagon"] = {crystal}, ["Baltoy"] = {earth, enigma}, ["Bannete"] = {dark}, ["Beldum"] = {rock}, ["Blaziken"] = {fire}, ["Buizel"] = {water}, ["Buterfly"] = {coccon}, ["Cacnea"] = {leaf, venom}, ["Carvanha"] = {water}, ["Cascoon"] = {coccon}, ["Castform"] = {heart}, ["Castform ICE"] = {ice}, ["Castform FIRE"] = {fire}, ["Castform WATER"] = {water}, ["Chimecho"] = {enigma}, ["Clamperl"] = {water}, ["Combusken"] = {fire}, ["Corphish"] = {water}, ["Crawdaunt"] = {water}, ["Dark Abra"] = {enigma}, ["Demoniac Gengar"] = {dark}, ["Demoniac Tentacruel"] = {water, venom}, ["Dialga"] = {enigma}, ["Dusclops"] = {dark}, ["Duskull"] = {dark}, ["Dustox"] = {coccon}, ["Electivire"] = {thunder}, ["Electrike"] = {thunder}, ["Elite Farfetch'd"] = {heart}, ["Elite Hitmonchan"] = {punch}, ["Elite Hitmonlee"] = {punch}, ["Feebas"] = {water}, ["Giant Snorlax"] = {heart}, ["Giratina"] = {dark}, ["Jirachi"] = {enigma}, ["Kecleon"] = {heart}, ["Lairon"] = {rock}, ["Lileep"] = {earth}, ["Lombre"] = {water}, ["Lotad"] = {water}, ["Lucario"] = {punch}, ["Luvdisc"] = {water}, ["Magmortar"] = {fire}, ["Magnezone"] = {thunder}, ["Makuhita"] = {punch}, ["Milotic"] = {water, enigma}, ["Mime Jr"] = {enigma}, ["Mudkip"] = {water}, ["Nincada"] = {coccon}, ["Ninjask"] = {coccon}, ["Nosepass"] = {rock}, ["Palkia"] = {water}, ["Plusle"] = {thunder}, ["Primal Dialga"] = {enigma}, ["Rayquaza"] = {crystal}, ["Roselia"] = {leaf}, ["Roserade"] = {leaf}, ["Shedinja"] = {coccon}, ["Shelgon"] = {crystal}, ["Shiny Celebi"] = {enigma, leaf}, ["Swablu"] = {heart, water}, ["Torchic"] = {fire}, ["Treecko"] = {leaf}, ["Weoville"] = {dark, ice}, ["Wurmple"] = {coccon}, ["Shiny Articuno"] = {ice}, ["Shiny Zapdos"] = {thunder}, ["Shiny Moltres"] = {fire}, ["Shiny Mewtwo"] = {enigma}, ["Shiny Mew"] = {enigma}, ["Darkrai"] = {dark}, ["Mismagius"] = {dark}, ["Torkoal"] = {fire}, ["Nuzleaf"] = {leaf}, ["Poochyena"] = {dark}, ["Glaceon"] = {ice}, ["Leafeon"] = {leaf}, ["Groudon"] = {fire}, ["Kyogre"] = {water}, ["Shiny Magmortar"] = {fire}, ["Shiny Electivire"] = {thunder}, ["Shiny Scizor"] = {coccon}, ["Shiny Steelix"] = {rock}, ["Wailord"] = {water}, ["Dusknoir"] = {dark}, ["Salamence"] = {crystal}, ["Empoleon"] = {water}, ["Prinplup"] = {water}, ["Piplup"] = {water}, ["Torterra"] = {leaf}, ["Grotle"] = {leaf}, ["Turtwig"] = {leaf}, ["Tangrowth"] = {leaf}, ["Budew"] = {leaf}, ["Shuppet"] = {dark}, ["Riolu"] = {punch}, ["Yanma"] = {coccon, heart}} function doRestoreBoostMachine(cid, b_pos, p_pos, s_pos, msg, msg2) doSendAnimatedText(b_pos, "DONE.", 215) if isCreature(cid) then doCreatureSetNoMove(cid, false) doPlayerSendTextMessage(cid, 27, msg) doPlayerSendTextMessage(cid, 27, msg2) end local ball_s = getTileItemById(p_pos, ballslot_run) doTransformItem(ball_s.uid, ballslot) local stne_s = getTileItemById(s_pos, stoneslot_run) doTransformItem(stne_s.uid, stoneslot) local butn_s = getTileItemById(b_pos, button_run) doTransformItem(butn_s.uid, button) end local stones_required = { -- custo base de stones para boostar [heart] = 3, [leaf] = 3, [water] = 3, [venom] = 3, [thunder] = 3, [rock] = 3, [punch] = 3, [fire] = 3, [coccon] = 3, [crystal] = 1, [dark] = 3, [earth] = 3, [enigma] = 3, [ice] = 3, } local stone_increase = { -- a cada quantos boosts irá aumentar o custo de stones [heart] = 50, [leaf] = 50, [water] = 50, [venom] = 50, [thunder] = 50, [rock] = 50, [punch] = 50, [fire] = 50, [coccon] = 50, [crystal] = 15, [dark] = 50, [earth] = 50, [enigma] = 50, [ice] = 50, } function onUse(cid, item, topos, item2, frompos) if isRunning(item.itemid) then doPlayerSendCancel(cid, "Wait until boosting finishes.") return true end if item.itemid == button then local pbpos = topos pbpos.x = pbpos.x + 1 local ball_slot = getTileItemById(pbpos, ballslot) local myball = getContainerItem(ball_slot.uid, 0) if myball.uid <= 0 or getItemWeight(myball.uid) == 0 then doPlayerSendCancel(cid, "Você não colocou a pokebóla na ball slot.") return true end local pokemon = getItemAttribute(myball.uid, "poke") local boost = getItemAttribute(myball.uid, "boost") or 0 if boost >= 500 then doPlayerSendCancel(cid, "Seu pokemon está no boost maximo permitido.") return true end local stnpos = pbpos stnpos.x = stnpos.x - 2 local stone_slot = getTileItemById(stnpos, stoneslot) local stone = getContainerItem(stone_slot.uid, 0) if stone.uid <= 0 then doPlayerSendCancel(cid, "Você não colocou as stones na slot da maquina.") return true end if not isStone(stone.itemid) then doPlayerSendCancel(cid, "Favor, colocar a certa quantidade de stones na maquina.") return true end if not isInArray(boost_stones[pokemon], stone.itemid) then local cancelstr = "Desculpe, você não colocou a stone correta da maquina." if #boost_stones[pokemon] > 1 then local stonesused = "" cancelstr = cancelstr.." This pokemon needs " for su = 1, #boost_stones[pokemon] do local n = doCorrectString(getItemNameById(boost_stones[pokemon][su])) if su == #boost_stones[pokemon] then stonesused = stonesused.." or "..getArticle(n).." "..n.."" elseif su == 1 then stonesused = stonesused..""..getArticle(n).." "..n.."" else stonesused = stonesused..", "..n.."" end end cancelstr = cancelstr..""..stonesused.." to be boosted." else cancelstr = cancelstr.." This pokemon needs a "..doCorrectString(getItemNameById(boost_stones[pokemon][1])).." to be boosted." end doPlayerSendCancel(cid, cancelstr) return true end local removeStones = 0 local extraStones = math.floor(boost / stone_increase[stone.itemid]) local required_stones = stones_required[stone.itemid] + extraStones local boosts = 0 for a = 0, getContainerSize(stone_slot.uid) - 1 do local it = getContainerItem(stone_slot.uid, a) if it.uid > 0 then if not isStone(it.itemid) then doPlayerSendCancel(cid, "Favor, colocar as stones na stone slot.") return true end if it.itemid ~= stone.itemid then doPlayerSendCancel(cid, "Favor, colocar apenas um tipo de stone na stone slot.") return true end if required_stones > 0 then required_stones = required_stones - 1 if required_stones <= 0 then boosts = boosts + 1 removeStones = removeStones + stones_required[stone.itemid] + extraStones if boost + boosts <= 499 then extraStones = math.floor((boost + boosts) / stone_increase[stone.itemid]) required_stones = stones_required[stone.itemid] + extraStones end end end end end if required_stones > 0 and boosts == 0 then doPlayerSendCancel(cid, "Você não colocou a quantidade certa na stone slot.") return true end for b = 1, removeStones do doRemoveItem(getContainerItem(stone_slot.uid, 0).uid, 1) end local off = pokes[pokemon].offense * boost_rate * boosts local def = pokes[pokemon].defense * boost_rate * boosts local agi = pokes[pokemon].agility * boosts local spatk = pokes[pokemon].specialattack * boost_rate * boosts local vit = pokes[pokemon].vitality * boost_rate * boosts doSetItemAttribute(myball.uid, "boost", boost + boosts) doItemSetAttribute(myball.uid, "offense", getItemAttribute(myball.uid, "offense") + off) doItemSetAttribute(myball.uid, "defense", getItemAttribute(myball.uid, "defense") + def) doItemSetAttribute(myball.uid, "speed", getItemAttribute(myball.uid, "speed") + agi) doItemSetAttribute(myball.uid, "specialattack", getItemAttribute(myball.uid, "specialattack") + spatk) doItemSetAttribute(myball.uid, "vitality", getItemAttribute(myball.uid, "vitality") + vit) local msg = "Your "..getPokeballName(myball.uid).." ["..getItemAttribute(myball.uid, "level").."] has been boosted!" local msg2 = "• Boost: "..(boost + boosts).." (+"..boosts..") • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."" local downpos = getThingPos(cid) downpos.y = downpos.y + 1 local mypos = getThingPos(cid) doTeleportThing(cid, downpos, false) doTeleportThing(cid, mypos, false) doTransformItem(ball_slot.uid, ballslot_run) doTransformItem(stone_slot.uid, stoneslot_run) doTransformItem(item.uid, button_run) doCreatureSetNoMove(cid, true) doCreatureAddCondition(cid, boostcondition) addEvent(doRestoreBoostMachine, 3000, cid, getThingPos(item.uid), getThingPos(ball_slot.uid), getThingPos(stone_slot.uid), msg, msg2) return true end end Se for possivel, edita esse meu boost.lua e posta ele pra ja reconhecer o container das stones juntas
-
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
galéra to com um problema na hora do Boost com as stones compactas que eu moderei, coloquei pras stones poderem serem juntadas até 100, tipo um pacote, mais quando vo dar Boost se eu coloco o pack das 100 stones na maquina fala "Você não colocou a quantidade certa de stones na stone slot", resumindo, ele não identifica o pacote, mais sim como se só tivesse uma stone. Isso é só no Boost, pra evoluções da pra min usar diréto do pack namoral, ta aqui meu boost.lua, se der pra modificar ele e me mandar de volta Rep++ local ballslot = 12355 local ballslot_run = 12352 local stoneslot = 12354 local stoneslot_run = 12353 local button = 12356 local button_run = 12357 function isRunning(id) if isInArray({button_run, stoneslot_run, ballslot_run}, id) then return true end return false end boost_stones = { ["Bulbasaur"] = {leaf}, ["Ivysaur"] = {leaf}, ["Venusaur"] = {leaf}, ["Charmander"] = {fire}, ["Charmeleon"] = {fire}, ["Charizard"] = {fire}, ["Squirtle"] = {water}, ["Wartortle"] = {water}, ["Blastoise"] = {water}, ["Caterpie"] = {coccon}, ["Metapod"] = {coccon}, ["Butterfree"] = {coccon}, ["Weedle"] = {coccon}, ["Kakuna"] = {coccon}, ["Beedrill"] = {coccon}, ["Pidgey"] = {heart}, ["Pidgeotto"] = {heart}, ["Pidgeot"] = {heart}, ["Rattata"] = {heart}, ["Raticate"] = {heart}, ["Spearow"] = {heart}, ["Fearow"] = {heart}, ["Ekans"] = {venom}, ["Arbok"] = {venom}, ["Pikachu"] = {thunder}, ["Raichu"] = {thunder}, ["Sandshrew"] = {earth}, ["Sandslash"] = {earth}, ["Nidoran Female"] = {venom}, ["Nidorina"] = {venom}, ["Nidoqueen"] = {venom, earth}, ["Nidoran Male"] = {venom}, ["Nidorino"] = {venom}, ["Nidoking"] = {venom, earth}, ["Clefairy"] = {heart}, ["Clefable"] = {heart}, ["Vulpix"] = {fire}, ["Ninetales"] = {fire}, ["Jigglypuff"] = {heart}, ["Wigglytuff"] = {heart}, ["Zubat"] = {venom}, ["Golbat"] = {venom}, ["Oddish"] = {leaf, venom}, ["Gloom"] = {leaf, venom}, ["Vileplume"] = {leaf, venom}, ["Paras"] = {coccon, leaf}, ["Parasect"] = {coccon, leaf}, ["Venonat"] = {coccon, venom}, ["Venomoth"] = {coccon, venom}, ["Diglett"] = {earth}, ["Dugtrio"] = {earth}, ["Meowth"] = {heart}, ["Persian"] = {heart}, ["Psyduck"] = {water}, ["Golduck"] = {water, enigma}, ["Mankey"] = {punch}, ["Primeape"] = {punch}, ["Growlithe"] = {fire}, ["Arcanine"] = {fire}, ["Poliwag"] = {water}, ["Poliwhirl"] = {water}, ["Poliwrath"] = {water, punch}, ["Abra"] = {enigma}, ["Kadabra"] = {enigma}, ["Alakazam"] = {enigma}, ["Machop"] = {punch}, ["Machoke"] = {punch}, ["Machamp"] = {punch}, ["Bellsprout"] = {leaf, venom}, ["Weepinbell"] = {leaf, venom}, ["Victreebel"] = {leaf, venom}, ["Tentacool"] = {water, venom}, ["Tentacruel"] = {water, venom}, ["Geodude"] = {earth, rock}, ["Graveler"] = {earth, rock}, ["Golem"] = {earth, rock}, ["Ponyta"] = {fire}, ["Rapidash"] = {fire}, ["Slowpoke"] = {water, enigma}, ["Slowbro"] = {water, enigma}, ["Magnemite"] = {thunder, metal}, ["Magneton"] = {thunder, metal}, ["Farfetch'd"] = {heart}, ["Doduo"] = {heart}, ["Dodrio"] = {heart}, ["Seel"] = {water, ice}, ["Dewgong"] = {water, ice}, ["Grimer"] = {venom}, ["Muk"] = {venom}, ["Shellder"] = {water, ice}, ["Cloyster"] = {water, ice}, ["Gastly"] = {dark}, ["Haunter"] = {dark}, ["Gengar"] = {dark}, ["Onix"] = {rock, earth}, ["Drowzee"] = {enigma}, ["Hypno"] = {enigma}, ["Krabby"] = {water}, ["Kingler"] = {water}, ["Voltorb"] = {thunder}, ["Electrode"] = {thunder}, ["Exeggcute"] = {enigma, leaf}, ["Exeggutor"] = {enigma, leaf}, ["Cubone"] = {earth}, ["Marowak"] = {earth}, ["Hitmonlee"] = {punch}, ["Hitmonchan"] = {punch}, ["Lickitung"] = {heart}, ["Koffing"] = {venom}, ["Weezing"] = {venom}, ["Rhyhorn"] = {earth, rock}, ["Rhydon"] = {earth, rock}, ["Chansey"] = {heart}, ["Tangela"] = {leaf}, ["Kangaskhan"] = {heart}, ["Horsea"] = {water}, ["Seadra"] = {water}, ["Goldeen"] = {water}, ["Seaking"] = {water}, ["Staryu"] = {water}, ["Starmie"] = {water}, ["Mr. Mime"] = {enigma}, ["Scyther"] = {coccon}, ["Jynx"] = {enigma, ice}, ["Electabuzz"] = {thunder}, ["Magmar"] = {fire}, ["Pinsir"] = {coccon}, ["Tauros"] = {heart}, ["Magikarp"] = {water}, ["Gyarados"] = {water, crystal}, ["Lapras"] = {water, ice}, ["Ditto"] = {heart}, ["Eevee"] = {heart}, ["Vaporeon"] = {water}, ["Jolteon"] = {thunder}, ["Flareon"] = {fire}, ["Porygon"] = {heart, enigma}, ["Omanyte"] = {rock, water}, ["Omastar"] = {rock, water}, ["Kabuto"] = {rock, water}, ["Kabutops"] = {rock, water}, ["Aerodactyl"] = {rock}, ["Snorlax"] = {heart}, ["Articuno"] = {ice}, ["Zapdos"] = {thunder}, ["Moltres"] = {fire}, ["Dratini"] = {crystal}, ["Dragonair"] = {crystal}, ["Dragonite"] = {crystal}, ["Mewtwo"] = {enigma}, ["Mew"] = {enigma}, ["Shiny Bulbasaur"] = {leaf}, ["Shiny Ivysaur"] = {leaf}, ["Shiny Venusaur"] = {leaf}, ["Shiny Charmander"] = {fire}, ["Shiny Charmeleon"] = {fire}, ["Shiny Charizard"] = {fire}, ["Shiny Squirtle"] = {water}, ["Shiny Wartortle"] = {water}, ["Shiny Blastoise"] = {water}, ["Shiny Caterpie"] = {coccon}, ["Shiny Metapod"] = {coccon}, ["Shiny Butterfree"] = {coccon}, ["Shiny Weedle"] = {coccon}, ["Shiny Kakuna"] = {coccon}, ["Shiny Beedrill"] = {coccon}, ["Shiny Pidgey"] = {heart}, ["Shiny Pidgeotto"] = {heart}, ["Shiny Pidgeot"] = {heart}, ["Shiny Rattata"] = {heart}, ["Shiny Raticate"] = {heart}, ["Shiny Spearow"] = {heart}, ["Shiny Fearow"] = {heart}, ["Shiny Ekans"] = {venom}, ["Shiny Arbok"] = {venom}, ["Shiny Pikachu"] = {thunder}, ["Shiny Raichu"] = {thunder}, ["Shiny Sandshrew"] = {earth}, ["Shiny Sandslash"] = {earth}, ["Shiny Nidoran Female"] = {venom}, ["Shiny Nidorina"] = {venom}, ["Shiny Nidoqueen"] = {venom, earth}, ["Shiny Nidoran Male"] = {venom}, ["Shiny Nidorino"] = {venom}, ["Shiny Nidoking"] = {venom, earth}, ["Shiny Clefairy"] = {heart}, ["Shiny Clefable"] = {heart}, ["Shiny Vulpix"] = {fire}, ["Shiny Ninetales"] = {fire}, ["Shiny Jigglypuff"] = {heart}, ["Shiny Wigglytuff"] = {heart}, ["Shiny Zubat"] = {venom}, ["Shiny Golbat"] = {venom}, ["Shiny Oddish"] = {leaf, venom}, ["Shiny Gloom"] = {leaf, venom}, ["Shiny Vileplume"] = {leaf, venom}, ["Shiny Paras"] = {coccon, leaf}, ["Shiny Parasect"] = {coccon, leaf}, ["Shiny Venonat"] = {coccon, venom}, ["Shiny Venomoth"] = {coccon, venom}, ["Shiny Diglett"] = {earth}, ["Shiny Dugtrio"] = {earth}, ["Shiny Meowth"] = {heart}, ["Shiny Persian"] = {heart}, ["Shiny Psyduck"] = {water}, ["Shiny Golduck"] = {water, enigma}, ["Shiny Mankey"] = {punch}, ["Shiny Primeape"] = {punch}, ["Shiny Growlithe"] = {fire}, ["Shiny Arcanine"] = {fire}, ["Shiny Poliwag"] = {water}, ["Shiny Poliwhirl"] = {water}, ["Shiny Poliwrath"] = {water, punch}, ["Shiny Abra"] = {enigma}, ["Shiny Kadabra"] = {enigma}, ["Shiny Alakazam"] = {enigma}, ["Shiny Machop"] = {punch}, ["Shiny Machoke"] = {punch}, ["Shiny Machamp"] = {punch}, ["Shiny Bellsprout"] = {leaf, venom}, ["Shiny Weepinbell"] = {leaf, venom}, ["Shiny Victreebel"] = {leaf, venom}, ["Shiny Tentacool"] = {water, venom}, ["Shiny Tentacruel"] = {water, venom}, ["Shiny Geodude"] = {earth, rock}, ["Shiny Graveler"] = {earth, rock}, ["Shiny Golem"] = {earth, rock}, ["Shiny Ponyta"] = {fire}, ["Shiny Rapidash"] = {fire}, ["Shiny Slowpoke"] = {water, enigma}, ["Shiny Slowbro"] = {water, enigma}, ["Shiny Magnemite"] = {thunder, metal}, ["Shiny Magneton"] = {thunder, metal}, ["Shiny Farfetch'd"] = {heart}, ["Shiny Doduo"] = {heart}, ["Shiny Dodrio"] = {heart}, ["Shiny Seel"] = {water, ice}, ["Shiny Dewgong"] = {water, ice}, ["Shiny Grimer"] = {venom}, ["Shiny Muk"] = {venom}, ["Shiny Shellder"] = {water, ice}, ["Shiny Cloyster"] = {water, ice}, ["Shiny Gastly"] = {dark}, ["Shiny Haunter"] = {dark}, ["Shiny Gengar"] = {dark}, ["Shiny Onix"] = {rock, earth}, ["Shiny Drowzee"] = {enigma}, ["Shiny Hypno"] = {enigma}, ["Shiny Krabby"] = {water}, ["Shiny Kingler"] = {water}, ["Shiny Voltorb"] = {thunder}, ["Shiny Electrode"] = {thunder}, ["Shiny Exeggcute"] = {enigma, leaf}, ["Shiny Exeggutor"] = {enigma, leaf}, ["Shiny Cubone"] = {earth}, ["Shiny Marowak"] = {earth}, ["Shiny Hitmonlee"] = {punch}, ["Shiny Hitmonchan"] = {punch}, ["Shiny Lickitung"] = {heart}, ["Shiny Koffing"] = {venom}, ["Shiny Weezing"] = {venom}, ["Shiny Rhyhorn"] = {earth, rock}, ["Shiny Rhydon"] = {earth, rock}, ["Shiny Chansey"] = {heart}, ["Shiny Tangela"] = {leaf}, ["Shiny Kangaskhan"] = {heart}, ["Shiny Horsea"] = {water}, ["Shiny Seadra"] = {water}, ["Shiny Goldeen"] = {water}, ["Shiny Seaking"] = {water}, ["Shiny Staryu"] = {water}, ["Shiny Starmie"] = {water}, ["Shiny Mr. Mime"] = {enigma}, ["Shiny Scyther"] = {coccon}, ["Shiny Jynx"] = {enigma, ice}, ["Shiny Electabuzz"] = {thunder}, ["Shiny Magmar"] = {fire}, ["Shiny Pinsir"] = {coccon}, ["Shiny Tauros"] = {heart}, ["Shiny Magikarp"] = {water}, ["Shiny Gyarados"] = {water, crystal}, ["Shiny Lapras"] = {water, ice}, ["Shiny Ditto"] = {heart}, ["Shiny Eevee"] = {heart}, ["Shiny Vaporeon"] = {water}, ["Shiny Jolteon"] = {thunder}, ["Shiny Flareon"] = {fire}, ["Shiny Porygon"] = {heart, enigma}, ["Shiny Omanyte"] = {rock, water}, ["Shiny Omastar"] = {rock, water}, ["Shiny Kabuto"] = {rock, water}, ["Shiny Kabutops"] = {rock, water}, ["Shiny Aerodactyl"] = {rock}, ["Shiny Snorlax"] = {heart}, ["Shiny Dratini"] = {crystal}, ["Shiny Dragonair"] = {crystal}, ["Shiny Dragonite"] = {crystal}, ["Chikorita"] = {leaf}, ["Bayleef"] = {leaf}, ["Meganium"] = {leaf}, ["Cyndaquil"] = {fire}, ["Quilava"] = {fire}, ["Typhlosion"] = {fire}, ["Totodile"] = {water}, ["Croconaw"] = {water}, ["Feraligatr"] = {water}, ["Aipom"] = {heart}, ["Ampharos"] = {thunder}, ["Ariados"] = {coccon, venom}, ["Azumarill"] = {water}, ["Bellossom"] = {leaf}, ["Blissey"] = {heart}, ["Celebi"] = {leaf, enigma}, ["Chinchou"] = {water, thunder}, ["Cleffa"] = {heart}, ["Corsola"] = {water}, ["Crobat"] = {venom, heart}, ["Delibird"] = {heart, ice}, ["Donphan"] = {heart, earth}, ["Dunsparce"] = {heart}, ["Elekid"] = {thunder}, ["Entei"] = {fire}, ["Espeon"] = {enigma}, ["Flaaffy"] = {thunder}, ["Forretress"] = {coccon}, ["Furret"] = {heart}, ["Girafarig"] = {enigma}, ["Gligar"] = {venom}, ["Granbull"] = {heart, venom}, ["Heracross"] = {coccon}, ["Hitmontop"] = {punch}, ["Ho-oh"] = {fire}, ["Hoothoot"] = {heart}, ["Hoppip"] = {leaf}, ["Houndoom"] = {fire}, ["Houndour"] = {fire}, ["Igglybuff"] = {heart}, ["Jumpluff"] = {leaf}, ["Kingdra"] = {water}, ["Lanturn"] = {water, thunder}, ["Larvitar"] = {earth}, ["Ledian"] = {coccon}, ["Ledyba"] = {coccon}, ["Lugia"] = {water, enigma}, ["Magby"] = {fire}, ["Magcargo"] = {fire}, ["Mantine"] = {water}, ["Mareep"] = {thunder}, ["Marill"] = {water}, ["Miltank"] = {heart}, ["Misdreavus"] = {dark}, ["Murkrow"] = {dark}, ["Natu"] = {heart, enigma}, ["Noctowl"] = {heart, enigma}, ["Octillery"] = {water}, ["Phanpy"] = {heart, earth}, ["Pichu"] = {thunder}, ["Piloswine"] = {ice}, ["Pineco"] = {coccon}, ["Politoed"] = {water}, ["Porygon2"] = {enigma}, ["Pupitar"] = {earth}, ["Quagsire"] = {water, earth}, ["Qwilfish"] = {water}, ["Raikou"] = {thunder}, ["Remoraid"] = {water}, ["Scizor"] = {coccon}, ["Sentret"] = {heart}, ["Shuckle"] = {earth}, ["Skarmory"] = {heart}, ["Skiploom"] = {leaf}, ["Slowking"] = {enigma, water}, ["Slugma"] = {fire}, ["Smeargle"] = {heart}, ["Smoochum"] = {ice}, ["Sneasel"] = {ice, dark}, ["Snubbull"] = {ice}, ["Spinarak"] = {coccon}, ["Stantler"] = {heart}, ["Steelix"] = {rock}, ["Sudowoodo"] = {rock}, ["Suicune"] = {water}, ["Sunflora"] = {leaf}, ["Sunkern"] = {leaf}, ["Swinub"] = {ice}, ["Teddiursa"] = {heart}, ["Togepi"] = {heart}, ["Togetic"] = {heart}, ["Tyranitar"] = {earth}, ["Tyrogue"] = {punch}, ["Umbreon"] = {dark}, ["Unown"] = {enigma}, ["Ursaring"] = {heart}, ["Wobbuffet"] = {enigma}, ["Wooper"] = {enigma}, ["Xatu"] = {heart, enigma}, ["Aaron"] = {rock}, ["Aggron"] = {rock}, ["Ambipom"] = {heart}, ["Bagon"] = {crystal}, ["Baltoy"] = {earth, enigma}, ["Bannete"] = {dark}, ["Beldum"] = {rock}, ["Blaziken"] = {fire}, ["Buizel"] = {water}, ["Buterfly"] = {coccon}, ["Cacnea"] = {leaf, venom}, ["Carvanha"] = {water}, ["Cascoon"] = {coccon}, ["Castform"] = {heart}, ["Castform ICE"] = {ice}, ["Castform FIRE"] = {fire}, ["Castform WATER"] = {water}, ["Chimecho"] = {enigma}, ["Clamperl"] = {water}, ["Combusken"] = {fire}, ["Corphish"] = {water}, ["Crawdaunt"] = {water}, ["Dark Abra"] = {enigma}, ["Demoniac Gengar"] = {dark}, ["Demoniac Tentacruel"] = {water, venom}, ["Dialga"] = {enigma}, ["Dusclops"] = {dark}, ["Duskull"] = {dark}, ["Dustox"] = {coccon}, ["Electivire"] = {thunder}, ["Electrike"] = {thunder}, ["Elite Farfetch'd"] = {heart}, ["Elite Hitmonchan"] = {punch}, ["Elite Hitmonlee"] = {punch}, ["Feebas"] = {water}, ["Giant Snorlax"] = {heart}, ["Giratina"] = {dark}, ["Jirachi"] = {enigma}, ["Kecleon"] = {heart}, ["Lairon"] = {rock}, ["Lileep"] = {earth}, ["Lombre"] = {water}, ["Lotad"] = {water}, ["Lucario"] = {punch}, ["Luvdisc"] = {water}, ["Magmortar"] = {fire}, ["Magnezone"] = {thunder}, ["Makuhita"] = {punch}, ["Milotic"] = {water, enigma}, ["Mime Jr"] = {enigma}, ["Mudkip"] = {water}, ["Nincada"] = {coccon}, ["Ninjask"] = {coccon}, ["Nosepass"] = {rock}, ["Palkia"] = {water}, ["Plusle"] = {thunder}, ["Primal Dialga"] = {enigma}, ["Rayquaza"] = {crystal}, ["Roselia"] = {leaf}, ["Roserade"] = {leaf}, ["Shedinja"] = {coccon}, ["Shelgon"] = {crystal}, ["Shiny Celebi"] = {enigma, leaf}, ["Swablu"] = {heart, water}, ["Torchic"] = {fire}, ["Treecko"] = {leaf}, ["Weoville"] = {dark, ice}, ["Wurmple"] = {coccon}, ["Shiny Articuno"] = {ice}, ["Shiny Zapdos"] = {thunder}, ["Shiny Moltres"] = {fire}, ["Shiny Mewtwo"] = {enigma}, ["Shiny Mew"] = {enigma}, ["Darkrai"] = {dark}, ["Mismagius"] = {dark}, ["Torkoal"] = {fire}, ["Nuzleaf"] = {leaf}, ["Poochyena"] = {dark}, ["Glaceon"] = {ice}, ["Leafeon"] = {leaf}, ["Groudon"] = {fire}, ["Kyogre"] = {water}, ["Shiny Magmortar"] = {fire}, ["Shiny Electivire"] = {thunder}, ["Shiny Scizor"] = {coccon}, ["Shiny Steelix"] = {rock}, ["Wailord"] = {water}, ["Dusknoir"] = {dark}, ["Salamence"] = {crystal}, ["Empoleon"] = {water}, ["Prinplup"] = {water}, ["Piplup"] = {water}, ["Torterra"] = {leaf}, ["Grotle"] = {leaf}, ["Turtwig"] = {leaf}, ["Tangrowth"] = {leaf}, ["Budew"] = {leaf}, ["Shuppet"] = {dark}, ["Riolu"] = {punch}, ["Yanma"] = {coccon, heart}} function doRestoreBoostMachine(cid, b_pos, p_pos, s_pos, msg, msg2) doSendAnimatedText(b_pos, "DONE.", 215) if isCreature(cid) then doCreatureSetNoMove(cid, false) doPlayerSendTextMessage(cid, 27, msg) doPlayerSendTextMessage(cid, 27, msg2) end local ball_s = getTileItemById(p_pos, ballslot_run) doTransformItem(ball_s.uid, ballslot) local stne_s = getTileItemById(s_pos, stoneslot_run) doTransformItem(stne_s.uid, stoneslot) local butn_s = getTileItemById(b_pos, button_run) doTransformItem(butn_s.uid, button) end local stones_required = { -- custo base de stones para boostar [heart] = 3, [leaf] = 3, [water] = 3, [venom] = 3, [thunder] = 3, [rock] = 3, [punch] = 3, [fire] = 3, [coccon] = 3, [crystal] = 1, [dark] = 3, [earth] = 3, [enigma] = 3, [ice] = 3, } local stone_increase = { -- a cada quantos boosts irá aumentar o custo de stones [heart] = 50, [leaf] = 50, [water] = 50, [venom] = 50, [thunder] = 50, [rock] = 50, [punch] = 50, [fire] = 50, [coccon] = 50, [crystal] = 15, [dark] = 50, [earth] = 50, [enigma] = 50, [ice] = 50, } function onUse(cid, item, topos, item2, frompos) if isRunning(item.itemid) then doPlayerSendCancel(cid, "Wait until boosting finishes.") return true end if item.itemid == button then local pbpos = topos pbpos.x = pbpos.x + 1 local ball_slot = getTileItemById(pbpos, ballslot) local myball = getContainerItem(ball_slot.uid, 0) if myball.uid <= 0 or getItemWeight(myball.uid) == 0 then doPlayerSendCancel(cid, "Você não colocou a pokebóla na ball slot.") return true end local pokemon = getItemAttribute(myball.uid, "poke") local boost = getItemAttribute(myball.uid, "boost") or 0 if boost >= 50 then doPlayerSendCancel(cid, "Seu pokemon está no boost maximo permitido.") return true end local stnpos = pbpos stnpos.x = stnpos.x - 2 local stone_slot = getTileItemById(stnpos, stoneslot) local stone = getContainerItem(stone_slot.uid, 0) if stone.uid <= 0 then doPlayerSendCancel(cid, "Você não colocou as stones na slot da maquina.") return true end if not isStone(stone.itemid) then doPlayerSendCancel(cid, "Favor, colocar a certa quantidade de stones na maquina.") return true end if not isInArray(boost_stones[pokemon], stone.itemid) then local cancelstr = "Desculpe, você não colocou a stone correta da maquina." if #boost_stones[pokemon] > 1 then local stonesused = "" cancelstr = cancelstr.." This pokemon needs " for su = 1, #boost_stones[pokemon] do local n = doCorrectString(getItemNameById(boost_stones[pokemon][su])) if su == #boost_stones[pokemon] then stonesused = stonesused.." or "..getArticle(n).." "..n.."" elseif su == 1 then stonesused = stonesused..""..getArticle(n).." "..n.."" else stonesused = stonesused..", "..n.."" end end cancelstr = cancelstr..""..stonesused.." to be boosted." else cancelstr = cancelstr.." This pokemon needs a "..doCorrectString(getItemNameById(boost_stones[pokemon][1])).." to be boosted." end doPlayerSendCancel(cid, cancelstr) return true end local removeStones = 0 local extraStones = math.floor(boost / stone_increase[stone.itemid]) local required_stones = stones_required[stone.itemid] + extraStones local boosts = 0 for a = 0, getContainerSize(stone_slot.uid) - 1 do local it = getContainerItem(stone_slot.uid, a) if it.uid > 0 then if not isStone(it.itemid) then doPlayerSendCancel(cid, "Favor, colocar as stones na stone slot.") return true end if it.itemid ~= stone.itemid then doPlayerSendCancel(cid, "Favor, colocar apenas um tipo de stone na stone slot.") return true end if required_stones > 0 then required_stones = required_stones - 1 if required_stones <= 0 then boosts = boosts + 1 removeStones = removeStones + stones_required[stone.itemid] + extraStones if boost + boosts <= 49 then extraStones = math.floor((boost + boosts) / stone_increase[stone.itemid]) required_stones = stones_required[stone.itemid] + extraStones end end end end end if required_stones > 0 and boosts == 0 then doPlayerSendCancel(cid, "Você não colocou a quantidade certa na stone slot.") return true end for b = 1, removeStones do doRemoveItem(getContainerItem(stone_slot.uid, 0).uid, 1) end local off = pokes[pokemon].offense * boost_rate * boosts local def = pokes[pokemon].defense * boost_rate * boosts local agi = pokes[pokemon].agility * boosts local spatk = pokes[pokemon].specialattack * boost_rate * boosts local vit = pokes[pokemon].vitality * boost_rate * boosts doSetItemAttribute(myball.uid, "boost", boost + boosts) doItemSetAttribute(myball.uid, "offense", getItemAttribute(myball.uid, "offense") + off) doItemSetAttribute(myball.uid, "defense", getItemAttribute(myball.uid, "defense") + def) doItemSetAttribute(myball.uid, "speed", getItemAttribute(myball.uid, "speed") + agi) doItemSetAttribute(myball.uid, "specialattack", getItemAttribute(myball.uid, "specialattack") + spatk) doItemSetAttribute(myball.uid, "vitality", getItemAttribute(myball.uid, "vitality") + vit) local msg = "Your "..getPokeballName(myball.uid).." ["..getItemAttribute(myball.uid, "level").."] has been boosted!" local msg2 = "• Boost: "..(boost + boosts).." (+"..boosts..") • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."" local downpos = getThingPos(cid) downpos.y = downpos.y + 1 local mypos = getThingPos(cid) doTeleportThing(cid, downpos, false) doTeleportThing(cid, mypos, false) doTransformItem(ball_slot.uid, ballslot_run) doTransformItem(stone_slot.uid, stoneslot_run) doTransformItem(item.uid, button_run) doCreatureSetNoMove(cid, true) doCreatureAddCondition(cid, boostcondition) addEvent(doRestoreBoostMachine, 3000, cid, getThingPos(item.uid), getThingPos(ball_slot.uid), getThingPos(stone_slot.uid), msg, msg2) return true end end Ta ae o boost.lua, vlws ae se alguem me falar como eu modifico ou modificar e postar aqui. Vlws ae. -
[Encerrado] [Pokemon] Dúvidas? - Pda
tópico respondeu ao lucashgas de AWeskers em Tópicos Sem Resposta
Muito bom esses scripts da vitamina e rare candy, rep+ ae galéra achei um problema quando eu coloquei pras stones do meu servidor poderem ser compactadas, por exemplo, juntar 100 punchs stones em um só lugar, deu tudo cérto com todas as stones mais estou com um problema na hóra do boost. Quando vou dar boost e coloco o container das 100 stones juntas fala que nao tem a quantidade correta de stones, o boost nao consegue identificar o container e identifica ele como se estive-se apenas 1 stone no container. Alguem pode dar uma ajudinha ae ? ta aqui o meu boost.lua
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.