Ir para conteúdo
  • 0

[AJUDA] Na função de tempo da stone


KarlKalvin

Pergunta

Olá... to com um script aqui segue ele abaixo:

local fotos = {

["Bulbasaur"] = {fotopoke = 2377},
["Ivysaur"] = {fotopoke = 2378},
["Venusaur"] = {fotopoke = 2379},
["Charmander"] = {fotopoke = 2380},
["Charmeleon"] = {fotopoke = 2381},
["Charizard"] = {fotopoke = 2382},
["Squirtle"] = {fotopoke = 2383},
["Wartortle"] = {fotopoke = 2384},
["Blastoise"] = {fotopoke = 2385},
["Caterpie"] = {fotopoke = 2386},
["Metapod"] = {fotopoke = 2387},
["Butterfree"] = {fotopoke = 2388},
["Weedle"] = {fotopoke = 2389},
["Kakuna"] = {fotopoke = 2390},
["Beedrill"] = {fotopoke = 2391},
["Pidgey"] = {fotopoke = 2392},
["Pidgeotto"] = {fotopoke = 2393},
["Pidgeot"] = {fotopoke = 2394},
["Rattata"] = {fotopoke = 2395},
["Raticate"] = {fotopoke = 2396},
["Spearow"] = {fotopoke = 2397},
["Fearow"] = {fotopoke = 2398},
["Ekans"] = {fotopoke = 2399},
["Arbok"] = {fotopoke = 2400},
["Pikachu"] = {fotopoke = 2401},
["Raichu"] = {fotopoke = 2402},
["Sandshrew"] = {fotopoke = 2403},
["Sandslash"] = {fotopoke = 2404},
["Nidoran Female"] = {fotopoke = 2405},
["Nidorina"] = {fotopoke = 2406},
["Nidoqueen"] = {fotopoke = 2407},
["Nidoran Male"] = {fotopoke = 2408},
["Nidorino"] = {fotopoke = 2409},
["Nidoking"] = {fotopoke = 2410},
["Clefairy"] = {fotopoke = 2411},
["Clefable"] = {fotopoke = 2412},
["Vulpix"] = {fotopoke = 2413},
["Ninetales"] = {fotopoke = 2414},
["Jigglypuff"] = {fotopoke = 2415},
["Wigglytuff"] = {fotopoke = 2416},
["Zubat"] = {fotopoke = 2417},
["Golbat"] = {fotopoke = 2418},
["Oddish"] = {fotopoke = 2419},
["Gloom"] = {fotopoke = 2420},
["Vileplume"] = {fotopoke = 2421},
["Paras"] = {fotopoke = 2422},
["Parasect"] = {fotopoke = 2423},
["Venonat"] = {fotopoke = 2424},
["Venomoth"] = {fotopoke = 2425},
["Diglett"] = {fotopoke = 2426},
["Dugtrio"] = {fotopoke = 2427},
["Meowth"] = {fotopoke = 2428},
["Persian"] = {fotopoke = 2429},
["Psyduck"] = {fotopoke = 2430},
["Golduck"] = {fotopoke = 2431},
["Mankey"] = {fotopoke = 2432},
["Primeape"] = {fotopoke = 2433},
["Growlithe"] = {fotopoke = 2434},
["Arcanine"] = {fotopoke = 2435},
["Poliwag"] = {fotopoke = 2436},
["Poliwhirl"] = {fotopoke = 2437},
["Poliwrath"] = {fotopoke = 2438},
["Abra"] = {fotopoke = 2439},
["Kadabra"] = {fotopoke = 2440},
["Alakazam"] = {fotopoke = 2441},
["Machop"] = {fotopoke = 2442},
["Machoke"] = {fotopoke = 2443},
["Machamp"] = {fotopoke = 2444},
["Bellsprout"] = {fotopoke = 2445},
["Weepinbell"] = {fotopoke = 2446},
["Victreebel"] = {fotopoke = 2447},
["Tentacool"] = {fotopoke = 2448},
["Tentacruel"] = {fotopoke = 2449},
["Geodude"] = {fotopoke = 2450},
["Graveler"] = {fotopoke = 2451},
["Golem"] = {fotopoke = 2452},
["Ponyta"] = {fotopoke = 2453},
["Rapidash"] = {fotopoke = 2454},
["Slowpoke"] = {fotopoke = 2455},
["Slowbro"] = {fotopoke = 2456},
["Magnemite"] = {fotopoke = 2457},
["Magneton"] = {fotopoke = 2458},
["Farfetchd"] = {fotopoke = 2459},
["Doduo"] = {fotopoke = 2460},
["Dodrio"] = {fotopoke = 2461},
["Seel"] = {fotopoke = 2462},
["Dewgong"] = {fotopoke = 2463},
["Grimer"] = {fotopoke = 2464},
["Muk"] = {fotopoke = 2465},
["Shellder"] = {fotopoke = 2466},
["Cloyster"] = {fotopoke = 2467},
["Gastly"] = {fotopoke = 2468},
["Haunter"] = {fotopoke = 2469},
["Gengar"] = {fotopoke = 2470},
["Onix"] = {fotopoke = 2471},
["Crystal Onix"] = {fotopoke = 11389},
["Drowzee"] = {fotopoke = 2472},
["Hypno"] = {fotopoke = 2473},
["Krabby"] = {fotopoke = 2474},
["Kingler"] = {fotopoke = 2475},
["Voltorb"] = {fotopoke = 2476},
["Electrode"] = {fotopoke = 2477},
["Exeggcute"] = {fotopoke = 2478},
["Exeggutor"] = {fotopoke = 2479},
["Cubone"] = {fotopoke = 2480},
["Marowak"] = {fotopoke = 2481},
["Hitmonlee"] = {fotopoke = 2482},
["Hitmonchan"] = {fotopoke = 2483},
["Lickitung"] = {fotopoke = 2484},
["Koffing"] = {fotopoke = 2485},
["Weezing"] = {fotopoke = 2486},
["Rhyhorn"] = {fotopoke = 2487},
["Rhydon"] = {fotopoke = 2488},
["Chansey"] = {fotopoke = 2489},
["Tangela"] = {fotopoke = 2490},
["Kangaskhan"] = {fotopoke = 2491},
["Horsea"] = {fotopoke = 2492},
["Seadra"] = {fotopoke = 2493},
["Goldeen"] = {fotopoke = 2494},
["Seaking"] = {fotopoke = 2495},
["Staryu"] = {fotopoke = 2496},
["Starmie"] = {fotopoke = 2497},
["MrMime"] = {fotopoke = 2498},
["Scyther"] = {fotopoke = 2499},
["Jynx"] = {fotopoke = 2500},
["Electabuzz"] = {fotopoke = 2501},
["Magmar"] = {fotopoke = 2502},
["Pinsir"] = {fotopoke = 2503},
["Tauros"] = {fotopoke = 2504},
["Magikarp"] = {fotopoke = 2505},
["Gyarados"] = {fotopoke = 2506},
["Lapras"] = {fotopoke = 2507},
["Ditto"] = {fotopoke = 2508},
["Eevee"] = {fotopoke = 2509},
["Vaporeon"] = {fotopoke = 2510},
["Jolteon"] = {fotopoke = 2511},
["Flareon"] = {fotopoke = 2512},
["Porygon"] = {fotopoke = 2513},
["Omanyte"] = {fotopoke = 2514},
["Omastar"] = {fotopoke = 2515},
["Kabuto"] = {fotopoke = 2516},
["Kabutops"] = {fotopoke = 2517},
["Aerodactyl"] = {fotopoke = 2518},
["Snorlax"] = {fotopoke = 2519},
["Articuno"] = {fotopoke = 2520},
["Zapdos"] = {fotopoke = 2521},
["Moltres"] = {fotopoke = 2522},
["Dratini"] = {fotopoke = 2523},
["Dragonair"] = {fotopoke = 2524},
["Dragonite"] = {fotopoke = 2525},
["Mewtwo"] = {fotopoke = 2526},
["Mew"] = {fotopoke = 2527},
-------------------Shiny-------------------
["Shiny Charizard"] = {fotopoke = 2528},
["Shiny Magikarp"] = {fotopoke = 102},
["Shiny Rattata"] = {fotopoke = 107},
["Shiny Oddish"] = {fotopoke = 111},
["Shiny Zubat"] = {fotopoke = 112},
["Shiny Paras"] = {fotopoke = 113},
["Shiny Abra"] = {fotopoke = 145},
["Shiny Arcanine"] = {fotopoke = 146},
["Shiny Venomoth"] = {fotopoke = 147},
["Shiny Raichu"] = {fotopoke = 148},
["Elite Hitmonchan"] = {fotopoke = 149},
["Elite Hitmonlee"] = {fotopoke = 150},
["Shiny Voltorb"] = {fotopoke = 151},
["Shiny Horsea"] = {fotopoke = 152},
["Shiny Tentacruel"] = {fotopoke = 153},
["Shiny Growlithe"] = {fotopoke = 154},
["Shiny Venonat"] = {fotopoke = 155},
["Shiny Blastoise"] = {fotopoke = 156},
["Shiny Raticate"] = {fotopoke = 157},
["Shiny Electrode"] = {fotopoke = 158},
["Shiny Dratini"] = {fotopoke = 159},
["Shiny Electabuzz"] = {fotopoke = 160},
["Shiny Kingler"] = {fotopoke = 161},
["Shiny Muk"] = {fotopoke = 162},
["Shiny Tentacool"] = {fotopoke = 163},
["Shiny Seadra"] = {fotopoke = 164},
["Shiny Parasect"] = {fotopoke = 165},
["Shiny Beedrill"] = {fotopoke = 166},
["Shiny Gyarados"] = {fotopoke = 167},
["Shiny Scyther"] = {fotopoke = 168},
["Shiny Jynx"] = {fotopoke = 169},
["Shiny Krabby"] = {fotopoke = 170},
["Shiny Grimer"] = {fotopoke = 171},
["Shiny Farfetchd"] = {fotopoke = 172},
["Shiny Butterfree"] = {fotopoke = 173},
["Shiny Venusaur"] = {fotopoke = 174},
-------------------Johto-------------------
["Aipom"] = {fotopoke = 11371},
["Ampharos"] = {fotopoke = 11517},
["Ariados"] = {fotopoke = 11518},
["Azumarill"] = {fotopoke = 11519},
["Bayleef"] = {fotopoke = 11520},
["Bellossom"] = {fotopoke = 11521},
["Blissey"] = {fotopoke = 11522},
["Celebi"] = {fotopoke = 11523},
["Chikorita"] = {fotopoke = 11524},
["Chinchou"] = {fotopoke = 11525},
["Cleffa"] = {fotopoke = 11526},
["Corsola"] = {fotopoke = 11527},
["Crobat"] = {fotopoke = 11528},
["Croconaw"] = {fotopoke = 11529},
["Cyndaquil"] = {fotopoke = 11530},
["Delibird"] = {fotopoke = 11532},
["Donphan"] = {fotopoke = 11533},
["Dunsparce"] = {fotopoke = 11534},
["Elekid"] = {fotopoke = 11535},
["Entei"] = {fotopoke = 11536},
["Espeon"] = {fotopoke = 11537},
["Feraligatr"] = {fotopoke = 11538},
["Flaaffy"] = {fotopoke = 11539},
["Forretress"] ={fotopoke = 11540},
["Furret"] = {fotopoke = 11541},
["Gallade"] ={fotopoke = 11631},
["Girafarig"] ={fotopoke = 11542},
["Gligar"] = {fotopoke = 11543},
["Granbull"] = {fotopoke = 11544},
["Heracloss"] = {fotopoke = 11545},
["Hitmontop"] = {fotopoke = 11546},
["Ho oh"] = {fotopoke = 11547},
["Hoothoot"] = {fotopoke = 11548},
["Hoppip"] = {fotopoke = 11549},
["Houndoom"] = {fotopoke = 11550},
["Houndor"] = {fotopoke = 11551},
["Igglybuff"] = {fotopoke = 11552},
["Jumpluff"] = {fotopoke = 11553},
["Kingdra"] = {fotopoke = 11554},
["Lanturn"] = {fotopoke = 11555},
["Larvitar"] = {fotopoke = 11556},
["Ledian"] = {fotopoke = 11557},
["Ledyba"] = {fotopoke = 11558},
["Lugia"] = {fotopoke = 11559},
["Magby"] = {fotopoke = 11560},
["Magcarbo"] = {fotopoke = 11561},
["Mantine"] = {fotopoke = 11562},
["Mareep"] = {fotopoke = 11563},
["Marill"] = {fotopoke = 11564},
["Meganium"] ={fotopoke = 11565},
["Miltank"] ={fotopoke = 11566},
["Misdreavus"] = {fotopoke = 11567},
["Murkrow"] = {fotopoke = 11568},
["Natu"] = {fotopoke = 11569},
["Noctowl"] = {fotopoke = 11570},
["Octillery"] ={fotopoke = 11571},
["Phanpy"] = {fotopoke = 11572},
["Pichu"] = {fotopoke = 11573},
["Piloswine"] ={fotopoke = 11574},
["Pineco"] = {fotopoke = 11575},
["Politoed"] ={fotopoke = 11576},
["Porygon2"] ={fotopoke = 11577},
["Pupitar"] = {fotopoke = 11578},
["Quaqsire"] ={fotopoke = 11579},
["Quilava"] ={fotopoke = 11580},
["Qwilfish"] ={fotopoke = 11581},
["Raikou"] ={fotopoke = 11582},
["Remoraid"] = {fotopoke = 11583},
["Scizor"] = {fotopoke = 11584},
["Shuckle"] ={fotopoke = 11586},
["Skarmory"] ={fotopoke = 11587},
["Skiploom"] ={fotopoke = 11588},
["Slowking"] = {fotopoke = 11589},
["Slugma"] ={fotopoke = 11590},
["Smeargle"] = {fotopoke = 11591},
["Smoochum"] = {fotopoke = 11592},
["Sneasel"] = {fotopoke = 11593},
["Sentret"] = {fotopoke = 11585},
["Snubbull"] = {fotopoke = 11594},
["Spinarak"] ={fotopoke = 11595},
["Stantler"] = {fotopoke = 11596},
["Steelix"] = {fotopoke = 11597},
["Sudowoodo"] ={fotopoke = 11598},
["Suicune"] = {fotopoke = 11599},
["Sunflora"] = {fotopoke = 11600},
["Sunkern"] = {fotopoke = 11601},
["Swinub"] ={fotopoke = 11602},
["Teddiursa"] ={fotopoke = 11603},
["Togepi"] = {fotopoke = 11604},
["Togetic"] ={fotopoke = 11605},
["Totodile"] ={fotopoke = 11606},
["Typhlosion"] ={fotopoke = 11607},
["Tyranitar"] = {fotopoke = 11608},
["Tyrogue"] = {fotopoke = 11609},
["Umbreon"] ={fotopoke = 11610},
["Unown a"] = {fotopoke = 11611},
["Unown b"] = {fotopoke = 11611},
["Unown c"] = {fotopoke = 11611},
["Unown e"] = {fotopoke = 11611},
["Unown f"] = {fotopoke = 11611},
["Unown g"] = {fotopoke = 11611},
["Unown h"] ={fotopoke = 11611},
["Unown i"] = {fotopoke = 11611},
["Unown j"] = {fotopoke = 11611},
["Unown k"] = {fotopoke = 11611},
["Unown l"] = {fotopoke = 11611},
["Unown m"] ={fotopoke = 11611},
["Unown n"] = {fotopoke = 11611},
["Unown o"] ={fotopoke = 11611},
["Unown p"] = {fotopoke = 11611},
["Unown q"] ={fotopoke = 11611},
["Unown r"] = {fotopoke = 11611},
["Unown s"] ={fotopoke = 11611},
["Unown t"] = {fotopoke = 11611},
["Unown u"] = {fotopoke = 11611},
["Unown v"] = {fotopoke = 11611},
["Unown w"] = {fotopoke = 11611},
["Unown x"] ={fotopoke = 11611},
["Unown y"] = {fotopoke = 11611},
["Ursaring"] = {fotopoke = 11612},
["Wobbuffet"] = {fotopoke = 11613},
["Wooper"] = {fotopoke = 11614},
["Xatu"] = {fotopoke = 11615},
["Yanma"] = {fotopoke = 11616},
["Giratina"] = {fotopoke = 11632},
["Palkia"] = {fotopoke = 11634},
["Rayquaza"] = {fotopoke = 11636},
["Primal Dialga"] = {fotopoke = 11639},
["Dialga"] = {fotopoke = 11641},
}
local poken = {
["Bulbasaur"] = {level = 20, cons = 43, vida = 1200},
["Ivysaur"] = {level = 40, cons = 86, vida = 4000},
["Venusaur"] = {level = 85, cons = 189, vida = 7500},
["Charmander"] = {level = 5, cons = 30, vida = 1200},
["Charmeleon"] = {level = 40, cons = 70, vida = 4000},
["Charizard"] = {level = 85, cons = 140, vida = 7500},
["Elder Charizard"] = {level = 85, cons = 140, vida = 7200},
["Squirtle"] = {level = 20, cons = 47, vida = 1200},
["Wartortle"] = {level = 40, cons = 93, vida = 4000},
["Blastoise"] = {level = 85, cons = 194, vida = 7500},
["Caterpie"] = {level = 1, cons = 13, vida = 350},
["Metapod"] = {level = 10, cons = 30, vida = 400},
["Butterfree"] = {level = 30, cons = 56, vida = 2000},
["Weedle"] = {level = 1, cons = 16, vida = 350},
["Kakuna"] = {level = 10, cons = 32, vida = 400},
["Beedrill"] = {level = 30, cons = 64, vida = 2000},
["Pidgey"] = {level = 1, cons = 22, vida = 80},
["Pidgeotto"] = {level = 20, cons = 47, vida = 1200},
["Pidgeot"] = {level = 65, cons = 101, vida = 3800},
["Rattata"] = {level = 1, cons = 19, vida = 350},
["Raticate"] = {level = 20, cons = 68, vida = 900},
["Spearow"] = {level = 10, cons = 22, vida = 320},
["Fearow"] = {level = 50, cons = 95, vida = 3300},
["Ekans"] = {level = 15, cons = 27, vida = 600},
["Arbok"] = {level = 30, cons = 87, vida = 2900},
["Pikachu"] = {level = 20, cons = 32, vida = 1000},
["Raichu"] = {level = 50, cons = 99, vida = 4500},
["Sandshrew"] = {level = 18, cons = 30, vida = 400},
["Sandslash"] = {level = 55, cons = 96, vida = 5000},
["Nidoran Female"] = {level = 10, cons = 27, vida = 400},
["Nidorina"] = {level = 25, cons = 58, vida = 1500},
["Nidoqueen"] = {level = 65, cons = 146, vida = 4200},
["Nidoran Male"] = {level = 10, cons = 34, vida = 400},
["Nidorino"] = {level = 25, cons = 74, vida = 1500},
["Nidoking"] = {level = 65, cons = 169, vida = 4300},
["Clefairy"] = {level = 10, cons = 30, vida = 600},
["Clefable"] = {level = 35, cons = 90, vida = 3400},
["Vulpix"] = {level = 20, cons = 32, vida = 400},
["Ninetales"] = {level = 65, cons = 121, vida = 4500},
["Jigglypuff"] = {level = 10, cons = 30, vida = 550},
["Wigglytuff"] = {level = 42, cons = 95, vida = 3400},
["Zubat"] = {level = 5, cons = 28, vida = 450},
["Golbat"] = {level = 30, cons = 70, vida = 1900},
["Oddish"] = {level = 5, cons = 21, vida = 80},
["Gloom"] = {level = 18, cons = 51, vida = 1000},
["Vileplume"] = {level = 50, cons = 96, vida = 3300},
["Paras"] = {level = 1, cons = 40, vida = 50},
["Parasect"] = {level = 50, cons = 110, vida = 2900},
["Venonat"] = {level = 18, cons = 50, vida = 800},
["Venomoth"] = {level = 50, cons = 125, vida = 3900},
["Diglett"] = {level = 5, cons = 45, vida = 800},
["Dugtrio"] = {level = 35, cons = 110, vida = 3400},
["Meowth"] = {level = 12, cons = 52, vida = 600},
["Persian"] = {level = 30, cons = 85, vida = 2100},
["Psyduck"] = {level = 12, cons = 50, vida = 1000},
["Golduck"] = {level = 55, cons = 150, vida = 4000},
["Mankey"] = {level = 10, cons = 60, vida = 400},
["Primeape"] = {level = 45, cons = 155, vida = 4000},
["Growlithe"] = {level = 20, cons = 60, vida = 800},
["Arcanine"] = {level = 80, cons = 170, vida = 6800},
["Poliwag"] = {level = 5, cons = 20, vida = 100},
["Poliwhirl"] = {level = 20, cons = 44, vida = 1000},
["Poliwrath"] = {level = 65, cons = 138, vida = 4400},
["Abra"] = {level = 15, cons = 20, vida = 1050},
["Kadabra"] = {level = 50, cons = 57, vida = 4000},
["Alakazam"] = {level = 80, cons = 94, vida = 6800},
["Machop"] = {level = 18, cons = 60, vida = 800},
["Machoke"] = {level = 40, cons = 110, vida = 3500},
["Machamp"] = {level = 70, cons = 185, vida = 7500},
["Bellsprout"] = {level = 5, cons = 24, vida = 120},
["Weepinbell"] = {level = 18, cons = 49, vida = 1100},
["Victreebel"] = {level = 50, cons = 117, vida = 4000},
["Tentacool"] = {level = 12, cons = 52, vida = 200},
["Tentacruel"] = {level = 80, cons = 165, vida = 7000},
["Geodude"] = {level = 15, cons = 30, vida = 700},
["Graveler"] = {level = 40, cons = 82, vida = 3000},
["Golem"] = {level = 70, cons = 111, vida = 6500},
["Ponyta"] = {level = 20, cons = 60, vida = 600},
["Rapidash"] = {level = 60, cons = 160, vida = 5000},
["Slowpoke"] = {level = 12, cons = 55, vida = 800},
["Slowbro"] = {level = 45, cons = 110, vida = 4000},
["Magnemite"] = {level = 15, cons = 27, vida = 600},
["Magneton"] = {level = 40, cons = 67, vida = 3300},
["Farfetchd"] = {level = 40, cons = 95, vida = 3500},
["Doduo"] = {level = 12, cons = 31, vida = 600},
["Dodrio"] = {level = 45, cons = 78, vida = 3750},
["Seel"] = {level = 20, cons = 50, vida = 970},
["Dewgong"] = {level = 65, cons = 135, vida = 5700},
["Grimer"] = {level = 12, cons = 30, vida = 600},
["Muk"] = {level = 30, cons = 85, vida = 2400},
["Shellder"] = {level = 5, cons = 45, vida = 800},
["Cloyster"] = {level = 65, cons = 155, vida = 6200},
["Gastly"] = {level = 18, cons = 50, vida = 950},
["Haunter"] = {level = 45, cons = 105, vida = 4000},
["Gengar"] = {level = 80, cons = 175, vida = 7000},
["Onix"] = {level = 50, cons = 150, vida = 4500},
["Crystal Onix"] = {level = 100, cons = 150, vida = 12500},
["Drowzee"] = {level = 22, cons = 58, vida = 1000},
["Hypno"] = {level = 50, cons = 100, vida = 4500},
["Krabby"] = {level = 5, cons = 45, vida = 300},
["Kingler"] = {level = 35, cons = 100, vida = 2700},
["Voltorb"] = {level = 14, cons = 30, vida = 450},
["Electrode"] = {level = 38, cons = 76, vida = 3000},
["Exeggcute"] = {level = 8, cons = 42, vida = 400},
["Exeggutor"] = {level = 48, cons = 98, vida = 3500},
["Cubone"] = {level = 18, cons = 58, vida = 900},
["Marowak"] = {level = 45, cons = 105, vida = 3700},
["Hitmonlee"] = {level = 60, cons = 140, vida = 5000},
["Hitmonchan"] = {level = 60, cons = 140, vida = 6000},
["Lickitung"] = {level = 45, cons = 100, vida = 3800},
["Koffing"] = {level = 15, cons = 60, vida = 800},
["Weezing"] = {level = 30, cons = 100, vida = 2400},
["Rhyhorn"] = {level = 35, cons = 80, vida = 1400},
["Rhydon"] = {level = 65, cons = 175, vida = 5000},
["Chansey"] = {level = 60, cons = 130, vida = 4500},
["Tangela"] = {level = 40, cons = 85, vida = 3500},
["Kangaskhan"] = {level = 80, cons = 160, vida = 7000},
["Horsea"] = {level = 5, cons = 19, vida = 250},
["Seadra"] = {level = 45, cons = 68, vida = 4000},
["Goldeen"] = {level = 10, cons = 50, vida = 250},
["Seaking"] = {level = 25, cons = 80, vida = 2000},
["Staryu"] = {level = 15, cons = 55, vida = 600},
["Starmie"] = {level = 45, cons = 95, vida = 4200},
["Mr.Mime"] = {level = 60, cons = 110, vida = 5000},
["Scyther"] = {level = 80, cons = 145, vida = 7000},
["Jynx"] = {level = 80, cons = 125, vida = 7000},
["Elekid"] = {level = 30, cons = 150, vida = 1800},
["Electabuzz"] = {level = 80, cons = 150, vida = 7000},
["Shiny Electabuzz"] = {level = 100, cons = 150, vida = 12500},
["Magmar"] = {level = 80, cons = 160, vida = 7000},
["Pinsir"] = {level = 42, cons = 95, vida = 4000},
["Tauros"] = {level = 40, cons = 100, vida = 4200},
["Magikarp"] = {level = 1, cons = 5, vida = 120},
["Gyarados"] = {level = 85, cons = 195, vida = 7800},
["Lapras"] = {level = 70, cons = 140, vida = 7000},
["Ditto"] = {level = 40, cons = 100, vida = 4000},
["Eevee"] = {level = 20, cons = 55, vida = 1500},
["Vaporeon"] = {level = 55, cons = 110, vida = 4500},
["Jolteon"] = {level = 55, cons = 110, vida = 4500},
["Flareon"] = {level = 55, cons = 110, vida = 4500},
["Porygon"] = {level = 45, cons = 10, vida = 4000},
["Omanyte"] = {level = 20, cons = 55, vida = 1300},
["Omastar"] = {level = 70, cons = 140, vida = 6000},
["Kabuto"] = {level = 20, cons = 55, vida = 1300},
["Kabutops"] = {level = 70, cons = 150, vida = 6500},
["Aerodactyl"] = {level = 100, cons = 190, vida = 9000},
["Snorlax"] = {level = 85, cons = 200, vida = 8000},
["Articuno"] = {level = 120, cons = 200, vida = 15000},
["Zapdos"] = {level = 120, cons = 200, vida = 15000},
["Moltres"] = {level = 120, cons = 200, vida = 15000},
["Dratini"] = {level = 10, cons = 55, vida = 1200},
["Dragonair"] = {level = 70, cons = 165, vida = 5600},
["Dragonite"] = {level = 100, cons = 250, vida = 11000},
["Mew"] = {level = 100, cons = 125, vida = 25000},
["Mewtwo"] = {level = 100, cons = 125, vida = 25000},
["Elder Charizard"] = {level = 100, cons = 125, vida = 1200},
["Onix Crystal"] = {level = 100, cons = 125, vida = 7200},
["Shiny Tentacruel"] = {level = 85, cons = 125, vida = 4800},
["Elite Hitmonchan"] = {level = 80, cons = 125, vida = 10000},
["Elite Hitmonlee"] = {level = 80, cons = 125, vida = 10000},
["Aipom"] = {level = 10, cons = 140, vida = 3000},
["Ampharos"] = {level = 80, cons = 140, vida = 9000},
["Ariados"] = {level = 40, cons = 140, vida = 3000},
["Azumarill"] = {level = 50, cons = 140, vida = 3000},
["Bayleef"] = {level = 40, cons = 140, vida = 6000},
["Bellossom"] = {level = 50, cons = 140, vida = 3000},
["Blissey"] = {level = 80, cons = 140, vida = 3000},
["Celebi"] = {level = 300, cons = 140, vida = 3000},
["Chikorita"] = {level = 20, cons = 140, vida = 3000},
["Chinchou"] = {level = 20, cons = 140, vida = 3000},
["Cleffa"] = {level = 5, cons = 140, vida = 3000},
["Corsola"] = {level = 50, cons = 140, vida = 3000},
["Crobat"] = {level = 50, cons = 140, vida = 5500},
["Croconaw"] = {level = 40, cons = 140, vida = 6000},
["Cyndaquil"] = {level = 20, cons = 140, vida = 3000},
["Delibird"] = {level = 50, cons = 140, vida = 5000},
["Donphan"] = {level = 50, cons = 140, vida = 6000},
["Dunsparce"] = {level = 25, cons = 140, vida = 3000},
["Elekid"] = {level = 20, cons = 140, vida = 3000},
["Entei"] = {level = 300, cons = 140, vida = 3000},
["Espeon"] = {level = 55, cons = 140, vida = 5500},
["Feraligatr"] = {level = 80, cons = 140, vida = 9000},
["Flaaffy"] = {level = 40, cons = 140, vida = 6000},
["Forretress"] ={level = 30, cons = 140, vida = 3000},
["Furret"] = {level = 30, cons = 140, vida = 3000},
["Gallade"] = {level = 30, cons = 140, vida = 3000},
["Girafarig"] = {level = 30, cons = 140, vida = 3000},
["Gligar"] = {level = 30, cons = 140, vida = 3000},
["Granbull"] = {level = 30, cons = 140, vida = 3000},
["Heracross"] = {level = 65, cons = 140, vida = 8000},
["Hitmontop"] = {level = 30, cons = 140, vida = 3000},
["Ho oh"] = {level = 30, cons = 140, vida = 3000},
["Hoothoot"] = {level = 30, cons = 140, vida = 3000},
["Hoppip"] = {level = 30, cons = 140, vida = 3000},
["Houndoom"] = {level = 30, cons = 140, vida = 3000},
["Houndor"] = {level = 30, cons = 140, vida = 3000},
["Igglybuff"] = {level = 30, cons = 140, vida = 3000},
["Jumpluff"] = {level = 30, cons = 140, vida = 3000},
["Kingdra"] = {level = 30, cons = 140, vida = 3000},
["Lanturn"] = {level = 30, cons = 140, vida = 3000},
["Larvitar"] = {level = 30, cons = 140, vida = 3000},
["Ledian"] = {level = 30, cons = 140, vida = 3000},
["Ledyba"] = {level = 30, cons = 140, vida = 3000},
["Lugia"] = {level = 30, cons = 140, vida = 3000},
["Magby"] = {level = 30, cons = 140, vida = 3000},
["Magcarbo"] = {level = 30, cons = 140, vida = 3000},
["Mantine"] = {level = 30, cons = 140, vida = 3000},
["Mareep"] = {level = 20, cons = 140, vida = 3000},
["Marill"] = {level = 30, cons = 140, vida = 3000},
["Meganium"] ={level = 30, cons = 140, vida = 9000},
["Miltank"] = {level = 30, cons = 140, vida = 5000},
["Misdreavus"] = {level = 30, cons = 140, vida = 3000},
["Murkrow"] = {level = 30, cons = 140, vida = 3000},
["Natu"] = {level = 30, cons = 140, vida = 3000},
["Noctowl"] = {level = 30, cons = 140, vida = 3000},
["Octillery"] ={level = 30, cons = 140, vida = 3000},
["Phanpy"] = {level = 30, cons = 140, vida = 3000},
["Pichu"] = {level = 30, cons = 140, vida = 3000},
["Piloswine"] ={level = 30, cons = 140, vida = 3000},
["Pineco"] = {level = 30, cons = 140, vida = 3000},
["Politoed"] ={level = 30, cons = 140, vida = 3000},
["Porygon2"] ={level = 30, cons = 140, vida = 3000},
["Pupitar"] = {level = 30, cons = 140, vida = 3000},
["Quaqsire"] ={level = 30, cons = 140, vida = 3000},
["Quilava"] ={level = 30, cons = 140, vida = 6000},
["Qwilfish"] = {level = 30, cons = 140, vida = 3000},
["Raikou"] ={level = 30, cons = 140, vida = 3000},
["Remoraid"] = {level = 30, cons = 140, vida = 3000},
["Scizor"] = {level = 30, cons = 140, vida = 3000},
["Shuckle"] ={level = 30, cons = 140, vida = 3000},
["Skarmory"] ={level = 30, cons = 140, vida = 3000},
["Skiploom"] = {level = 30, cons = 140, vida = 3000},
["Slowking"] = {level = 30, cons = 140, vida = 3000},
["Slugma"] ={level = 30, cons = 140, vida = 3000},
["Smeargle"] = {level = 30, cons = 140, vida = 3000},
["Smoochum"] = {level = 30, cons = 140, vida = 3000},
["Sneasel"] = {level = 30, cons = 140, vida = 3000},
["Sentret"] = {level = 30, cons = 140, vida = 3000},
["Snubbull"] = {level = 30, cons = 140, vida = 3000},
["Spinarak"] ={level = 30, cons = 140, vida = 3000},
["Stantler"] = {level = 30, cons = 140, vida = 3000},
["Steelix"] = {level = 30, cons = 140, vida = 3000},
["Sudowoodo"] ={level = 30, cons = 140, vida = 3000},
["Suicune"] = {level = 30, cons = 140, vida = 3000},
["Sunflora"] = {level = 30, cons = 140, vida = 3000},
["Sunkern"] = {level = 30, cons = 140, vida = 3000},
["Swinub"] ={level = 30, cons = 140, vida = 3000},
["Teddiursa"] ={level = 30, cons = 140, vida = 3000},
["Togepi"] = {level = 30, cons = 140, vida = 3000},
["Togetic"] ={level = 30, cons = 140, vida = 3000},
["Totodile"] = {level = 30, cons = 140, vida = 1000},
["Typhlosion"] ={level = 30, cons = 140, vida = 9000},
["Tyranitar"] = {level = 30, cons = 140, vida = 3000},
["Tyrogue"] = {level = 30, cons = 140, vida = 3000},
["Umbreon"] ={level = 30, cons = 140, vida = 3000},
["Unown a"] = {level = 30, cons = 140, vida = 3000},
["Unown b"] = {level = 30, cons = 140, vida = 3000},
["Unown c"] = {level = 30, cons = 140, vida = 3000},
["Unown e"] = {level = 30, cons = 140, vida = 3000},
["Unown f"] = {level = 30, cons = 140, vida = 3000},
["Unown g"] = {level = 30, cons = 140, vida = 3000},
["Unown h"] = {level = 30, cons = 140, vida = 3000},
["Unown i"] = {level = 30, cons = 140, vida = 3000},
["Unown j"] = {level = 30, cons = 140, vida = 3000},
["Unown k"] = {level = 30, cons = 140, vida = 3000},
["Unown l"] = {level = 30, cons = 140, vida = 3000},
["Unown m"] = {level = 30, cons = 140, vida = 3000},
["Unown n"] = {level = 30, cons = 140, vida = 3000},
["Unown o"] = {level = 30, cons = 140, vida = 3000},
["Unown p"] = {level = 30, cons = 140, vida = 3000},
["Unown q"] = {level = 30, cons = 140, vida = 3000},
["Unown r"] = {level = 30, cons = 140, vida = 3000},
["Unown s"] ={level = 30, cons = 140, vida = 3000},
["Unown t"] = {level = 30, cons = 140, vida = 3000},
["Unown u"] = {level = 30, cons = 140, vida = 3000},
["Unown v"] = {level = 30, cons = 140, vida = 3000},
["Unown w"] = {level = 30, cons = 140, vida = 3000},
["Unown x"] ={level = 30, cons = 140, vida = 3000},
["Unown y"] = {level = 30, cons = 140, vida = 3000},
["Ursaring"] = {level = 30, cons = 140, vida = 3000},
["Wobbuffet"] = {level = 30, cons = 140, vida = 3000},
["Wooper"] = {level = 30, cons = 140, vida = 3000},
["Xatu"] = {level = 30, cons = 140, vida = 3000},
["Yanma"] = {level = 30, cons = 140, vida = 3000},
["Giratina"] = {level = 1, cons = 250, vida = 15000},
["Palkia"] = {level = 1, cons = 251, vida = 15000},
["Rayquaza"] = {level = 1, cons = 251, vida = 15000},
["Primal Dialga"] = {level = 1, cons = 251, vida = 15000},
["Dialga"] = {level = 1, cons = 251, vida = 15000},
["Shiny Charizard"] = {level = 100, cons = 280, vida = 12500},
["Shiny Magikarp"] = {level = 10, cons = 30, vida = 2000},
["Shiny Paras"] = {level = 15, cons = 120, vida = 2500},
["Shiny Oddish"] = {level = 15, cons = 65, vida = 2500},
["Shiny Tentacool"] = {level = 20, cons = 140, vida = 4000},
["Shiny Tentacruel"] = {level = 100, cons = 140, vida = 12050},
["Shiny Raticate"] = {level = 35, cons = 140, vida = 5000},
["Shiny Krabby"] = {level = 20, cons = 140, vida = 1500},
["Shiny Kingler"] = {level = 50, cons = 140, vida = 5000},
["Shiny Horsea"] = {level = 15, cons = 140, vida = 6000},
["Shiny Seadra"] = {level = 60, cons = 140, vida = 8500},
["Shiny Gyarados"] = {level = 100, cons = 200, vida = 15000},
["Shiny Parasect"] = {level = 60, cons = 140, vida = 6800},
["Shiny Scyther"] = {level = 100, cons = 140, vida = 12500},
["Shiny Electabuzz"] = {level = 100, cons = 140, vida = 12500},
["Shiny Jynx"] = {level = 80, cons = 140, vida = 12500},
["Shiny Electrode"] = {level = 50, cons = 140, vida = 8000},
["Shiny Voltorb"] = {level = 25, cons = 140, vida = 2620},
["Shiny Raichu"] = {level = 70, cons = 140, vida = 8200},
["Shiny Venomoth"] = {level = 60, cons = 140, vida = 8850},
["Shiny Beedril"] = {level = 35, cons = 140, vida = 5900},
["Shiny Butterfree"] = {level = 40, cons = 140, vida = 11000},
["Shiny Venusaur"] = {level = 100, cons = 140, vida = 12500},
["Shiny Blastoise"] = {level = 100, cons = 140, vida = 12500},
["Shiny Farfetchd"] = {level = 50, cons = 140, vida = 7000},
["Shiny Grimer"] = {level = 20, cons = 140, vida = 2600},
["Shiny Muk"] = {level = 50, cons = 140, vida = 7400},
["Shiny Growlithe"] = {level = 30, cons = 140, vida = 3000},
["Shiny Arcanine"] = {level = 100, cons = 140, vida = 12500},
["Shiny Dratini"] = {level = 10, cons = 55, vida = 5400},
["Shiny Abra"] = {level = 110, cons = 140, vida = 12500},
["Elite Hitmonlee"] = {level = 100, cons = 250, vida = 12500},
["Elite Hitmonchan"] = {level = 100, cons = 240, vida = 13500},
["Shiny Rattata"] = {level = 10, cons = 28, vida = 2000},
["Shiny Gengar"] = {level = 100, cons = 140, vida = 12500},
}
local pokes = {
["Bulbasaur"] = {level = 40, evolution = "Ivysaur", maxh = 2900, count = 1, stoneid = 2276, stoneid2 = 0},
["Ivysaur"] = {level = 85, evolution = "Venusaur", maxh = 5200, count = 2, stoneid = 2276, stoneid2 = 0},
["Charmander"] = {level = 40, evolution = "Charmeleon", maxh = 2900, count = 1, stoneid = 2283, stoneid2 = 0},
["Charmeleon"] = {level = 85, evolution = "Charizard", maxh = 5200, count = 2, stoneid = 2283, stoneid2 = 0},
["Squirtle"] = {level = 40, evolution = "Wartortle", maxh = 2900, count = 1, stoneid = 2277, stoneid2 = 0},
["Wartortle"] = {level = 85, evolution = "Blastoise", maxh = 5200, count = 2, stoneid = 2277, stoneid2 = 0},
["Caterpie"] = {level = 10, evolution = "Metapod", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0},
["Metapod"] = {level = 25, evolution = "Butterfree", maxh = 1400, count = 2, stoneid = 2284, stoneid2 = 0},
["Weedle"] = {level = 10, evolution = "Kakuna", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0},
["Kakuna"] = {level = 25, evolution = "Beedrill", maxh = 1400, count = 2, stoneid = 2284, stoneid2 = 0},
["Pidgey"] = {level = 20, evolution = "Pidgeotto", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},
["Pidgeotto"] = {level = 65, evolution = "Pidgeot", maxh = 1400, count = 2, stoneid = 2289, stoneid2 = 0},
["Rattata"] = {level = 25, evolution = "Raticate", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},
["Spearow"] = {level = 50, evolution = "Fearow", maxh = 1400, count = 2, stoneid = 2289, stoneid2 = 0},
["Ekans"] = {level = 35, evolution = "Arbok", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},
["Pikachu"] = {level = 50, evolution = "Raichu", maxh = 1400, count = 2, stoneid = 2279, stoneid2 = 0},
["Sandshrew"] = {level = 55, evolution = "Sandslash", maxh = 1400, count = 2, stoneid = 2287, stoneid2 = 0},
["Nidoran Female"] = {level = 30, evolution = "Nidorina", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},
["Nidorina"] = {level = 65, evolution = "Nidoqueen", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 2287},
["Nidoran Male"] = {level = 30, evolution = "Nidorino", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},
["Nidorino"] = {level = 65, evolution = "Nidoking", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 2287},
["Clefairy"] = {level = 45, evolution = "Clefable", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},
["Vulpix"] = {level = 70, evolution = "Ninetales", maxh = 1400, count = 2, stoneid = 2283, stoneid2 = 0},
["Jigglypuff"] = {level = 45, evolution = "Wigglytuff", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},
["Zubat"] = {level = 35, evolution = "Golbat", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},
["Oddish"] = {level = 25, evolution = "Gloom", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0},
["Gloom"] = {level = 50, evolution = "Vileplume", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 2278},
["Paras"] = {level = 50, evolution = "Parasect", maxh = 1400, count = 2, stoneid = 2284, stoneid2 = 0},
["Venonat"] = {level = 50, evolution = "Venomoth", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 2278},
["Diglett"] = {level = 35, evolution = "Dugtrio", maxh = 1400, count = 1, stoneid = 2287, stoneid2 = 0},
["Meowth"] = {level = 30, evolution = "Persian", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},
["Psyduck"] = {level = 55, evolution = "Golduck", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2288},
["Mankey"] = {level = 50, evolution = "Primeape", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0},
["Growlithe"] = {level = 80, evolution = "Arcanine", maxh = 1400, count = 2, stoneid = 2283, stoneid2 = 0},
["Poliwag"] = {level = 25, evolution = "Poliwhirl", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},
["Poliwhirl"] = {level = 65, evolution = "Poliwrath", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2281},
["Abra"] = {level = 45, evolution = "Kadabra", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0},
["Kadabra"] = {level = 80, evolution = "Alakazam", maxh = 1400, count = 2, stoneid = 2288, stoneid2 = 0},
["Machop"] = {level = 45, evolution = "Machoke", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0},
["Machoke"] = {level = 70, evolution = "Machamp", maxh = 1400, count = 2, stoneid = 2281, stoneid2 = 0},
["Bellsprout"] = {level = 25, evolution = "Weepinbell", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0},
["Weepinbell"] = {level = 50, evolution = "Victreebel", maxh = 1400, count = 2, stoneid = 2276, stoneid2 = 0},
["Tentacool"] = {level = 75, evolution = "Tentacruel", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2288},
["Geodude"] = {level = 40, evolution = "Graveler", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 0},
["Graveler"] = {level = 70, evolution = "Golem", maxh = 1400, count = 2, stoneid = 2280, stoneid2 = 0},
["Ponyta"] = {level = 55, evolution = "Rapidash", maxh = 1400, count = 1, stoneid = 2283, stoneid2 = 0},
["Slowpoke"] = {level = 45, evolution = "Slowbro", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0},
["Magnemite"] = {level = 40, evolution = "Magneton", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0},
["Doduo"] = {level = 45, evolution = "Dodrio", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0},
["Seel"] = {level = 65, evolution = "Dewgong", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2290},
["Grimer"] = {level = 45, evolution = "Muk", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},
["Shellder"] = {level = 60, evolution = "Cloyster", maxh = 1400, count = 2, stoneid = 2290, stoneid2 = 0},
["Gastly"] = {level = 45, evolution = "Haunter", maxh = 1400, count = 1, stoneid = 2286, stoneid2 = 0},
["Haunter"] = {level = 80, evolution = "Gengar", maxh = 1400, count = 2, stoneid = 2286, stoneid2 = 0},
["Drowzee"] = {level = 55, evolution = "Hypno", maxh = 1400, count = 2, stoneid = 2288, stoneid2 = 0},
["Krabby"] = {level = 40, evolution = "Kingler", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},
["Voltorb"] = {level = 35, evolution = "Electrode", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0},
["Exeggcute"] = {level = 55, evolution = "Exeggutor", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 2288},
["Cubone"] = {level = 55, evolution = "Marowak", maxh = 1400, count = 2, stoneid = 2287, stoneid2 = 0},
["Koffing"] = {level = 35, evolution = "Weezing", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0},
["Rhyhorn"] = {level = 75, evolution = "Rhydon", maxh = 1400, count = 2, stoneid = 2280, stoneid2 = 0},
["Horsea"] = {level = 45, evolution = "Seadra", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},
["Goldeen"] = {level = 35, evolution = "Seaking", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},
["Staryu"] = {level = 15, evolution = "Starmie", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0},
["Magikarp"] = {level = 85, evolution = "Gyarados", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2285},
["Omanyte"] = {level = 80, evolution = "Omastar", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2285},
["Kabuto"] = {level = 80, evolution = "Kabutops", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 2285},
["Dratini"] = {level = 60, evolution = "Dragonair", maxh = 1400, count = 1, stoneid = 2285, stoneid2 = 0},
["Dragonair"] = {level = 60, evolution = "Dragonite", maxh = 1400, count = 2, stoneid = 2285, stoneid2 = 0},
["Hitmonchan"] = {level = 80, evolution = "Hitmontop", maxh = 9000, count = 2, stoneid = 2281, stoneid2 = 0},
["Hitmonlee"] = {level = 80, evolution = "Hitmontop", maxh = 9000, count = 2, stoneid = 2281, stoneid2 = 0},
["Totodile"] = {level = 40, evolution = "Croconaw", maxh = 2000, count = 1, stoneid = 2277, stoneid2 = 0},
["Croconaw"] = {level = 80, evolution = "Feraligatr", maxh = 3000, count = 2, stoneid = 2277, stoneid2 = 0},
["Chikorita"] = {level = 40, evolution = "Bayleef", maxh = 2000, count = 1, stoneid = 2276, stoneid2 = 0},
["Bayleef"] = {level = 80, evolution = "Meganium", maxh = 3000, count = 2, stoneid = 2276, stoneid2 = 0},
["Cyndaquil"] = {level = 40, evolution = "Quilava", maxh = 2000, count = 1, stoneid = 2283, stoneid2 = 0},
["Quilava"] = {level = 80, evolution = "Typhlosion", maxh = 3000, count = 2, stoneid = 2283, stoneid2 = 0},
["Golbat"] = {level = 50, evolution = "Crobat", maxh = 5500, count = 2, stoneid = 2278, stoneid2 = 2289},
["Cleffa"] = {level = 10, evolution = "Clefairy", maxh = 3000, count = 1, stoneid = 2289, stoneid2 = 0},
["Chansey"] = {level = 80, evolution = "Blissey", maxh = 9000, count = 2, stoneid = 2289, stoneid2 = 0},
["Pineco"] = {level = 35, evolution = "Forretress", maxh = 6000, count = 1, stoneid = 2284, stoneid2 = 2280},
["Porygon"] = {level = 60, evolution = "Porygon2", maxh = 3000, count = 2, stoneid = 2288, stoneid2 = 0},
["Onix"] = {level = 80, evolution = "Steelix", maxh = 9600, count = 2, stoneid = 2280, stoneid2 = 0},
["Scyther"] = {level = 100, evolution = "Scizor", maxh = 10000, count = 3, stoneid = 2284, stoneid2 = 2289},
["Seadra"] = {level = 60, evolution = "Kingdra", maxh = 5000, count = 2, stoneid = 2277, stoneid2 = 0},
["Mareep"] = {level = 40, evolution = "Flaaffy", maxh = 6000, count = 1, stoneid = 2279, stoneid2 = 0},
["Flaaffy"] = {level = 80, evolution = "Ampharos", maxh = 9000, count = 2, stoneid = 2279, stoneid2 = 0},
["Pinsir"] = {level = 65, evolution = "Heracross", maxh = 9000, count = 1, stoneid = 2281, stoneid2 = 2284},
["Shiny Venonat"] = {level = 80, evolution = "Shiny Venomoth", maxh = 9000, count = 2, stoneid = 2278, stoneid2 = 0},
}
local types = {
["Leaf"] = {itemid = 2276, "Bulbasaur", "Ivysaur", "Oddish", "Gloom", "Bellsprout", "Weepinbell", "Exeggcute", "Chikorita", "Bayleef"},
["Water"] = {itemid = 2277, "Squirtle", "Wartortle", "Horsea", "Goldeen", "Magikarp", "Psyduck", "Poliwag", "Poliwhirl", "Tentacool", "Krabby", "Staryu", "Omanyte", "Eevee", "Totodile", "Croconaw", "Seadra"},
["Venom"] = {itemid = 2278, "Shiny Venonat", "Zubat", "Ekans", "Nidoran Male", "Nidoran Female", "Nidorino", "Nidorina", "Gloom", "Venonat", "Tentacool", "Grimer", "Koffing", "Golbat"},
["Thunder"] = {itemid = 2279, "Magnemite", "Pikachu", "Voltorb", "Eevee", "Elekid", "Flaaffy", "Mareep"},
["Rock"] = {itemid = 2280, "Geodude", "Graveler", "Rhyhorn", "Kabuto", "Pineco", "Onix"},
["Punch"] = {itemid = 2281, "Machop", "Machoke", "Mankey", "Poliwhirl", "Hitmonchan", "Hitmonlee", "Pinsir"},
["Fire"] = {itemid = 2283, "Charmander", "Charmeleon", "Vulpix", "Growlithe", "Ponyta", "Eevee", "Cyndaquil", "Quilava"},
["Coccon"] = {itemid = 2284, "Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Dragon Lord", "Pineco", "Scyther", "Pinsir"},
["Crystal"] = {itemid = 2285, "Dratini", "Dragonair", "Magikarp", "Omanyte", "Kabuto"},
["Darkness"] = {itemid = 2286, "Gastly", "Haunter"},
["Earth"] = {itemid = 2287, "Cubone", "Sandshrew", "Nidorino", "Nidorina", "Diglett"},
["Enigma"] = {itemid = 2288, "Abra", "Kadabra", "Psyduck", "Slowpoke", "Drowzee", "Eevee", "Porygon"},
["Heart"] = {itemid = 2289, "Rattata", "Pidgey", "Pidgeotto", "Spearow", "Clefairy", "Jigglypuff", "Meowth", "Doduo", "Golbat", "Cleffa", "Scyther"},
["Ice"] = {itemid = 2290, "Seel", "Shellder"},
}
local eevee = {'2277', '2279', '2283', '2288'}
function onUse(cid, item, frompos, item2, topos)
if not isMonster(item2.uid) then
return true
end
if not isPlayer(getCreatureMaster(item2.uid)) or getCreatureMaster(item2.uid) ~= cid then
doPlayerSendCancel(cid, "You can only use stones on pokemons you own.")
return true
end
for i,x in pairs(types) do
if getPlayerSlotItem(cid, 7).itemid ~= fotos[getCreatureName(item2.uid)].fotopoke then
return doPlayerSendCancel(cid, "Please, keep your pokemon's ball at the right place during evolution!")
end
if item.itemid == x.itemid then
if isPlayerSummon(cid, item2.uid) then
if table.find(x, getCreatureName(item2.uid)) then
if getCreatureName(item2.uid) == "Eevee" then
if item.itemid == 2279 then
if getPlayerLevel(cid) < 55 then
return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")
end
local pokeball = getPlayerSlotItem(cid, 8)
doItemSetAttribute(pokeball.uid, "poke", "This is Jolteon's pokeball. HP = [5500/5500]")
doItemSetAttribute(pokeball.uid, "description", "Contains a Jolteon.")
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Jolteon!")
doSendMagicEffect(topos, 18)
doGoBackSetCooldown(cid)
doTransformItem(getPlayerSlotItem(cid, 7).uid, 2511)
doSendMagicEffect(getThingPos(cid), 173)
local oldpos = getThingPos(item2.uid)
doRemoveCreature(item2.uid)
doSummonMonster(cid, "Jolteon")
local pk = getCreatureSummons(cid)[1]
registerCreatureEvent(pk, "DiePoke")
registerCreatureEvent(pk, "Exp")
doTeleportThing(pk, oldpos, false)
doCreatureSetLookDir(pk, 2)
setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))
doCreatureAddHealth(pk, getCreatureMaxHealth(pk))
setPlayerStorageValue(cid, 2, 0)
doPlayerRemoveItem(cid, item.itemid, 1)
elseif item.itemid == 2277 then
if getPlayerLevel(cid) < 55 then
return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")
end
local pokeball = getPlayerSlotItem(cid, 8)
doItemSetAttribute(pokeball.uid, "poke", "This is Vaporeon's pokeball. HP = [5500/5500]")
doItemSetAttribute(pokeball.uid, "description", "Contains a Vaporeon.")
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Vaporeon!")
doSendMagicEffect(topos, 18)
doGoBackSetCooldown(cid)
doTransformItem(getPlayerSlotItem(cid, 7).uid, 2510)
doSendMagicEffect(getThingPos(cid), 173)
local oldpos = getThingPos(item2.uid)
doRemoveCreature(item2.uid)
doSummonMonster(cid, "Vaporeon")
local pk = getCreatureSummons(cid)[1]
registerCreatureEvent(pk, "DiePoke")
registerCreatureEvent(pk, "Exp")
doTeleportThing(pk, oldpos, false)
doCreatureSetLookDir(pk, 2)
setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))
doCreatureAddHealth(pk, getCreatureMaxHealth(pk))
setPlayerStorageValue(cid, 2, 0)
doPlayerRemoveItem(cid, item.itemid, 1)
elseif item.itemid == 2288 then
if getPlayerLevel(cid) < 55 then
return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")
end
local pokeball = getPlayerSlotItem(cid, 8)
doItemSetAttribute(pokeball.uid, "poke", "This is Espeon's pokeball. HP = [5500/5500]")
doItemSetAttribute(pokeball.uid, "description", "Contains a Espeon.")
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Espeon!")
doSendMagicEffect(topos, 18)
doGoBackSetCooldown(cid)
doTransformItem(getPlayerSlotItem(cid, 7).uid, 11537)
doSendMagicEffect(getThingPos(cid), 173)
local oldpos = getThingPos(item2.uid)
doRemoveCreature(item2.uid)
doSummonMonster(cid, "Espeon")
local pk = getCreatureSummons(cid)[1]
registerCreatureEvent(pk, "DiePoke")
registerCreatureEvent(pk, "Exp")
doTeleportThing(pk, oldpos, false)
doCreatureSetLookDir(pk, 2)
setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))
doCreatureAddHealth(pk, getCreatureMaxHealth(pk))
setPlayerStorageValue(cid, 2, 0)
doPlayerRemoveItem(cid, item.itemid, 1)
elseif item.itemid == 2283 then
if getPlayerLevel(cid) < 55 then
return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).")
end
local pokeball = getPlayerSlotItem(cid, 8)
doItemSetAttribute(pokeball.uid, "poke", "This is Flareon's pokeball. HP = [5500/5500]")
doItemSetAttribute(pokeball.uid, "description", "Contains a Flareon.")
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Flareon!")
doSendMagicEffect(topos, 18)
doTransformItem(getPlayerSlotItem(cid, 7).uid, 2512)
doSendMagicEffect(getThingPos(cid), 173)
local oldpos = getThingPos(item2.uid)
doRemoveCreature(item2.uid)
doSummonMonster(cid, "Flareon")
local pk = getCreatureSummons(cid)[1]
registerCreatureEvent(pk, "DiePoke")
registerCreatureEvent(pk, "Exp")
doTeleportThing(pk, oldpos, false)
doCreatureSetLookDir(pk, 2)
setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))
doCreatureAddHealth(pk, getCreatureMaxHealth(pk))
setPlayerStorageValue(cid, 2, 0)
doPlayerRemoveItem(cid, item.itemid, 1)
end
local i = getCreatureName(getCreatureSummons(cid)[1])
if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then
doPlayerAddSoul(cid, 1)
setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")
end
return true
end
local count = pokes[getCreatureName(item2.uid)].count
local stnid = pokes[getCreatureName(item2.uid)].stoneid
local stnid2 = pokes[getCreatureName(item2.uid)].stoneid2
local evo = pokes[getCreatureName(item2.uid)].evolution
local levell = pokes[getCreatureName(item2.uid)].level
if stnid2 > 1 and getPlayerItemCount(cid, stnid2) < count then
return doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!")
end
if stnid2 > 1 and getPlayerItemCount(cid, stnid) < count then
return doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!")
end
if getPlayerItemCount(cid, stnid) < count then
return doPlayerSendCancel(cid, "You need at least "..count.." "..getItemNameById(stnid).."s to evolve this pokemon!")
end
if getPlayerLevel(cid) < pokes[getCreatureName(item2.uid)].level then
return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon ("..levell..").")
end
local owner = getCreatureMaster(item2.uid)
local pokeball = getPlayerSlotItem(cid, 8)
local description = "Contains a "..evo.."."
local nas = {
["%%pokename"] = pokes[getCreatureName(item2.uid)].evolution
}
for i,x in pairs(nas) do
if description:find(i) then
description = description:gsub(i, x)
end
end
local slo = pokes[getCreatureName(item2.uid)].maxh
local sle = pokes[getCreatureName(item2.uid)].evolution
doItemSetAttribute(pokeball.uid, "poke", "This is "..evo.."'s pokeball. HP = ["..pokes[getCreatureName(item2.uid)].maxh.."/"..pokes[getCreatureName(item2.uid)].maxh.."]")
doItemSetAttribute(pokeball.uid, "description", description)
doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a "..evo.."!")
doSendMagicEffect(topos, 18)
doGoBackSetCooldown(cid)
doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[sle].fotopoke)
if isIconeSystem(cid) then
doTransformItem(getPlayerSlotItem(cid, 8).uid, icons[evo].use)
end
doSendMagicEffect(getThingPos(cid), 173)
local oldpos = getThingPos(item2.uid)
doRemoveCreature(item2.uid)
doSummonMonster(cid, sle)
local pk = getCreatureSummons(cid)[1]
registerCreatureEvent(pk, "DiePoke")
registerCreatureEvent(pk, "Exp")
doTeleportThing(pk, oldpos, false)
doCreatureSetLookDir(pk, 2)
setCreatureMaxHealth(pk, slo)
doCreatureAddHealth(pk, slo)
setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid)))
doCreatureAddHealth(pk, getCreatureMaxHealth(pk))
doPlayerRemoveItem(cid, stnid, count)
doPlayerRemoveItem(cid, stnid2, count)
setPlayerStorageValue(cid, 2, 0)
local i = getCreatureName(getCreatureSummons(cid)[1])
if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then
doPlayerAddSoul(cid, 1)
setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")
end
break
else
return doPlayerSendCancel(cid, "Sorry, this is not the required stone to evolve this pokemon!")
end
end
end
end
return TRUE
end

Ele está funcionando normal eu só queria acrescentar uma coisa nele... quando o player usar a certa equivalente ao pokémon ele evoluir mas pra evolução ter um tempo ela durar apenas 30 minutos ou 1 hora e depois o pokémon dele desevoluir e voltar ao normal de antes ou então quando o pokémon dele morrer... ele voltar ao normal ( evolução antes dele ter evoluido )

Por ex: Eu tenho um Bulbasaur, evoluo para Ivysaur depois de 1 hora ou se ele morrer, ele volta pra Bulbasaur.

Queria pedir essa ajuda a vocês, por favor frown.png

 


@UP
Link para o comentário
Compartilhar em outros sites

3 respostass a esta questão

Posts Recomendados

×
×
  • Criar Novo...