local evo = {
["Abra"] = "Shiny Abra",
["Alakazam"] = "Shiny Alakazam",
["Ariados"] = "Shiny Ariados",
["Arcanine"] = "Shiny Arcanine",
["Beedrill"] = "Shiny Beedrill",
["Blastoise"] = "Shiny Blastoise",
["Butterfree"] = "Shiny Butterfree",
["Charizard"] = "Shiny Charizard",
["Cubone"] = "Shiny Cubone",
["Dragonair"] = "Shiny Dragonair",
["Dragonite"] = "Shiny Dragonite",
["Dratini"] = "Shiny Dratini",
["Dodrio"] = "Shiny Dodrio",
["Electabuzz"] = "Shiny Electabuzz",
["Electrode"] = "Shiny Electrode",
["Espeon"] = "Shiny Espeon",
["Farfetchd"] = "Shiny Farfetchd",
["Farfetch'd"] = "Shiny Farfetch'd",
["Fearow"] = "Shiny Fearow",
["Flareon"] = "Shiny Flareon",
["Gengar"] = "Shiny Gengar",
["Golbat"] = "Shiny Golbat",
["Golem"] = "Shiny Golem",
["Grimer"] = "Shiny Grimer",
["Growlithe"] = "Shiny Growlithe",
["Gyarados"] = "Shiny Gyarados",
["Hitmonchan"] = "Shiny Hitmonchan",
["Hitmonlee"] = "Shiny Hitmonlee",
["Horsea"] = "Shiny Horsea",
["Hypno"] = "Shiny Hypno",
["Jolteon"] = "Shiny Jolteon",
["Jynx"] = "Shiny Jynx",
["Kingler"] = "Shiny Kingler",
["Krabby"] = "Shiny Krabby",
["Magneton"] = "Shiny Magneton",
["Magikarp"] = "Shiny Magikarp",
["Marowak"] = "Shiny Marowak",
["Mr. Mime"] = "Shiny Mr. Mime",
["Muk"] = "Shiny Muk",
["Nidoking"] = "Shiny Nidoking",
["Ninetales"] = "Shiny Ninetales",
["Oddish"] = "Shiny Oddish",
["Onix"] = "Shiny Onix",
["Paras"] = "Shiny Paras",
["Parasect"] = "Shiny Parasect",
["Pidgeot"] = "Shiny Pidgeot",
["Politoed"] = "Shiny Politoed",
["Pinsir"] = "Shiny Pinsir",
["Raichu"] = "Shiny Raichu",
["Raticate"] = "Shiny Raticate",
["Rattata"] = "Shiny Rattata",
["Rhydon"] = "Shiny Rhydon",
["Scyther"] = "Shiny Scyther",
["Seadra"] = "Shiny Seadra",
["Snorlax"] = "Shiny Snorlax",
["Tangela"] = "Shiny Tangela",
["Tentacool"] = "Shiny Tentacool",
["Tentacruel"] = "Shiny Tentacruel",
["Umbreon"] = "Shiny Umbreon",
["Vaporeon"] = "Shiny Vaporeon",
["Venomoth"] = "Shiny Venomoth",
["Venonat"] = "Shiny Venonat",
["Venusaur"] = "Shiny Venusaur",
["Stantler"] = "Shiny Stantler",
["Vileplume"] = "Shiny Vileplume",
["Voltorb"] = "Shiny Voltorb",
["Zubat"] = "Shiny Zubat",
}
local balls = {
[2394] = {newBall = 11737},
[2391] = {newBall = 11740},
[2393] = {newBall = 11743},
[11829] = {newBall = 11746},
[12617] = {newBall = 12621},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isMonster(itemEx.uid) and getCreatureMaster(itemEx.uid) == cid then
local monster = getCreatureName(itemEx.uid)
if evo[monster] then
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getPokeName(itemEx.uid).." evolved into a "..evo[monster].."!")
local health, maxHealth = getCreatureHealth(itemEx.uid), getCreatureMaxHealth(itemEx.uid)
doSendMagicEffect(getThingPos(itemEx.uid), 18)
doRemoveCreature(itemEx.uid)
doRemoveItem(item.uid, 1)
doSummonMonster(cid,evo[monster])
local pokeball = getPlayerSlotItem(cid, 8)
doItemSetAttribute(pokeball.uid, "poke", evo[monster])
doItemSetAttribute(pokeball.uid, "level", pokes[evo[monster]].level)
end
end
return FALSE
end
Alguém poderia fazer um favorzinho pra mim
No caso é um sistema de shiny stone que esta funcionando perfeitamente, porém, qualquer um destes pokemon se transformam em shiny com apenas 1 stone no caso eu quero que cada pokemon eu possa escolhe a quantidade que irá custa para se trasnforma exemplo Alakazam para Shiny Alakazam custo de 4 stone Charizard para Shiny Charizard eu quero um custo de 3 pokemon como Zubat essas coisas eu quero deixa apenas 1 custo e assim por diante, apenas faça para escolher a quantidade de cada um e eu edito a quantidade de cada pokemon . então eu queria que alguém fizesse isso para mim.
PS: Darei 3 rep+ para quem fizer este favor.