Ir para conteúdo
  • Cadastre-se

Posts Recomendados

1° = Queria saber o seguinte, Meu server o Stagio do pokemon vai ate 100... queria saber como modifica-lo para aumentar.
2° = O server que to é o CenturionV8, As Ids do pokemon Articuno em fly na Lib/Configuration Está Ex: 1600 porem chego no ObjectBuilder esta 2200...Ai quando vou adicionar algum fly ao pokemon ele fica invisivel durante ao fly, queria saber como achar o id certo do pokemon em fly...Tentei ate no Item Editor mas n tem nada. 

3° =  Os pokes selvagens do meu server tem level, porém quero deixa-los mas queria que quando os players cata-se ele vinhe-se zerado.

Editado por Fabianoll (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

1° - Vai até a pasta data/xml e abra o arquivo stages.xml lá você configura suas stages.

 

o resto eu não sei.

"A morte feixa a porta da vida. e abre a porta da eternidade."

 

Attr:// [GM] Eddy

2013 ~ 2014 ~ 2015 R.I.P

 

                                                                                   VFVuKJ4.png

 

O retorno dos que não foram....

 

01000101 01110011 01110100 01101111 01110101 00100000 01110000 01110010 01101111 01100011 01110101 01110010 01100001 01101110 01100100 01101111 00100000 01110000 01100101 01110011 01110011 01101111 01100001 01110011 00100000 01100001 01101100 01110100 01100001 01101101 01100101 01101110 01110100 01100101 00100000 01101001 01101110 01110100 01100101 01101100 01101001 01100111 01100101 01101110 01110100 01100101 01110011 00100000 01110001 01110101 01100101 00100000 01100110 01101111 01110010 01100001 01101101 00100000 01100011 01100001 01110000 01100001 01111010 01100101 01110011 00100000 01100100 01100101 00100000 01100100 01100101 01100011 01101001 01100110 01110010 01100001 01110010 00100000 01100101 01110011 01110100 01100101 00100000 01100011 11110011 01100100 01101001 01100111 01101111 00100000 01110011 01100101 01101101 00100000 01100001 01101010 01110101 01100100 01100001 00100000 01100100 01100101 00100000 01110101 01101101 00100000 01110100 01110010 01100001 01100100 01110101 01110100 01101111 01110010 00101100 00100000 01110110 01101111 01100011 11101010 00100000 01110011 01100001 01100010 01100101 00100000 01101111 01110001 01110101 01100101 00100000 11101001 00100000 01100011 01101001 01100011 01100001 01100100 01100001 00100000 00110011 00110011 00110000 00110001 00111111 00101100 00100000 01110000 01110010 01101111 01100011 01110101 01110010 01100101 00100000 01110011 01100001 01100010 01100101 01110010 00100000 01110000 01101111 01101001 01110011 00100000 01100101 01110101 00100000 01110100 01100101 01101110 01101000 01101111 00100000 01100001 01101100 01100111 01110101 01101110 01110011 00100000 01100011 01101111 01101110 01110110 01101001 01110100 01100101 01110011 00101110 

Link para o post
Compartilhar em outros sites

Queria saber o Stagio do pokemon man, se souber agradeço, se nao de boa oq vale é a intençao

- Qual limite de level do pokemon voce quer?

exemplo: Eu quero 300 Pokelevel de Limite do Pokemon

- Vai em data/lib/Level tables.lua e troca tudo por isso:

function getPokemonExperienceTable(pokemonname)

if isInArray(fastexppokes, pokemonname) then

return fastexptable

elseif isInArray(mediumfastexppokes, pokemonname) then

return mediumfastexptable

elseif isInArray(mediumslowexppokes, pokemonname) then

return mediumslowexptable

elseif isInArray(slowexppokes, pokemonname) then

return slowexptable

end

print(""..pokemonname.." doesn't have an experience table speed gain. Check it at data/lib/level tables.lua.")

return mediumfastexptable

end

fastexppokes = {"Diglett", "Dugtrio", "Meowth", "Persian",

"Shiny Diglett", "Shiny Dugtrio", "Shiny Meowth", "Shiny Persian",

"Sentret", "Furret", "Unown", "Dunsparce",

"Shiny Sentret", "Shiny Furret", "Shiny Unown", "Shiny Dunsparce",

"Plusle", "Minun", "Volbeat", "Illumise", "Spinda", "Chimecho", "Luvdisc",

"Shiny Plusle", "Shiny Minun", "Shiny Volbeat", "Shiny Illumise", "Shiny Spinda", "Shiny Chimecho", "Shiny Luvdisc",

"Kricketot", "Kricketune",

"Shiny Kricketot", "Shiny Kricketune",

"Basculin", "Emolga", "Karrablast", "Escavalier", "Foongus", "Amoonguss", "Alomomola", "Shelmet", "Accelgor", "Stunfisk",

"Shiny Basculin", "Shiny Emolga", "Shiny Karrablast", "Shiny Escavalier", "Shiny Foongus", "Shiny Amoonguss", "Shiny Alomomola", "Shiny Shelmet", "Shiny Accelgor", "Shiny Stunfisk",

}

fastexptable = {

[1] = 0,

[2] = 51,

[3] = 172,

[4] = 409,

[5] = 800,

[6] = 1382,

[7] = 2195,

[8] = 3276,

[9] = 4665,

[10] = 6400,

[11] = 8518,

[12] = 11059,

[13] = 14060,

[14] = 17561,

[15] = 21600,

[16] = 26214,

[17] = 31443,

[18] = 37324,

[19] = 43897,

[20] = 51200,

[21] = 59270,

[22] = 68147,

[23] = 77868,

[24] = 88473,

[25] = 100000,

[26] = 112486,

[27] = 125971,

[28] = 140492,

[29] = 156089,

[30] = 172800,

[31] = 190662,

[32] = 209715,

[33] = 229996,

[34] = 251545,

[35] = 274400,

[36] = 298598,

[37] = 324179,

[38] = 351180,

[39] = 379641,

[40] = 409600,

[41] = 441094,

[42] = 474163,

[43] = 508844,

[44] = 545177,

[45] = 583200,

[46] = 622950,

[47] = 664467,

[48] = 707788,

[49] = 752953,

[50] = 800000,

[51] = 848966,

[52] = 899891,

[53] = 952812,

[54] = 1007769,

[55] = 1064800,

[56] = 1123942,

[57] = 1185235,

[58] = 1248716,

[59] = 1314425,

[60] = 1382400,

[61] = 1452678,

[62] = 1525299,

[63] = 1600300,

[64] = 1677721,

[65] = 1757600,

[66] = 1839974,

[67] = 1924883,

[68] = 2012364,

[69] = 2102457,

[70] = 2195200,

[71] = 2290630,

[72] = 2388787,

[73] = 2489708,

[74] = 2593433,

[75] = 2700000,

[76] = 2809446,

[77] = 2921811,

[78] = 3037132,

[79] = 3155449,

[80] = 3276800,

[81] = 3401222,

[82] = 3528755,

[83] = 3659436,

[84] = 3793305,

[85] = 3930400,

[86] = 4070758,

[87] = 4214419,

[88] = 4361420,

[89] = 4511801,

[90] = 4665600,

[91] = 4822854,

[92] = 4983603,

[93] = 5147884,

[94] = 5315737,

[95] = 5487200,

[96] = 5662310,

[97] = 5841107,

[98] = 6023628,

[99] = 6209913,

[100] = 6250000,

[101] = 6400000,

[102] = 6500000,

[103] = 6600000,

[104] = 6700000,

[105] = 6800000,

[106] = 6900000,

[107] = 7000000,

[108] = 7100000,

[109] = 7200000,

[110] = 7300000,

[111] = 7400000,

[112] = 7500000,

[113] = 7600000,

[114] = 7700000,

[115] = 7800000,

[116] = 7900000,

[117] = 8000000,

[118] = 8100000,

[119] = 8220000,

[120] = 8340000,

[121] = 8460000,

[122] = 8580000,

[123] = 8600000,

[124] = 8720000,

[125] = 8840000,

[126] = 8960000,

[127] = 9080000,

[128] = 9100000,

[129] = 9220000,

[130] = 9340000,

[131] = 9460000,

[132] = 9580000,

[133] = 9600000,

[134] = 9720000,

[135] = 9840000,

[136] = 9960000,

[137] = 10080000,

[138] = 10100000,

[139] = 10200000,

[140] = 10300000,

[141] = 10400000,

[142] = 10500000,

[143] = 10600000,

[144] = 11700000,

[145] = 11800000,

[146] = 11900000,

[147] = 12030000,

[148] = 12100600,

[149] = 12200000,

[150] = 12300000,

[151] = 12400000,

[152] = 12500000,

[153] = 12600000,

[154] = 12700000,

[155] = 12800000,

[156] = 12900000,

[157] = 13000000,

[158] = 13100000,

[159] = 13200000,

[160] = 13340000,

[161] = 13400000,

[162] = 13500000,

[163] = 13600000,

[164] = 13700000,

[165] = 13800000,

[166] = 13900000,

[167] = 14000000,

[168] = 14100000,

[169] = 14200000,

[170] = 14300000,

[171] = 14400000,

[172] = 14500000,

[173] = 14600000,

[174] = 14700000,

[175] = 14800000,

[176] = 14900000,

[177] = 15080000,

[178] = 15100000,

[179] = 15200000,

[180] = 15300000,

[181] = 15400000,

[182] = 15500000,

[183] = 15700000,

[184] = 15900000,

[185] = 16100000,

[186] = 16360000,

[187] = 16500000,

[188] = 16700000,

[189] = 16900000,

[190] = 17100000,

[191] = 17300000,

[192] = 17500000,

[193] = 17700000,

[194] = 17900000,

[195] = 18100000,

[196] = 18300000,

[197] = 18500000,

[198] = 18700000,

[199] = 19500000,

[200] = 20000000,

[201] = 20400000,

[202] = 20800000,

[203] = 21200000,

[204] = 21600000,

[205] = 22000000,

[206] = 22400000,

[207] = 22800000,

[208] = 23200000,

[209] = 23600000,

[210] = 24000000,

[211] = 24400000,

[212] = 24800000,

[213] = 25200000,

[214] = 25600000,

[215] = 26000000,

[216] = 26400000,

[217] = 26800000,

[218] = 27200000,

[219] = 27600000,

[220] = 28000000,

[221] = 28400000,

[222] = 28800000,

[223] = 29200000,

[224] = 29440000,

[225] = 29905000,

[226] = 30610060,

[227] = 31001007,

[228] = 31400000,

[229] = 31800000,

[230] = 32200000,

[231] = 32600000,

[232] = 33000000,

[233] = 33400000,

[234] = 33800000,

[235] = 34240000,

[236] = 34660000,

[237] = 35080000,

[238] = 35400000,

[239] = 35820000,

[240] = 36040000,

[241] = 36400000,

[242] = 36800000,

[243] = 37200000,

[244] = 37600000,

[245] = 38000000,

[246] = 38400000,

[247] = 38600000,

[248] = 39000000,

[249] = 39500000,

[250] = 40000000,

[251] = 40500000,

[252] = 41000000,

[253] = 41500000,

[254] = 42000000,

[255] = 42500000,

[256] = 43000000,

[257] = 43500000,

[258] = 44000000,

[259] = 44500000,

[260] = 45000000,

[261] = 45500000,

[262] = 46000000,

[263] = 46500000,

[264] = 47000000,

[265] = 47500000,

[266] = 48000000,

[267] = 48500000,

[268] = 49000000,

[269] = 49500000,

[270] = 50000000,

[271] = 50500000,

[272] = 51000000,

[273] = 51500000,

[274] = 52000000,

[275] = 52500000,

[276] = 53000000,

[277] = 53500000,

[278] = 54000000,

[279] = 54500000,

[280] = 55000000,

[281] = 55500000,

[282] = 56000000,

[283] = 56500000,

[284] = 57000000,

[285] = 57500000,

[286] = 58000000,

[287] = 58500000,

[288] = 59000000,

[289] = 59500000,

[290] = 60000000,

[291] = 60500000,

[292] = 61000000,

[293] = 61500000,

[294] = 62000000,

[295] = 62500000,

[296] = 63000000,

[297] = 63500000,

[298] = 64000000,

[299] = 64500000,

[300] = 65000000,

[301] = 999999999}

mediumfastexppokes = {"Shelgon","Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Rattata", "Raticate", "Ekans", "Arbok", "Clefairy", "Clefable", "Jigglypuff", "Wigglytuff", "Venonat", "Venomoth", "Mankey", "Primeape", "Doduo", "Dodrio",

"Grimer", "Muk", "Krabby", "Kingler", "Voltorb", "Electrode", "Cubone", "Marowak", "Koffing", "Weezing", "Goldeen", "Seaking", "Staryu", "Starmie", "Tauros",

"Shiny Caterpie", "Shiny Metapod", "Shiny Butterfree", "Shiny Weedle", "Shiny Kakuna", "Shiny Beedrill", "Shiny Rattata", "Shiny Raticate", "Shiny Ekans", "Shiny Arbok", "Shiny Clefairy", "Shiny Clefable", "Shiny Jigglypuff", "Shiny Wigglytuff",

"Shiny Venonat", "Shiny Venomoth", "Shiny Mankey", "Shiny Primeape", "Shiny Doduo", "Shiny Dodrio", "Shiny Grimer", "Shiny Muk", "Shiny Krabby", "Shiny Kingler", "Shiny Voltorb", "Shiny Electrode", "Shiny Cubone", "Shiny Marowak", "Shiny Koffing",

"Shiny Weezing", "Shiny Goldeen", "Shiny Seaking", "Shiny Staryu", "Shiny Starmie", "Shiny Tauros",

"Hoothoot", "Noctowl", "Ledyba", "Ledian", "Chinchou", "Lanturn", "Igglybuff", "Natu", "Xatu", "Marill", "Azumarill", "Hoppip", "Skiploom", "Jumpluff", "Cleffa", "Sunkern", "Sunflora", "Wooper", "Quagsire", "Pineco", "Forretress", "Snubbull",

"Granbull", "Qwilfish", "Shuckle", "Slugma", "Magcargo", "Remoraid", "Octillery", "Delibird", "Phanpy", "Donphan", "Smeargle",

"Shiny Hoothoot", "Shiny Noctowl", "Shiny Ledyba", "Shiny Ledian", "Shiny Chinchou", "Shiny Lanturn", "Shiny Igglybuff", "Shiny Natu", "Shiny Xatu", "Shiny Marill", "Shiny Azumarill", "Shiny Hoppip", "Shiny Skiploom", "Shiny Jumpluff", "Shiny Cleffa",

"Shiny Sunkern", "Shiny Sunflora", "Shiny Wooper", "Shiny Quagsire", "Shiny Pineco", "Shiny Forretress", "Shiny Snubbull", "Shiny Granbull", "Shiny Qwilfish", "Shiny Shuckle", "Shiny Slugma", "Shiny Magcargo", "Shiny Remoraid", "Shiny Octillery",

"Shiny Delibird", "Shiny Phanpy", "Shiny Donphan", "Shiny Smeargle",

"Poochyena", "Mightyena", "Zigzagoon", "Linoone", "Wurmple", "Silcoon", "Beautifly", "Cascoon", "Dustux", "Lotad", "Lombre", "Ludicolo", "Sedot", "Nuzleaf", "Shiftry", "Tailow", "Swellow", "Wingull", "Pelipper", "Surskit", "Masquerain", "Nincada", "Ninjask",

"Shedinja", "Skitty", "Delcaty", "Sableye", "Mawile", "Torkoal", "Spoink", "Grumpig", "Cacnea", "Cacturne", "Barboach", "Whiscash", "Baltoy", "Claydol", "Castform", "Kecleon", "Shuppet", "Banette", "Snorunt", "Glalie",

"Shiny Poochyena", "Shiny Mightyena", "Shiny Zigzagoon", "Shiny Linoone", "Shiny Wurmple", "Shiny Silcoon", "Shiny Beautifly", "Shiny Cascoon", "Shiny Dustux", "Shiny Lotad", "Shiny Lombre", "Shiny Ludicolo", "Shiny Sedot", "Shiny Nuzleaf", "Shiny Shiftry",

"Shiny Tailow", "Shiny Swellow", "Shiny Wingull", "Shiny Pelipper", "Surskit", "Masquerain", "Nincada", "Ninjask", "Shiny Shedinja", "Shiny Skitty", "Shiny Delcaty", "Shiny Sableye", "Shiny Mawile", "Shiny Torkoal", "Shiny Spoink", "Shiny Grumpig",

"Shiny Cacnea", "Shiny Cacturne", "Shiny Barboach", "Shiny Whiscash", "Shiny Baltoy", "Shiny Claydol", "Shiny Castform", "Shiny Kecleon", "Shiny Shuppet", "Shiny Banette", "Shiny Snorunt", "Shiny Glalie",

"Bidoof", "Bibarel", "Burmy", "Wormadam", "Mothim", "Combee", "Vespiquen", "Pachirisu", "Froslass", "Azurill", "Cherubi", "Cherrim", "Shellos", "Gastrodon", "Drifloon", "Drifblim", "Buneary", "Lopunny", "Glameow", "Purugly", "Stunky", "Skuntank", "Chingling",

"Bronzor", "Bronzong", "Chatot", "Finneon", "Lumineon",

"Shiny Bidoof", "Shiny Bibarel", "Shiny Burmy", "Shiny Wormadam", "Shiny Mothim", "Shiny Combee", "Shiny Vespiquen", "Shiny Pachirisu", "Shiny Froslass", "Shiny Azurill", "Shiny Cherubi", "Shiny Cherrim", "Shiny Shellos", "Shiny Gastrodon", "Shiny Drifloon",

"Shiny Drifblim", "Shiny Buneary", "Shiny Lopunny", "Shiny Glameow", "Shiny Purugly", "Shiny Stunky", "Shiny Skuntank", "Shiny Chingling", "Shiny Bronzor", "Shiny Bronzong", "Shiny Chatot", "Shiny Finneon", "Shiny Lumineon",

"Patrat", "Watchog", "Lillipup", "Herdier", "Stoutland", "Purrloin", "Liepard", "Pansage", "Simisage", "Pansear", "Simisear", "Panpour", "Simipour", "Munna", "Musharna", "Pidove", "Tranquill", "Unfezant", "Blitzle", "Zebstrika", "Woobat", "Swoobat",

"Drilbur", "Excadrill", "Audino", "Sewaddle", "Swadloon", "Leavanny", "Cottonee", "Whimsicott", "Petilil", "Lilligant", "Maractus", "Dwebble", "Crustle", "Scraggy", "Scrafty", "Sigilyph", "Trubbish", "Garbodor", "Minccino", "Cinccino", "Ducklett",

"Swanna", "Vanillite", "Vanillish", "Vanilluxe", "Deerling", "Sawsbuck", "Joltik", "Galvantula", "Ferroseed", "Ferrothorn", "Klink", "Klang", "Klinklang", "Elgyem", "Beheeyem", "Litwick", "Lampent", "Chandelure", "Cryogonal", "Mienfoo", "Mienshao",

"Druddigon", "Pawniard", "Bisharp", "Heatmor", "Durant",

"Shiny Patrat", "Shiny Watchog", "Shiny Lillipup", "Shiny Herdier", "Shiny Stoutland", "Shiny Purrloin", "Shiny Liepard", "Shiny Pansage", "Shiny Simisage", "Shiny Pansear", "Shiny Simisear", "Shiny Panpour", "Shiny Simipour", "Shiny Munna", "Shiny Musharna",

"Shiny Pidove", "Shiny Tranquill", "Shiny Unfezant", "Shiny Blitzle", "Shiny Zebstrika", "Shiny Woobat", "Shiny Swoobat", "Shiny Drilbur", "Shiny Excadrill", "Shiny Audino", "Shiny Sewaddle", "Shiny Swadloon", "Shiny Leavanny", "Shiny Cottonee", "Shiny Whimsicott",

"Shiny Petilil", "Shiny Lilligant", "Shiny Maractus", "Shiny Dwebble", "Shiny Crustle", "Shiny Scraggy", "Shiny Scrafty", "Shiny Sigilyph", "Shiny Trubbish", "Shiny Garbodor", "Shiny Minccino", "Shiny Cinccino", "Shiny Ducklett", "Shiny Swanna", "Shiny Vanillite",

"Shiny Vanillish", "Shiny Vanilluxe", "Shiny Deerling", "Shiny Sawsbuck", "Shiny Joltik", "Shiny Galvantula", "Shiny Ferroseed", "Shiny Ferrothorn", "Shiny Klink", "Shiny Klang", "Shiny Klinklang", "Shiny Elgyem", "Shiny Beheeyem", "Shiny Litwick", "Shiny Lampent",

"Shiny Chandelure", "Shiny Cryogonal", "Shiny Mienfoo", "Shiny Mienshao", "Shiny Druddigon", "Shiny Pawniard", "Shiny Bisharp", "Shiny Heatmor", "Shiny Durant",

}

mediumfastexptable = {

[1] = 0,

[2] = 64,

[3] = 216,

[4] = 512,

[5] = 1000,

[6] = 1728,

[7] = 2744,

[8] = 4096,

[9] = 5832,

[10] = 8000,

[11] = 10648,

[12] = 13824,

[13] = 17576,

[14] = 21952,

[15] = 27000,

[16] = 32768,

[17] = 39304,

[18] = 46656,

[19] = 54872,

[20] = 64000,

[21] = 74088,

[22] = 85184,

[23] = 97336,

[24] = 110592,

[25] = 125000,

[26] = 140608,

[27] = 157464,

[28] = 175616,

[29] = 195112,

[30] = 216000,

[31] = 238328,

[32] = 262144,

[33] = 287496,

[34] = 314432,

[35] = 343000,

[36] = 373248,

[37] = 405224,

[38] = 438976,

[39] = 474552,

[40] = 512000,

[41] = 551368,

[42] = 592704,

[43] = 636056,

[44] = 681472,

[45] = 729000,

[46] = 778688,

[47] = 830584,

[48] = 884736,

[49] = 941192,

[50] = 1000000,

[51] = 1061208,

[52] = 1124864,

[53] = 1191016,

[54] = 1259712,

[55] = 1331000,

[56] = 1404928,

[57] = 1481544,

[58] = 1560896,

[59] = 1643032,

[60] = 1728000,

[61] = 1815848,

[62] = 1906624,

[63] = 2000376,

[64] = 2097152,

[65] = 2197000,

[66] = 2299968,

[67] = 2406104,

[68] = 2515456,

[69] = 2628072,

[70] = 2744000,

[71] = 2863288,

[72] = 2985984,

[73] = 3112136,

[74] = 3241792,

[75] = 3375000,

[76] = 3511808,

[77] = 3652264,

[78] = 3796416,

[79] = 3944312,

[80] = 4096000,

[81] = 4251528,

[82] = 4410944,

[83] = 4574296,

[84] = 4741632,

[85] = 4913000,

[86] = 5088448,

[87] = 5268024,

[88] = 5451776,

[89] = 5639752,

[90] = 5832000,

[91] = 6028568,

[92] = 6229504,

[93] = 6434856,

[94] = 6644672,

[95] = 6859000,

[96] = 7077888,

[97] = 7301384,

[98] = 7529536,

[99] = 7762392,

[100] = 8000000,

[101] = 8200000,

[102] = 8300000,

[103] = 8400000,

[104] = 8500000,

[105] = 8600000,

[106] = 8700000,

[107] = 8800000,

[108] = 8900000,

[109] = 9100000,

[110] = 9300000,

[111] = 9500000,

[112] = 9600000,

[113] = 9800000,

[114] = 9900000,

[115] = 10000000,

[116] = 10200000,

[117] = 10400000,

[118] = 10600000,

[119] = 10820000,

[120] = 11000000,

[121] = 11300000,

[122] = 11500000,

[123] = 11730000,

[124] = 11804000,

[125] = 11900500,

[126] = 12001600,

[127] = 12200107,

[128] = 12400000,

[129] = 12600000,

[130] = 12900000,

[131] = 13100000,

[132] = 13300000,

[133] = 13500000,

[134] = 13700000,

[135] = 13940000,

[136] = 14260000,

[137] = 14380000,

[138] = 14500000,

[139] = 14720000,

[140] = 14840000,

[141] = 15000000,

[142] = 15100000,

[143] = 15200000,

[144] = 15400000,

[145] = 15800000,

[146] = 16200000,

[147] = 16300000,

[148] = 16500000,

[149] = 16700000,

[150] = 16900000,

[151] = 17100000,

[152] = 17300000,

[153] = 17500000,

[154] = 17700000,

[155] = 17900000,

[156] = 18200000,

[157] = 18400000,

[158] = 18600000,

[159] = 18900000,

[160] = 19100000,

[161] = 19300000,

[162] = 19600000,

[163] = 19900000,

[164] = 20000000,

[165] = 20100000,

[166] = 20300000,

[167] = 20400000,

[168] = 20500000,

[169] = 20700000,

[170] = 20900000,

[171] = 21100000,

[172] = 21300000,

[173] = 21500000,

[174] = 21700000,

[175] = 21900000,

[176] = 22200000,

[177] = 22500000,

[178] = 22700000,

[179] = 22900000,

[180] = 23100000,

[181] = 23300000,

[182] = 23600000,

[183] = 23900000,

[184] = 24200000,

[185] = 24500000,

[186] = 24900000,

[187] = 25300000,

[188] = 25800000,

[189] = 26100000,

[190] = 26300000,

[191] = 26700000,

[192] = 27200000,

[193] = 27900000,

[194] = 28100000,

[195] = 28400000,

[196] = 28700000,

[197] = 29200000,

[198] = 29500000,

[199] = 39700000,

[200] = 40000000,

[201] = 40400000,

[202] = 40800000,

[203] = 41200000,

[204] = 41600000,

[205] = 42000000,

[206] = 42400000,

[207] = 42800000,

[208] = 43200000,

[209] = 43600000,

[210] = 44000000,

[211] = 44400000,

[212] = 44800000,

[213] = 45200000,

[214] = 45600000,

[215] = 46000000,

[216] = 46400000,

[217] = 46800000,

[218] = 47200000,

[219] = 47600000,

[220] = 48000000,

[221] = 48400000,

[222] = 48800000,

[223] = 49200000,

[224] = 49440000,

[225] = 49905000,

[226] = 50610060,

[227] = 51001007,

[228] = 51400000,

[229] = 51800000,

[230] = 52200000,

[231] = 52600000,

[232] = 53000000,

[233] = 53400000,

[234] = 53800000,

[235] = 54240000,

[236] = 54660000,

[237] = 55080000,

[238] = 55400000,

[239] = 55820000,

[240] = 56040000,

[241] = 56400000,

[242] = 56800000,

[243] = 57200000,

[244] = 57600000,

[245] = 58000000,

[246] = 58400000,

[247] = 58600000,

[248] = 59000000,

[249] = 59500000,

[250] = 60000000,

[251] = 60500000,

[252] = 61000000,

[253] = 61500000,

[254] = 62000000,

[255] = 62500000,

[256] = 63000000,

[257] = 63500000,

[258] = 64000000,

[259] = 64500000,

[260] = 65000000,

[261] = 65500000,

[262] = 66000000,

[263] = 66500000,

[264] = 67000000,

[265] = 67500000,

[266] = 68000000,

[267] = 68500000,

[268] = 69000000,

[269] = 69500000,

[270] = 70000000,

[271] = 70500000,

[272] = 71000000,

[273] = 71500000,

[274] = 72000000,

[275] = 72500000,

[276] = 73000000,

[277] = 73500000,

[278] = 74000000,

[279] = 74500000,

[280] = 75000000,

[281] = 75500000,

[282] = 76000000,

[283] = 76500000,

[284] = 77000000,

[285] = 77500000,

[286] = 78000000,

[287] = 78500000,

[288] = 79000000,

[289] = 79500000,

[290] = 80000000,

[291] = 80500000,

[292] = 81000000,

[293] = 81500000,

[294] = 82000000,

[295] = 82500000,

[296] = 83000000,

[297] = 83500000,

[298] = 84000000,

[299] = 84500000,

[300] = 85000000,

[301] = 999999999}

mediumslowexppokes = {"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise", "Pidgey", "Pidgeotto", "Pidgeot", "Spearow", "Fearow", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran Female",

"Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Vulpix", "Ninetales", "Zubat", "Golbat", "Oddish", "Gloom", "Vileplume", "Paras", "Parasect", "Psyduck", "Golduck", "Poliwag", "Poliwhirl", "Poliwrath", "Bellsprout", "Weepinbell",

"Victreebel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke", "Slowbro", "Magnemite", "Magneton", "Farfetch'd", "Seel", "Dewgong", "Eevee", "Vaporeon", "Jolteon", "Flareon", "Shellder", "Cloyster", "Drowzee", "Hypno", "Exeggcute",

"Exeggutor", "Lickitung", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Mr. Mime", "Jynx", "Pinsir", "Ditto", "Porygon", "Omanyte", "Omastar",

"Shiny Bulbasaur", "Shiny Ivysaur", "Shiny Venusaur", "Shiny Charmander", "Shiny Charmeleon", "Shiny Charizard", "Shiny Squirtle", "Shiny Wartortle", "Shiny Blastoise", "Shiny Pidgey", "Shiny Pidgeotto", "Shiny Pidgeot", "Shiny Spearow", "Shiny Fearow",

"Shiny Pikachu", "Shiny Raichu", "Shiny Sandshrew", "Shiny Sandslash", "Shiny Nidoran Female", "Shiny Nidorina", "Shiny Nidoqueen", "Shiny Nidoran Male", "Shiny Nidorino", "Shiny Nidoking", "Shiny Vulpix", "Shiny Ninetales", "Shiny Zubat", "Shiny Golbat",

"Shiny Oddish", "Shiny Gloom", "Shiny Vileplume", "Shiny Paras", "Shiny Parasect", "Shiny Psyduck", "Shiny Golduck", "Shiny Poliwag", "Shiny Poliwhirl", "Shiny Poliwrath", "Shiny Bellsprout", "Shiny Weepinbell", "Shiny Victreebel", "Shiny Geodude",

"Shiny Graveler", "Shiny Golem", "Shiny Ponyta", "Shiny Rapidash", "Shiny Slowpoke", "Shiny Slowbro", "Shiny Magnemite", "Shiny Magneton", "Shiny Farfetch'd", "Shiny Seel", "Shiny Dewgong", "Shiny Eevee", "Shiny Vaporeon", "Shiny Jolteon", "Shiny Flareon",

"Shiny Shellder", "Shiny Cloyster", "Shiny Drowzee", "Shiny Hypno", "Shiny Exeggcute", "Shiny Exeggutor", "Shiny Lickitung", "Shiny Chansey", "Shiny Tangela", "Shiny Kangaskhan", "Shiny Horsea", "Shiny Seadra", "Shiny Mr. Mime", "Shiny Jynx", "Shiny Pinsir",

"Shiny Ditto", "Shiny Porygon", "Shiny Omanyte", "Shiny Omastar",

"Chikorita", "Bayleef", "Meganium", "Cyndaquil", "Quilava", "Typhlosion", "Totodile", "Croconaw", "Feraligatr", "Crobat", "Spinarak", "Ariados", "Mareep", "Flaaffy", "Ampharos", "Bellossom", "Pichu", "Aipom", "Murkrow", "Gligar", "Sudowoodo", "Politoed",

"Yanma", "Slowking", "Espeon", "Umbreon", "Misdreavus", "Girafarig", "Sneasel", "Corsola", "Mantine", "Skarmory", "Kingdra", "Houndour", "Houndoom", "Porygon2", "Stantler", "Smoochum", "Miltank", "Blissey",

"Shiny Chikorita", "Shiny Bayleef", "Shiny Meganium", "Shiny Cyndaquil", "Shiny Quilava", "Shiny Typhlosion", "Shiny Totodile", "Shiny Croconaw", "Shiny Feraligatr", "Shiny Crobat", "Shiny Spinarak", "Shiny Ariados", "Shiny Mareep", "Shiny Flaaffy",

"Shiny Ampharos", "Shiny Bellossom", "Shiny Pichu", "Shiny Aipom", "Shiny Murkrow", "Shiny Gligar", "Shiny Sudowoodo", "Shiny Politoed", "Shiny Yanma", "Shiny Slowking", "Shiny Espeon", "Shiny Umbreon", "Shiny Misdreavus", "Shiny Girafarig", "Shiny Sneasel",

"Shiny Corsola", "Shiny Mantine", "Shiny Skarmory", "Shiny Kingdra", "Shiny Houndour", "Shiny Houndoom", "Shiny Porygon2", "Shiny Stantler", "Shiny Smoochum", "Shiny Miltank", "Shiny Blissey",

"Treecko", "Grovyle", "Sceptile", "Torchic", "Combusken", "Blaziken", "Mudkip", "Marshtomp", "Swampert", "Shroomish", "Breloom", "Whismur", "Loudren", "Exploud", "Roselia", "Meditide", "Medicham", "Electrike", "Manectric", "Gulpin", "Swallot", "Carvanha",

"Sharpedo", "Zangoose", "Seviper", "Numel", "Camerupt", "Swablu", "Altaria", "Lunatone", "Solrock", "Corpish", "Crawdaunt", "Lileep", "Cradily", "Anorith", "Armaldo", "Tropius", "Nosepass", "Clamperl", "Huntail", "Gorabys", "Relicanth",

"Shiny Treecko", "Shiny Grovyle", "Shiny Sceptile", "Shiny Torchic", "Shiny Combusken", "Shiny Blaziken", "Shiny Mudkip", "Shiny Marshtomp", "Shiny Swampert", "Shiny Shroomish", "Shiny Breloom", "Shiny Whismur", "Shiny Loudren", "Shiny Exploud", "Shiny Roselia",

"Shiny Meditide", "Shiny Medicham", "Shiny Electrike", "Shiny Manectric", "Shiny Gulpin", "Shiny Swallot", "Shiny Carvanha", "Shiny Sharpedo", "Shiny Zangoose", "Shiny Seviper", "Shiny Numel", "Shiny Camerupt", "Shiny Swablu", "Shiny Altaria", "Shiny Lunatone",

"Shiny Solrock", "Shiny Corpish", "Shiny Crawdaunt", "Shiny Lileep", "Shiny Cradily", "Shiny Anorith", "Shiny Armaldo", "Shiny Tropius", "Shiny Nosepass", "Shiny Clamperl", "Shiny Huntail", "Shiny Gorabys", "Shiny Relicanth",

"Turtwig", "Grotle", "Torterra", "Chimchar", "Monferno", "Infernape", "Piplup", "Prinplup", "Empoleon", "Mime Jr.", "Starly", "Staravia", "Staraptor", "Shinx", "Luxio", "Luxray", "Budew", "Roserade", "Shieldon", "Bastiodon", "Buizel", "Floatzel", "Bonsly",

"Ambipom", "Honchkrow", "Mismagius", "Spiritomb", "Happiny", "Riolu", "Lucario", "Hippopotas", "Hippowdon", "Skorupi", "Drapion", "Croagunk", "Toxicroak", "Carnivine", "Mantyke", "Snover", "Abomasnow", "Weavile", "Magnezone", "Porygon-Z", "Lickilicky",

"Tangrowth", "Yanmega", "Leafeon", "Glaceon", "Gliscor", "Probopass", "Rotom",

"Shiny Turtwig", "Shiny Grotle", "Shiny Torterra", "Shiny Chimchar", "Shiny Monferno", "Shiny Infernape", "Shiny Piplup", "Shiny Prinplup", "Shiny Empoleon", "Shiny Mime Jr.", "Shiny Starly", "Shiny Staravia", "Shiny Staraptor", "Shiny Shinx", "Shiny Luxio",

"Shiny Luxray", "Shiny Budew", "Shiny Roserade", "Shiny Shieldon", "Shiny Bastiodon", "Shiny Buizel", "Shiny Floatzel", "Shiny Bonsly", "Shiny Ambipom", "Shiny Honchkrow", "Shiny Mismagius", "Shiny Spiritomb", "Shiny Happiny", "Shiny Riolu", "Shiny Lucario",

"Shiny Hippopotas", "Shiny Hippowdon", "Shiny Skorupi", "Shiny Drapion", "Shiny Croagunk", "Shiny Toxicroak", "Shiny Carnivine", "Shiny Mantyke", "Shiny Snover", "Shiny Abomasnow", "Shiny Weavile", "Shiny Magnezone", "Shiny Porygon-Z", "Shiny Lickilicky",

"Shiny Tangrowth", "Shiny Yanmega", "Shiny Leafeon", "Shiny Glaceon", "Shiny Gliscor", "Shiny Probopass", "Shiny Rotom",

"Snivy", "Servine", "Serperior", "Tepig", "Pignite", "Emboar", "Oshawott", "Dewott", "Samurott", "Roggenrola", "Boldore", "Gigalith", "Timburr", "Gurdurr", "Conkeldurr", "Tympole", "Palpitoad", "Seismitoad", "Throh", "Sawk", "Venipede", "Whirlipede", "Scolipede",

"Sandile", "Krokorok", "Krookodile", "Darumaka", "Darmanitan", "Yamask", "Cofagrigus", "Tirtouga", "Carracosta", "Archen", "Archeops", "Zorua", "Zoroark", "Gothita", "Gothorita", "Gothitelle", "Solosis", "Duosion", "Reuniclus", "Frillish", "Jellicent", "Tynamo",

"Eelektrik", "Eelektross", "Cubchoo", "Beartic", "Golett", "Golurk", "Bouffalant", "Rufflet", "Braviary", "Vullaby", "Mandibuzz", "Larvesta", "Volcarona",

"Shiny Snivy", "Shiny Servine", "Shiny Serperior", "Shiny Tepig", "Shiny Pignite", "Shiny Emboar", "Shiny Oshawott", "Shiny Dewott", "Shiny Samurott", "Shiny Roggenrola", "Shiny Boldore", "Shiny Gigalith", "Shiny Timburr", "Shiny Gurdurr", "Shiny Conkeldurr",

"Shiny Tympole", "Shiny Palpitoad", "Shiny Seismitoad", "Shiny Throh", "Shiny Sawk", "Shiny Venipede", "Shiny Whirlipede", "Shiny Scolipede", "Shiny Sandile", "Shiny Krokorok", "Shiny Krookodile", "Shiny Darumaka", "Shiny Darmanitan", "Shiny Yamask", "Shiny Cofagrigus",

"Shiny Tirtouga", "Shiny Carracosta", "Shiny Archen", "Shiny Archeops", "Shiny Zorua", "Shiny Zoroark", "Shiny Gothita", "Shiny Gothorita", "Shiny Gothitelle", "Shiny Solosis", "Shiny Duosion", "Shiny Reuniclus", "Shiny Frillish", "Shiny Jellicent", "Shiny Tynamo",

"Shiny Eelektrik", "Shiny Eelektross", "Shiny Cubchoo", "Shiny Beartic", "Shiny Golett", "Shiny Golurk", "Shiny Bouffalant", "Shiny Rufflet", "Shiny Braviary", "Shiny Vullaby", "Shiny Mandibuzz", "Shiny Larvesta", "Shiny Volcarona",

"Sylveon",

}

mediumslowexptable = {

[1] = 0,

[2] = 72,

[3] = 456,

[4] = 768,

[5] = 1080,

[6] = 1432,

[7] = 1888,

[8] = 2512,

[9] = 3352,

[10] = 4480,

[11] = 5936,

[12] = 7784,

[13] = 10088,

[14] = 12896,

[15] = 16280,

[16] = 20280,

[17] = 24960,

[18] = 30384,

[19] = 36600,

[20] = 43680,

[21] = 51664,

[22] = 60616,

[23] = 70600,

[24] = 81664,

[25] = 93880,

[26] = 107288,

[27] = 121952,

[28] = 137936,

[29] = 155288,

[30] = 174080,

[31] = 194352,

[32] = 216168,

[33] = 239592,

[34] = 264672,

[35] = 291480,

[36] = 320056,

[37] = 350464,

[38] = 382768,

[39] = 417016,

[40] = 453280,

[41] = 491600,

[42] = 532040,

[43] = 574664,

[44] = 619520,

[45] = 666680,

[46] = 716184,

[47] = 768096,

[48] = 822480,

[49] = 879384,

[50] = 938880,

[51] = 1001008,

[52] = 1065832,

[53] = 1133416,

[54] = 1203808,

[55] = 1277080,

[56] = 1353272,

[57] = 1432448,

[58] = 1514672,

[59] = 1599992,

[60] = 1688480,

[61] = 1780176,

[62] = 1875144,

[63] = 1973448,

[64] = 2075136,

[65] = 2180280,

[66] = 2288920,

[67] = 2401120,

[68] = 2516944,

[69] = 2636440,

[70] = 2759680,

[71] = 2886704,

[72] = 3017576,

[73] = 3152360,

[74] = 3291104,

[75] = 3433880,

[76] = 3580728,

[77] = 3731712,

[78] = 3886896,

[79] = 4046328,

[80] = 4210080,

[81] = 4378192,

[82] = 4550728,

[83] = 4727752,

[84] = 4909312,

[85] = 5095480,

[86] = 5286296,

[87] = 5481824,

[88] = 5682128,

[89] = 5887256,

[90] = 6097280,

[91] = 6312240,

[92] = 6532200,

[93] = 6757224,

[94] = 6987360,

[95] = 7222680,

[96] = 7463224,

[97] = 7709056,

[98] = 7960240,

[99] = 8216824,

[100] = 8300000,

[101] = 8400000,

[102] = 8500000,

[103] = 8600000,

[104] = 8700000,

[105] = 8800000,

[106] = 8900000,

[107] = 9000000,

[108] = 9100000,

[109] = 9200000,

[110] = 9300000,

[111] = 9500000,

[112] = 9600000,

[113] = 9800000,

[114] = 9900000,

[115] = 10000000,

[116] = 10200000,

[117] = 10400000,

[118] = 10600000,

[119] = 10820000,

[120] = 11000000,

[121] = 11300000,

[122] = 11500000,

[123] = 11730000,

[124] = 11804000,

[125] = 11900500,

[126] = 12001600,

[127] = 12200107,

[128] = 12400000,

[129] = 12600000,

[130] = 12900000,

[131] = 13100000,

[132] = 13300000,

[133] = 13500000,

[134] = 13700000,

[135] = 13940000,

[136] = 14260000,

[137] = 14380000,

[138] = 14500000,

[139] = 14720000,

[140] = 14840000,

[141] = 15000000,

[142] = 15100000,

[143] = 15200000,

[144] = 15400000,

[145] = 15800000,

[146] = 16200000,

[147] = 16300000,

[148] = 16500000,

[149] = 16700000,

[150] = 16900000,

[151] = 17100000,

[152] = 17300000,

[153] = 17500000,

[154] = 17700000,

[155] = 17900000,

[156] = 18200000,

[157] = 18400000,

[158] = 18600000,

[159] = 18900000,

[160] = 19100000,

[161] = 19300000,

[162] = 19600000,

[163] = 19900000,

[164] = 20500000,

[165] = 21100000,

[166] = 21300000,

[167] = 21400000,

[168] = 21500000,

[169] = 21700000,

[170] = 21900000,

[171] = 22100000,

[172] = 22300000,

[173] = 22500000,

[174] = 22700000,

[175] = 22900000,

[176] = 23200000,

[177] = 23500000,

[178] = 23700000,

[179] = 23900000,

[180] = 24100000,

[181] = 24300000,

[182] = 24600000,

[183] = 24900000,

[184] = 25200000,

[185] = 25500000,

[186] = 25900000,

[187] = 26300000,

[188] = 26800000,

[189] = 27100000,

[190] = 27300000,

[191] = 27700000,

[192] = 28200000,

[193] = 28900000,

[194] = 29100000,

[195] = 29400000,

[196] = 29700000,

[197] = 30200000,

[198] = 30500000,

[199] = 39700000,

[200] = 40000000,

[201] = 40400000,

[202] = 40800000,

[203] = 41200000,

[204] = 41600000,

[205] = 42000000,

[206] = 42400000,

[207] = 42800000,

[208] = 43200000,

[209] = 43600000,

[210] = 44000000,

[211] = 44400000,

[212] = 44800000,

[213] = 45200000,

[214] = 45600000,

[215] = 46000000,

[216] = 46400000,

[217] = 46800000,

[218] = 47200000,

[219] = 47600000,

[220] = 48000000,

[221] = 48400000,

[222] = 48800000,

[223] = 49200000,

[224] = 49440000,

[225] = 49905000,

[226] = 50610060,

[227] = 51001007,

[228] = 51400000,

[229] = 51800000,

[230] = 52200000,

[231] = 52600000,

[232] = 53000000,

[233] = 53400000,

[234] = 53800000,

[235] = 54240000,

[236] = 54660000,

[237] = 55080000,

[238] = 55400000,

[239] = 55820000,

[240] = 56040000,

[241] = 56400000,

[242] = 56800000,

[243] = 57200000,

[244] = 57600000,

[245] = 58000000,

[246] = 58400000,

[247] = 58600000,

[248] = 59000000,

[249] = 59500000,

[250] = 60000000,

[251] = 60500000,

[252] = 61000000,

[253] = 61500000,

[254] = 62000000,

[255] = 62500000,

[256] = 63000000,

[257] = 63500000,

[258] = 64000000,

[259] = 64500000,

[260] = 65000000,

[261] = 65500000,

[262] = 66000000,

[263] = 66500000,

[264] = 67000000,

[265] = 67500000,

[266] = 68000000,

[267] = 68500000,

[268] = 69000000,

[269] = 69500000,

[270] = 70000000,

[271] = 70500000,

[272] = 71000000,

[273] = 71500000,

[274] = 72000000,

[275] = 72500000,

[276] = 73000000,

[277] = 73500000,

[278] = 74000000,

[279] = 74500000,

[280] = 75000000,

[281] = 75500000,

[282] = 76000000,

[283] = 76500000,

[284] = 77000000,

[285] = 77500000,

[286] = 78000000,

[287] = 78500000,

[288] = 79000000,

[289] = 79500000,

[290] = 80000000,

[291] = 80500000,

[292] = 81000000,

[293] = 81500000,

[294] = 82000000,

[295] = 82500000,

[296] = 83000000,

[297] = 83500000,

[298] = 84000000,

[299] = 84500000,

[300] = 85000000,

[301] = 999999999}

--alterado v2.9 \/

slowexppokes = {"Growlithe", "Arcanine", "Tentacool", "Tentacruel", "Gastly", "Haunter", "Gengar", "Abra", "Kadabra", "Alakazam", "Rhyhorn", "Rhydon", "Onix", "Machop", "Machoke", "Machamp", "Hitmonlee", "Hitmonchan", "Scyther", "Electabuzz", "Magmar",

"Magikarp", "Gyarados", "Lapras", "Aerodactyl", "Snorlax", "Articuno", "Zapdos", "Moltres", "Kabuto", "Kabutops", "Dratini", "Dragonair", "Dragonite", "Mewtwo", "Mew",

"Shiny Growlithe", "Shiny Arcanine", "Shiny Tentacool", "Shiny Tentacruel", "Shiny Gastly", "Shiny Haunter", "Shiny Gengar", "Shiny Abra", "Shiny Kadabra", "Shiny Alakazam", "Shiny Rhyhorn", "Shiny Rhydon", "Shiny Onix", "Shiny Machop", "Shiny Machoke",

"Shiny Machamp", "Shiny Hitmonlee", "Shiny Hitmonchan", "Shiny Scyther", "Shiny Electabuzz", "Shiny Magmar", "Shiny Magikarp", "Shiny Gyarados", "Shiny Lapras", "Shiny Aerodactyl", "Shiny Snorlax", "Shiny Articuno", "Shiny Zapdos", "Shiny Moltres",

"Shiny Kabuto", "Shiny Kabutops", "Shiny Dratini", "Shiny Dragonair", "Shiny Dragonite", "Shiny Mewtwo", "Shiny Mew",

"Togepi", "Togetic", "Wobbuffet", "Steelix", "Swinub", "Piloswine", "Scizor", "Heracross", "Teddiursa", "Ursaring", "Tyrogue", "Hitmontop", "Elekid", "Magby", "Raikou", "Entei", "Suicune", "Larvitar", "Pupitar", "Tyranitar", "Lugia", "Ho-Oh", "Celebi",

"Shiny Togepi", "Shiny Togetic", "Shiny Wobbuffet", "Shiny Steelix", "Shiny Swinub", "Shiny Piloswine", "Shiny Scizor", "Shiny Heracross", "Shiny Teddiursa", "Shiny Ursaring", "Shiny Tyrogue", "Shiny Hitmontop", "Shiny Elekid", "Shiny Magby", "Shiny Raikou",

"Shiny Entei", "Shiny Suicune", "Shiny Larvitar", "Shiny Pupitar", "Shiny Tyranitar", "Shiny Lugia", "Shiny Ho-Oh", "Shiny Celebi",

"Slakoth", "Vigoroth", "Slaking", "Aron", "Lairon", "Aggron", "Wailmer", "Wailord", "Trapinch", "Vibrava", "Flygon", "Duskull", "Dusclops", "Ralts", "Kirlia", "Gardevoir", "Mahukita", "Hariyama", "Feebas", "Milotic", "Absol", "Spheal", "Sealeo", "Walrein",

"Bagon", "Shellgon", "Salamence", "Beldum", "Metang", "Metagross", "Regirock", "Regice", "Registeel", "Latias", "Latios", "Kyogre", "Groudon", "Rayquaza", "Jirachi", "Deoxys",

"Shiny Slakoth", "Shiny Vigoroth", "Shiny Slaking", "Shiny Aron", "Shiny Lairon", "Shiny Aggron", "Shiny Wailmer", "Shiny Wailord", "Shiny Trapinch", "Shiny Vibrava", "Shiny Flygon", "Shiny Duskull", "Shiny Dusclops", "Shiny Ralts", "Shiny Kirlia", "Shiny Gardevoir",

"Shiny Mahukita", "Shiny Hariyama", "Shiny Feebas", "Shiny Milotic", "Shiny Absol", "Shiny Spheal", "Shiny Sealeo", "Shiny Walrein", "Shiny Bagon", "Shiny Shellgon", "Shiny Salamence", "Shiny Beldum", "Shiny Metang", "Shiny Metagross", "Shiny Regirock", "Shiny Regice",

"Shiny Registeel", "Shiny Latias", "Shiny Latios", "Shiny Kyogre", "Shiny Groudon", "Shiny Rayquaza", "Shiny Jirachi", "Shiny Deoxys",

"Wynaut", "Cranidos", "Rampardos", "Gallade", "Gible", "Gabite", "Garchomp", "Rhyperior", "Electivire", "Magmortar", "Togekiss", "Mamoswine", "Dusknoir", "Munchlax", "Uxie", "Mesprit", "Azelf", "Dialga", "Palkia", "Heatran", "Regigigas", "Giratina", "Cresselia",

"Phione", "Manaphy", "Darkrai", "Shaymin", "Arceus",

"Shiny Wynaut", "Shiny Cranidos", "Shiny Rampardos", "Shiny Gallade", "Shiny Gible", "Shiny Gabite", "Shiny Garchomp", "Shiny Rhyperior", "Shiny Electivire", "Shiny Magmortar", "Shiny Togekiss", "Shiny Mamoswine", "Shiny Dusknoir", "Shiny Munchlax", "Shiny Uxie",

"Shiny Mesprit", "Shiny Azelf", "Shiny Dialga", "Shiny Palkia", "Shiny Heatran", "Shiny Regigigas", "Shiny Giratina", "Shiny Cresselia", "Shiny Phione", "Shiny Manaphy", "Shiny Darkrai", "Shiny Shaymin", "Shiny Arceus",

"Victini", "Axew", "Fraxure", "Haxorus", "Deino", "Zweilous", "Hydreigon", "Cobalion", "Terrakion", "Virizion", "Tornadus", "Thundurus", "Reshiram", "Zekrom", "Landorus", "Kyurem", "Keldeo", "Meloetta", "Genesect",

"Shiny Victini", "Shiny Axew", "Shiny Fraxure", "Shiny Haxorus", "Shiny Deino", "Shiny Zweilous", "Shiny Hydreigon", "Shiny Cobalion", "Shiny Terrakion", "Shiny Virizion", "Shiny Tornadus", "Shiny Thundurus", "Shiny Reshiram", "Shiny Zekrom", "Shiny Landorus",

"Shiny Kyurem", "Shiny Keldeo", "Shiny Meloetta", "Shiny Genesect",

"Pink Caterpie", "Pink Metapod", "Pink Butterfree", "Pink Pidgey", "Pink Pidgeotto", "Pink Pidgeot", "Pink Oddish", "Pink Mankey", "Pink Primeape", "Pink Venonat", "Pink Nidoking", "Pink Nidoqueen", "Pink Dodrio", "Pink Scyther", "Pink Rhyhorn", "Pink Rhydon", "Pink Donphan", "Pink Teddiursa", "Pink Ursaring",

"Missing No", "Magiking", "Crystal Onix", "Snowmen Snorlax", "Red Munchlax", "Red Snorlax", "Shadow Lugia", "Primal Dialga",

}

slowexptable = {

[1] = 0,

[2] = 80,

[3] = 270,

[4] = 640,

[5] = 1250,

[6] = 2160,

[7] = 3430,

[8] = 5120,

[9] = 7290,

[10] = 10000,

[11] = 13310,

[12] = 17280,

[13] = 21970,

[14] = 27440,

[15] = 33750,

[16] = 40960,

[17] = 49130,

[18] = 58320,

[19] = 68590,

[20] = 80000,

[21] = 92610,

[22] = 106480,

[23] = 121670,

[24] = 138240,

[25] = 156250,

[26] = 175760,

[27] = 196830,

[28] = 219520,

[29] = 243890,

[30] = 270000,

[31] = 297910,

[32] = 327680,

[33] = 359370,

[34] = 393040,

[35] = 428750,

[36] = 466560,

[37] = 506530,

[38] = 548720,

[39] = 593190,

[40] = 640000,

[41] = 689210,

[42] = 740880,

[43] = 795070,

[44] = 851840,

[45] = 911250,

[46] = 973360,

[47] = 1038230,

[48] = 1105920,

[49] = 1176490,

[50] = 1250000,

[51] = 1326510,

[52] = 1406080,

[53] = 1488770,

[54] = 1574640,

[55] = 1663750,

[56] = 1756160,

[57] = 1851930,

[58] = 1951120,

[59] = 2053790,

[60] = 2160000,

[61] = 2269810,

[62] = 2383280,

[63] = 2500470,

[64] = 2621440,

[65] = 2746250,

[66] = 2874960,

[67] = 3007630,

[68] = 3144320,

[69] = 3285090,

[70] = 3430000,

[71] = 3579110,

[72] = 3732480,

[73] = 3890170,

[74] = 4052240,

[75] = 4218750,

[76] = 4389760,

[77] = 4565330,

[78] = 4745520,

[79] = 4930390,

[80] = 5120000,

[81] = 5314410,

[82] = 5513680,

[83] = 5717870,

[84] = 5927040,

[85] = 6141250,

[86] = 6360560,

[87] = 6585030,

[88] = 6814720,

[89] = 7049690,

[90] = 7290000,

[91] = 7535710,

[92] = 7786880,

[93] = 8043570,

[94] = 8305840,

[95] = 8573750,

[96] = 8847360,

[97] = 9126730,

[98] = 9411920,

[99] = 9702990,

[100] = 10000000,

[101] = 10300000,

[102] = 10600000,

[103] = 10900000,

[104] = 11200000,

[105] = 11500000,

[106] = 11800000,

[107] = 12100000,

[108] = 12400000,

[109] = 12700000,

[110] = 13000000,

[111] = 13300000,

[112] = 13600000,

[113] = 13900000,

[114] = 14200000,

[115] = 14500000,

[116] = 14800000,

[117] = 15100000,

[118] = 15400000,

[119] = 15700000,

[120] = 16000000,

[121] = 16300000,

[122] = 16600000,

[123] = 16900000,

[124] = 17240000,

[125] = 17505000,

[126] = 17810060,

[127] = 18101007,

[128] = 18400000,

[129] = 18700000,

[130] = 19000000,

[131] = 19300000,

[132] = 19600000,

[133] = 19900000,

[134] = 20200000,

[135] = 20540000,

[136] = 20860000,

[137] = 21180000,

[138] = 21400000,

[139] = 21720000,

[140] = 22040000,

[141] = 22300000,

[142] = 22600000,

[143] = 22900000,

[144] = 23200000,

[145] = 23500000,

[146] = 23800000,

[147] = 24100000,

[148] = 24400000,

[149] = 24700000,

[150] = 25000000,

[151] = 25300000,

[152] = 25600000,

[153] = 25900000,

[154] = 26200000,

[155] = 26500000,

[156] = 26800000,

[157] = 27100000,

[158] = 27400000,

[159] = 27700000,

[160] = 28000000,

[161] = 28300000,

[162] = 28600000,

[163] = 28900000,

[164] = 29200000,

[165] = 29500000,

[166] = 29800000,

[167] = 30100000,

[168] = 30400000,

[169] = 30700000,

[170] = 31000000,

[171] = 31300000,

[172] = 31600000,

[173] = 31900000,

[174] = 32200000,

[175] = 32500000,

[176] = 32800000,

[177] = 33100000,

[178] = 33400000,

[179] = 33700000,

[180] = 34000000,

[181] = 34300000,

[182] = 34600000,

[183] = 34900000,

[184] = 35200000,

[185] = 35500000,

[186] = 35800000,

[187] = 36100000,

[188] = 36400000,

[189] = 36700000,

[190] = 37000000,

[191] = 37300000,

[192] = 37600000,

[193] = 37900000,

[194] = 38200000,

[195] = 38500000,

[196] = 38800000,

[197] = 39100000,

[198] = 39400000,

[199] = 39700000,

[200] = 40000000,

[201] = 40400000,

[202] = 40800000,

[203] = 41200000,

[204] = 41600000,

[205] = 42000000,

[206] = 42400000,

[207] = 42800000,

[208] = 43200000,

[209] = 43600000,

[210] = 44000000,

[211] = 44400000,

[212] = 44800000,

[213] = 45200000,

[214] = 45600000,

[215] = 46000000,

[216] = 46400000,

[217] = 46800000,

[218] = 47200000,

[219] = 47600000,

[220] = 48000000,

[221] = 48400000,

[222] = 48800000,

[223] = 49200000,

[224] = 49440000,

[225] = 49905000,

[226] = 50610060,

[227] = 51001007,

[228] = 51400000,

[229] = 51800000,

[230] = 52200000,

[231] = 52600000,

[232] = 53000000,

[233] = 53400000,

[234] = 53800000,

[235] = 54240000,

[236] = 54660000,

[237] = 55080000,

[238] = 55400000,

[239] = 55820000,

[240] = 56040000,

[241] = 56400000,

[242] = 56800000,

[243] = 57200000,

[244] = 57600000,

[245] = 58000000,

[246] = 58400000,

[247] = 58600000,

[248] = 59000000,

[249] = 59500000,

[250] = 60000000,

[251] = 60500000,

[252] = 61000000,

[253] = 61500000,

[254] = 62000000,

[255] = 62500000,

[256] = 63000000,

[257] = 63500000,

[258] = 64000000,

[259] = 64500000,

[260] = 65000000,

[261] = 65500000,

[262] = 66000000,

[263] = 66500000,

[264] = 67000000,

[265] = 67500000,

[266] = 68000000,

[267] = 68500000,

[268] = 69000000,

[269] = 69500000,

[270] = 70000000,

[271] = 70500000,

[272] = 71000000,

[273] = 71500000,

[274] = 72000000,

[275] = 72500000,

[276] = 73000000,

[277] = 73500000,

[278] = 74000000,

[279] = 74500000,

[280] = 75000000,

[281] = 75500000,

[282] = 76000000,

[283] = 76500000,

[284] = 77000000,

[285] = 77500000,

[286] = 78000000,

[287] = 78500000,

[288] = 79000000,

[289] = 79500000,

[290] = 80000000,

[291] = 80500000,

[292] = 81000000,

[293] = 81500000,

[294] = 82000000,

[295] = 82500000,

[296] = 83000000,

[297] = 83500000,

[298] = 84000000,

[299] = 84500000,

[300] = 85000000,

[301] = 999999999}

 

Depois vai em data/lib/level system.lua e troca tudo por isso:

 

function getPokemonStatus(name, multiplier)

local a = pokes[name]

local m = 1

if not a then return false end

if not a.offense then return false end

if multiplier then m = multiplier end

local ret = {}

ret.off = a.offense * m

ret.offense = ret.off

ret.def = a.defense * m

ret.defense = ret.def

ret.agi = a.agility * m

ret.agility = ret.agi

ret.spatk = a.specialattack * m

ret.specialattack = ret.spatk

ret.vit = a.vitality * m

ret.vitality = ret.vit

return ret

end

function getPokemonXMLOutfit(name) --alterado v2.9 \/

local path = "data/monster/pokes/Shiny Kanto/"..name..".xml"

local tpw = io.type(io.open(path))

if not tpw then

path = "data/monster/pokes/Nesil 2/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Nesil 1/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Nesil 3/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Nesil 4/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Nesil 5/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Novelty/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Shiny Hoenn/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Shiny Johto/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/Shiny Sinnoh/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

path = "data/monster/pokes/"..name..".xml"

tpw = io.type(io.open(path))

end

if not tpw then

return print("[getPokemonXMLOutfit] Poke with name: "..name.." ins't in any paste on monster/pokes/") and 2

end

local arq = io.open(path, "a+")

local txt = arq:read("*all")

arq:close()

local a, b = txt:find('look type="(.-)"')

txt = string.sub(txt, a + 11, b - 1)

return tonumber(txt)

end

function doEvolutionOutfit(cid, oldout, outfit)

if not isCreature(cid) then return true end

if getCreatureOutfit(cid).lookType == oldout then

doSetCreatureOutfit(cid, {lookType = outfit}, -1)

else

doSetCreatureOutfit(cid, {lookType = oldout}, -1)

end

end

function doStartEvolution(cid, evolution, seconds)

if not isCreature(cid) then return true end

local a = getPlayerStorageValue(cid, 1007)

local b = getCreatureHealth(cid) / getCreatureMaxHealth(cid)

local d = getThingPos(cid)

local e = getCreatureMaster(cid)

if getHappinessRate(cid) < 1 then return true end

local f = getCreatureOutfit(cid).lookType

local g = getItemAttribute(getPlayerSlotItem(e, 8).uid, "nick") or getCreatureName(cid)

local h = getPokemonXMLOutfit(evolution)

doItemSetAttribute(getPlayerSlotItem(e, 8).uid, "hp", b)

doCreatureSay(e, "What? My "..g.." is evolving!", TALKTYPE_SAY)

doSummonMonster(e, "Evolution")

doReturnPokemon(e, cid, getPlayerSlotItem(e, 8), 0, true)

local evo = getCreatureSummons(e)[1]

doEvolutionOutfit(evo, h, f)

doCreatureSetHideHealth(evo, true)

doCreatureSetLookDir(evo, 2)

setPlayerStorageValue(evo, 1007, g)

doTeleportThing(evo, d, false)

addEvent(sendSSJEffect, 250, evo)

doSendAnimatedText(getThingPos(evo), "EVOLUTION", COLOR_GRASS)

doSendEvolutionEffect(evo, getThingPos(evo), evolution, 20, false, false, f, h)

end

function doSendEvolutionEffect(cid, pos, evolution, turn, ssj, evolve, f, h)

if not isCreature(cid) then

doSendAnimatedText(pos, "CANCEL", 215)

return true end

if evolve then

doEvolvePokemon(getCreatureMaster(cid), {uid = cid}, evolution, 0, 0)

return true

end

doSendMagicEffect(pos, 18)

if ssj then

sendSSJEffect(evo)

end

doEvolutionOutfit(cid, f, h)

addEvent(doSendEvolutionEffect, math.pow(1900, turn/20), cid, getThingPos(cid), evolution, turn - 1, turn == 19, turn == 2, f, h)

end

function sendSSJEffect(cid)

if not isCreature(cid) then return true end

local pos1 = getThingPos(cid)

local pos2 = getThingPos(cid)

pos2.x = pos2.x + math.random(-1, 1)

pos2.y = pos2.y - math.random(1, 2)

doSendDistanceShoot(pos1, pos2, 37)

addEvent(sendSSJEffect, 45, cid)

end

function sendFinishEvolutionEffect(cid, alternate)

if not isCreature(cid) then return true end

local pos1 = getThingPos(cid)

if alternate then

local pos = {

[1] = {-2, 0},

[2] = {-1, -1},

[3] = {0, -2},

[4] = {1, -1},

[5] = {2, 0},

[6] = {1, 1},

[7] = {0, 2},

[8] = {-1, 1}}

for a = 1, 8 do

local pos2 = getThingPos(cid)

pos2.x = pos2.x + pos[a][1]

pos2.y = pos2.y + pos[a][2]

local pos = getThingPos(cid)

doSendDistanceShoot(pos2, pos, 37)

addEvent(doSendDistanceShoot, 300, pos, pos2, 37)

end

else

for a = 0, 3 do

doSendDistanceShoot(pos1, getPosByDir(pos1, a), 37)

end

for a = 4, 7 do

addEvent(doSendDistanceShoot, 600, pos1, getPosByDir(pos1, a), 37)

end

end

end

function doEvolvePokemon(cid, item2, theevo, stone1, stone2)

if not isCreature(cid) then return true end

if not pokes[theevo] or not pokes[theevo].offense then

doReturnPokemon(cid, item2.uid, getPlayerSlotItem(cid, 8), pokeballs[getPokeballType(getPlayerSlotItem(cid, 8).itemid)].effect, false, true)

return true

end

local owner = getCreatureMaster(item2.uid)

local pokeball = getPlayerSlotItem(cid, 8)

local description = "Contains a "..theevo.."."

local pct = getCreatureHealth(item2.uid) / getCreatureMaxHealth(item2.uid)

doItemSetAttribute(pokeball.uid, "hp", pct)

doItemSetAttribute(pokeball.uid, "poke", theevo)

doItemSetAttribute(pokeball.uid, "description", "Contains a "..theevo..".")

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getPokeName(item2.uid).." evolved into a "..theevo.."!")

doSendMagicEffect(getThingPos(item2.uid), 18)

doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[theevo])

doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)

local oldlod = getCreatureLookDir(item2.uid)

local oldlvl = getPokemonLevel(item2.uid)

doRemoveCreature(item2.uid)

doSummonMonster(cid, theevo)

local pk = getCreatureSummons(cid)[1]

doTeleportThing(pk, oldpos, false)

doCreatureSetLookDir(pk, oldlod)

sendFinishEvolutionEffect(pk, true)

addEvent(sendFinishEvolutionEffect, 550, pk, true)

addEvent(sendFinishEvolutionEffect, 1050, pk)

doPlayerRemoveItem(cid, stone1, 1)

doPlayerRemoveItem(cid, stone2, 1)

doAddPokemonInOwnList(cid, theevo)

local status = getPokemonStatus(getCreatureName(pk))

local off = status.off * 7.5

local def = status.def * 7.5

local agi = status.agi * 7.5

local spatk = status.spatk * 7.5

local vit = status.vit * 7.5

doItemSetAttribute(pokeball.uid, "offense", getItemAttribute(pokeball.uid, "offense") + off)

doItemSetAttribute(pokeball.uid, "defense", getItemAttribute(pokeball.uid, "defense") + def)

doItemSetAttribute(pokeball.uid, "speed", getItemAttribute(pokeball.uid, "speed") + agi)

doItemSetAttribute(pokeball.uid, "specialattack", getItemAttribute(pokeball.uid, "specialattack") + spatk)

doItemSetAttribute(pokeball.uid, "vitality", getItemAttribute(pokeball.uid, "vitality") + vit)

doPlayerSendTextMessage(cid, 27, "Evolution bonus: • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."")

local happy = getItemAttribute(pokeball.uid, "happy")

doItemSetAttribute(pokeball.uid, "happy", happy + happyGainedOnEvolution)

if happy + happyGainedOnEvolution > 255 then

doItemSetAttribute(pokeball.uid, "happy", 255)

end

adjustStatus(pk, pokeball.uid, true, false)

if useKpdoDlls then

doUpdateMoves(cid)

end

end

function givePokemonExp(cid, item, expe, pct, rarecandy)

if expe <= 0 or not isCreature(cid) then return true end

local leveltable = getPokemonExperienceTable(getPokeballName(item.uid, true))

if getItemAttribute(item.uid, "exp") + expe > leveltable[300] then

givePokemonExp(cid, item, leveltable[300] - getItemAttribute(item.uid, "exp"))

return true

end

doItemSetAttribute(item.uid, "exp", getItemAttribute(item.uid, "exp") + expe)

doItemSetAttribute(item.uid, "happy", getItemAttribute(item.uid, "happy") + 1)

doItemSetAttribute(item.uid, "nextlevelexp", getItemAttribute(item.uid, "nextlevelexp") - expe)

if pct then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." has received "..expe.." experience points ("..pct.."%).")

else

if getItemAttribute(item.uid, "nextlevelexp") > 0 then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." ["..getItemAttribute(item.uid, "level").."] has received "..expe.." experience points ("..getItemAttribute(item.uid, "nextlevelexp").." to next level).")

else

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." ["..getItemAttribute(item.uid, "level").."] has received "..expe.." experience points and has leveled up!")

end

end

if isBeingUsed(item.itemid) then

doSendAnimatedText(getThingPos(getCreatureSummons(cid)[1]), expe, 215)

end

if getItemAttribute(item.uid, "nextlevelexp") <= 0 then

local summon = getCreatureSummons(cid)[1]

if not isCreature(summon) then return true end

doSendFlareEffect(getThingPos(summon))

doSendAnimatedText(getThingPos(summon), "Level up!", 215)

doPlayerSendTextMessage(cid, 26, "sounds/Levelup.wav")

adjustPokemonLevel(item.uid, cid, item.itemid)

doCreatureAddHealth(summon, getCreatureMaxHealth(summon))

end

end

function givePokemonExpInBp(cid, item, expe, ballid, pct, hidemessage)

if expe <= 0 or not isCreature(cid) then return true end

local leveltable = getPokemonExperienceTable(getPokeballName(item, true))

if getItemAttribute(item, "exp") + expe > leveltable[300] then

givePokemonExpInBp(cid, item, leveltable[300] - getItemAttribute(item, "exp"), ballid)

return true

end

doItemSetAttribute(item, "exp", getItemAttribute(item, "exp") + expe)

doItemSetAttribute(item, "happy", getItemAttribute(item, "happy") + 1)

doItemSetAttribute(item, "nextlevelexp", getItemAttribute(item, "nextlevelexp") - expe)

if not hidemessage then

if pct then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." has received "..expe.." experience points ("..pct.."%).")

else

if getItemAttribute(item, "nextlevelexp") > 0 then

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." ["..getItemAttribute(item, "level").."] has received "..expe.." experience points inside his pokeball ("..getItemAttribute(item, "nextlevelexp").." to next level).")

else

doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." ["..getItemAttribute(item, "level").."] has received "..expe.." experience points and has leveled up inside his pokeball.")

adjustPokemonLevel(item, cid, ballid)

end

end

end

end

function doMathDecimal(number, casas)

if math.floor(number) == number then return number end

local c = casas and casas + 1 or 3

for a = 0, 10 do

if math.floor(number) < math.pow(10, a) then

local str = string.sub(""..number.."", 1, a + c)

return tonumber(str)

end

end

return number

end

function adjustPokemonLevel(item, cid, id, rarecandy)

if not isCreature(cid) then return true end

local exp = getItemAttribute(item, "exp")

local level = getItemAttribute(item, "level")

local leveltable = getPokemonExperienceTable(getPokeballName(item, true))

local newlevel = 1

for x = 1, 300 do

if exp >= leveltable[x] and exp < leveltable[x+1] then

newlevel = x

end

end

if newlevel <= 1 then return true end

local levelsup = (newlevel - level)

local pokemon = getItemAttribute(item, "poke")

local happy = getItemAttribute(item, "happy")

local rate = happy / happy

local newhappiness = happy

if happy >= 250 then

newhappiness = 255

elseif happy >= 230 then

newhappiness = happy + 4

elseif happy >= 210 then

newhappiness = happy + 6

elseif happy >= 180 then

newhappiness = happy + 8

elseif happy >= 140 then

newhappiness = happy + 10

elseif happy >= 110 then

newhappiness = happy + 12

else

newhappiness = happy + 15

end

local status = getPokemonStatus(pokemon)

local off = status.off * rate * levelsup

local def = status.def * rate * levelsup

local agi = status.agi * rate * levelsup

local spatk = status.spatk * rate * levelsup

local vit = status.vit * rate * levelsup

doItemSetAttribute(item, "level", newlevel)

if not rarecandy then

doItemSetAttribute(item, "happy", newhappiness)

end

local nextexp = leveltable[newlevel + 1] - exp

doItemSetAttribute(item, "nextlevelexp", nextexp)

doItemSetAttribute(item, "offense", getItemAttribute(item, "offense") + off)

doItemSetAttribute(item, "defense", getItemAttribute(item, "defense") + def)

doItemSetAttribute(item, "speed", getItemAttribute(item, "speed") + agi)

doItemSetAttribute(item, "specialattack", getItemAttribute(item, "specialattack") + spatk)

doItemSetAttribute(item, "vitality", getItemAttribute(item, "vitality") + vit)

if newlevel > getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer then

addEvent(doPlayerSendTextMessage, 30, cid, 18, "Warning: Your "..getPokeballName(item).."'s ["..newlevel.."] level is much higher than yours, so you will not be able to call him to battles.")

end

if isCreature(cid) and id >= 1 and isBeingUsed(id) then

adjustStatus(getCreatureSummons(cid)[1], item, false, true)

doPlayerSendTextMessage(cid, 27, "• Level: "..newlevel.." (+"..levelsup..") • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."")

if happy < minHappyToEvolve then return true end

if pokemonsCanEvolveByLevel then

local summon = getCreatureSummons(cid)[1]

local reqlevel = poevo[getCreatureName(summon)] and poevo[getCreatureName(summon)].level or -1

local level = getItemAttribute(item, "level")

local evolution = "none"

local name = getCreatureName(summon)

if name == "Tyrogue" and level >= 20 then

if getOffense(summon) == getDefense(summon) then

evolution = "Hitmontop"

elseif getOffense(summon) > getDefense(summon) then

evolution = "Hitmonlee"

else

evolution = "Hitmonchan"

end

elseif name == "Eevee" then

if happy >= maxHappyToEvolve then

if isDay() then

evolution = "Espeon"

else

evolution = "Umbreon"

end

end

elseif name == "Slowpoke" and level >= 28 then

evolution = "Slowbro"

elseif name == "Poliwhirl" and level >= 36 then

evolution = "Poliwrath"

elseif reqlevel > 4 and level >= reqlevel then

evolution = poevo[getCreatureName(summon)].evolution

elseif reqlevel == 2 and happy >= maxHappyToEvolve then

evolution = poevo[getCreatureName(summon)] and poevo[getCreatureName(summon)].evolution or "none"

end

if evolution ~= "none" then

doStartEvolution(summon, evolution, 4)

end

end

end

end

function doAdjustWithDelay(cid, pk, health, vit, status)

if isCreature(cid) then --alterado v2.5

if not isCreature(cid) then return true end

adjustStatus(pk, getPlayerSlotItem(cid, 8).uid, health, vir, status)

end

end

function adjustStatus(pk, item, health, vite, conditions)

if not isCreature(pk) then return true end

local bonusoffense = getItemAttribute(item, boffense) or 0

local bonusdefense = getItemAttribute(item, bdefense) or 0

local bonusagility = getItemAttribute(item, bagility) or 0

local bonussattack = getItemAttribute(item, bsattack) or 0

setPlayerStorageValue(pk, 1000, getItemAttribute(item, "level"))

setPlayerStorageValue(pk, 1001, getItemAttribute(item, "offense") + bonusoffense)

setPlayerStorageValue(pk, 1002, getItemAttribute(item, "defense") + bonusdefense)

setPlayerStorageValue(pk, 1003, getItemAttribute(item, "speed") + bonusagility)

setPlayerStorageValue(pk, 1005, getItemAttribute(item, "specialattack") + bonussattack)

local gender = getItemAttribute(item, "gender") and getItemAttribute(item, "gender") or 0

doCreatureSetSkullType(pk, gender)

if vite == true then

local pct = getCreatureHealth(pk) / getCreatureMaxHealth(pk)

local vit = getItemAttribute(item, "vitality") - getPlayerStorageValue(pk, 1004)

setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + ( vit * HPperVIT ))

doCreatureAddHealth(pk, pct * vit * HPperVIT)

end

setPlayerStorageValue(pk, 1004, getItemAttribute(item, "vitality"))

doRegainSpeed(pk)

local nick = getItemAttribute(item, "poke")

if string.find(tostring(nick), "Shiny") then

nick = tostring(nick):match("(Shiny .*)")

end

if getItemAttribute(item, "nick") then

nick = getItemAttribute(item, "nick")

end

setPlayerStorageValue(pk, 1007, nick)

local boostlevel = getItemAttribute(item, "boost") or 0

local boostshow = hideBoost and "]" or " + "..boostlevel.."]"

local lvlstr = ""

if showBoostSeparated then

boostshow = hideBoost and "]" or "] [+"..boostlevel.."]"

end

if hideSummonsLevel then

if not hideBoost then

nick = nick.." [+"..boostlevel.."]"

end

else

nick = nick.." ["..getItemAttribute(item, "level")..""..boostshow..""

end

doCreatureSetNick(pk, nick)

if not getItemAttribute(item, "happy") then

doItemSetAttribute(item, "happy", 120)

end

if not getItemAttribute(item, "hunger") then

doItemSetAttribute(item, "hunger", 5)

end

local happy = getItemAttribute(item, "happy")

if happy < 0 then

happy = 1

end

setPlayerStorageValue(pk, 1008, happy)

local hunger = getItemAttribute(item, "hunger")

setPlayerStorageValue(pk, 1009, hunger)

if health == true then

local mh = getCreatureMaxHealth(pk) + HPperVIT * getVitality(pk)

local rd = 1 - (tonumber(getItemAttribute(item, "hp")))

setCreatureMaxHealth(pk, mh)

doCreatureAddHealth(pk, getCreatureMaxHealth(pk))

doCreatureAddHealth(pk, -(getCreatureMaxHealth(pk) * rd))

end

if isSummon(pk) and conditions then --alterado v2.5 daki pra baixo!!

local burn = getItemAttribute(item, "burn")

if burn and burn >= 0 then

local ret = {id = pk, cd = burn, check = false, damage = getItemAttribute(item, "burndmg"), cond = "Burn"}

addEvent(doCondition2, 3500, ret)

end

local poison = getItemAttribute(item, "poison")

if poison and poison >= 0 then

local ret = {id = pk, cd = poison, check = false, damage = getItemAttribute(item, "poisondmg"), cond = "Poison"}

addEvent(doCondition2, 1500, ret)

end

local confuse = getItemAttribute(item, "confuse")

if confuse and confuse >= 0 then

local ret = {id = pk, cd = confuse, check = false, cond = "Confusion"}

addEvent(doCondition2, 1200, ret) --alterado v2.5

end

local sleep = getItemAttribute(item, "sleep")

if sleep and sleep >= 0 then

local ret = {id = pk, cd = sleep, check = false, first = true, cond = "Sleep"}

doCondition2(ret)

end

local miss = getItemAttribute(item, "miss")

if miss and miss >= 0 then

local ret = {id = pk, cd = miss, eff = getItemAttribute(item, "missEff"), check = false, spell = getItemAttribute(item, "missSpell"), cond = "Miss"}

doCondition2(ret)

end

local fear = getItemAttribute(item, "fear")

if fear and fear >= 0 then

local ret = {id = pk, cd = fear, check = false, skill = getItemAttribute(item, "fearSkill"), cond = "Fear"}

doCondition2(ret)

end

local silence = getItemAttribute(item, "silence")

if silence and silence >= 0 then

local ret = {id = pk, cd = silence, eff = getItemAttribute(item, "silenceEff"), check = false, cond = "Silence"}

doCondition2(ret)

end

local stun = getItemAttribute(item, "stun")

if stun and stun >= 0 then

local ret = {id = pk, cd = stun, eff = getItemAttribute(item, "stunEff"), check = false, spell = getItemAttribute(item, "stunSpell"), cond = "Stun"}

doCondition2(ret)

end

local paralyze = getItemAttribute(item, "paralyze")

if paralyze and paralyze >= 0 then

local ret = {id = pk, cd = paralyze, eff = getItemAttribute(item, "paralyzeEff"), check = false, first = true, cond = "Paralyze"}

doCondition2(ret)

end

local slow = getItemAttribute(item, "slow")

if slow and slow >= 0 then

local ret = {id = pk, cd = slow, eff = getItemAttribute(item, "slowEff"), check = false, first = true, cond = "Slow"}

doCondition2(ret)

end

local leech = getItemAttribute(item, "leech")

if leech and leech >= 0 then

local ret = {id = pk, cd = leech, attacker = 0, check = false, damage = getItemAttribute(item, "leechdmg"), cond = "Leech"}

doCondition2(ret)

end

for i = 1, 3 do

local buff = getItemAttribute(item, "Buff"..i)

if buff and buff >= 0 then

local ret = {id = pk, cd = buff, eff = getItemAttribute(item, "Buff"..i.."eff"), check = false,

buff = getItemAttribute(item, "Buff"..i.."skill"), first = true, attr = "Buff"..i}

doCondition2(ret)

end

end

end

--alterado v2.9

if getItemAttribute(item, "boost") and getItemAttribute(item, "boost") >= 50 and getItemAttribute(item, "aura") then

sendAuraEffect(pk, auraSyst[getItemAttribute(item, "aura")])

end

if getPlayerStorageValue(getCreatureMaster(pk), 6598754) >= 1 then

setPlayerStorageValue(pk, 6598754, 1)

elseif getPlayerStorageValue(getCreatureMaster(pk), 6598755) >= 1 then

setPlayerStorageValue(pk, 6598755, 1)

end

return true

end

function setWildPokemonLevel(cid, optionalLevel, optionalStatus, optionalNick, optionalExtraExp)

if not isCreature(cid) then return true end

if not pokes[getCreatureName(cid)] then return true end --alterado v2.6

local levelRange = 0

local off = 0

local def = 0

local agi = 0

local spatk = 0

local vit = 0

local this = getCreatureName(cid)

local ee = 1

if optionalExtraExp then

ee = optionalExtraExp

end

if optionalLevel and tonumber(optionalLevel) >= 1 then --alterado v2.8\/

levelRange = optionalLevel

else

levelRange = math.random(pokes[this].wildLvlMin, pokes[this].wildLvlMax)

end

local status = getPokemonStatus(this)

if status then

off = status.off

def = status.def

agi = status.agi

vit = status.vit

spatk = status.spatk

end

setPlayerStorageValue(cid, 1000, (levelRange > 300 and 300 or levelRange)) --alterado v2.8

if optionalStatus and optionalStatus.off then

setPlayerStorageValue(cid, 1001, optionalStatus.offense)

setPlayerStorageValue(cid, 1002, optionalStatus.defense)

setPlayerStorageValue(cid, 1003, optionalStatus.agility)

setPlayerStorageValue(cid, 1004, optionalStatus.vitality)

setPlayerStorageValue(cid, 1005, optionalStatus.specialattack)

setPlayerStorageValue(cid, 1011, optionalStatus.offense)

setPlayerStorageValue(cid, 1012, optionalStatus.defense)

setPlayerStorageValue(cid, 1013, optionalStatus.agility)

setPlayerStorageValue(cid, 1014, optionalStatus.vitality)

setPlayerStorageValue(cid, 1015, optionalStatus.specialattack)

else

setPlayerStorageValue(cid, 1001, 5 + math.random(off * levelRange * 0.9, off * levelRange * 1.8))

setPlayerStorageValue(cid, 1002, 5 + math.random(def * levelRange * 0.9, def * levelRange * 1.8))

setPlayerStorageValue(cid, 1003, math.random(agi * levelRange * 0.9, agi * levelRange * 1.8))

setPlayerStorageValue(cid, 1004, math.random(vit * levelRange * 0.9, vit * levelRange * 1.8))

setPlayerStorageValue(cid, 1005, 5 + math.random(spatk * levelRange * 0.9, spatk * levelRange * 1.8))

setPlayerStorageValue(cid, 1011, getPlayerStorageValue(cid, 1001))

setPlayerStorageValue(cid, 1012, getPlayerStorageValue(cid, 1002))

setPlayerStorageValue(cid, 1013, getPlayerStorageValue(cid, 1003))

setPlayerStorageValue(cid, 1014, getPlayerStorageValue(cid, 1004))

setPlayerStorageValue(cid, 1015, getPlayerStorageValue(cid, 1005))

end

doRegainSpeed(cid)

setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + getPlayerStorageValue(cid, 1004) * HPperVIT * vitReductionForWild)

doCreatureAddHealth(cid, getCreatureMaxHealth(cid))

if pokes[getCreatureName(cid)].exp then

--getMonsterInfo(getCreatureName(cid)).experience

local exp = (50 + pokes[getCreatureName(cid)].exp) * baseExpRate + pokes[getCreatureName(cid)].vitality * levelRange * pokemonExpPerLevelRate

setPlayerStorageValue(cid, 1006, exp * generalExpRate * ee)

if getPlayerStorageValue(cid, 22546) == 1 then

setPlayerStorageValue(cid, 1006, 750)

doSetCreatureDropLoot(cid, false) --edited golden arena

end

end

local wildshow = wildBeforeNames and "Wild " or ""

if optionalNick then

if hideWildsLevel then

doCreatureSetNick(cid, optionalNick)

else

doCreatureSetNick(cid, optionalNick.." ["..getWildPokemonLevel(cid).."]")

end

else

if hideWildsLevel then

doCreatureSetNick(cid, ""..wildshow..""..getCreatureName(cid).."")

else

doCreatureSetNick(cid, ""..wildshow..""..getCreatureName(cid).." ["..getWildPokemonLevel(cid).."]")

end

end

end

function getOffenseInRage(cid) --alterado v2.8

if not isCreature(cid) then return 0 end

if getPlayerStorageValue(cid, 547888) >= 1 then

return tonumber(getPlayerStorageValue(cid, 1001)) / 2

end

return tonumber(getPlayerStorageValue(cid, 1001))

end

function getOffense(cid)

if not isCreature(cid) then return 0 end

--[[if getPlayerStorageValue(cid, 3894) >= 1 then

return tonumber(getPlayerStorageValue(cid, 1001)) / 2

end ]]

return tonumber(getPlayerStorageValue(cid, 1001))

end

function getDefense(cid)

if not isCreature(cid) then return 0 end

--[[ if getPlayerStorageValue(cid, 3894) >= 1 then

return tonumber(getPlayerStorageValue(cid, 1002)) / 2

end ]]

return tonumber(getPlayerStorageValue(cid, 1002))

end

function getSpeed(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1003))

end

function getVitality(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1004))

end

function getSpecialAttack(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1005))

end

function getHappiness(cid)

if not isCreature(cid) then return 0 end

return tonumber(getPlayerStorageValue(cid, 1008))

end

function getSpecialDefense(cid)

if not isCreature(cid) then return 0 end

return getSpecialAttack(cid) * 0.85 + getDefense(cid) * 0.2

end

function getWildPokemonExp(cid)

return getPlayerStorageValue(cid, 1006)

end

function getWildPokemonLevel(cid)

return getPlayerStorageValue(cid, 1000)

end

function getLevel(cid)

if isSummon(cid) then

return getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "level")

end

return getPlayerStorageValue(cid, 1000)

end

function getPokeName(cid)

if not isSummon(cid) then return getCreatureName(cid) end

if getCreatureName(cid) == "Evolution" then return getPlayerStorageValue(cid, 1007) end

local item = getPlayerSlotItem(getCreatureMaster(cid), 8)

if getItemAttribute(item.uid, "nick") then --alterado v2.7

return getItemAttribute(item.uid, "nick")

end

if string.find(tostring(getCreatureName(cid)), "Shiny") then

local newName = tostring(getCreatureName(cid)):match("(Shiny .*)")

return newName

end

return getCreatureName(cid)

end

function getPokeballName(item, truename)

if not truename and getItemAttribute(item, "nick") then

return getItemAttribute(item, "nick")

end

return getItemAttribute(item, "poke")

end

function getPokemonName(cid)

return getCreatureName(cid)

end

function getMasterLevel(poke)

if not isSummon(poke) then return 0 end

return getPlayerLevel(getCreatureMaster(poke)) --alterado v2.5

end

function getPokeballBoost(ball)

if not isPokeball(ball.itemid) then return 0 end --alterado v2.8

return getItemAttribute(ball.uid, "boost") or 0

end

function getPokemonBoost(poke)

if not isSummon(poke) then return 0 end --alterado v2.5

return getItemAttribute(getPlayerSlotItem(getCreatureMaster(poke), 8).uid, "boost") or 0

end

function getPokemonLevelByName(name)

return pokes[name] and pokes[name].level or 0 --alterado v2.9

end

function getPokemonLevel(cid)

if not isCreature(cid) then return 0 end

return getPlayerStorageValue(cid, 1000)

end

function getPokemonGender(cid)

return getCreatureSkullType(cid)

end

function setPokemonGender(cid, gender)

if isCreature(cid) and gender then --alterado v2.8

doCreatureSetSkullType(cid, gender)

return true

end

return false

end

 

2° Nao Sei

3° Preguiça


 

 

Link para o post
Compartilhar em outros sites

Pegou nao mano,da varios erros. nao chega nem deixar o server on.
Meu Level System \/ 

function getPokemonStatus(name, multiplier)


local a = pokes[name]
local m = 1
if not a then return false end
if not a.offense then return false end
if multiplier then m = multiplier end
local ret = {}
ret.off = a.offense * m
ret.offense = ret.off

ret.def = a.defense * m
ret.defense = ret.def

ret.agi = a.agility * m
ret.agility = ret.agi

ret.spatk = a.specialattack * m
ret.specialattack = ret.spatk

ret.vit = a.vitality * m
ret.vitality = ret.vit
return ret
end

function getPokemonXMLOutfit(name)
local a = "data/monster/pokes/"..name..".xml"
local b = io.open(a, "a+")
local c = b:read("*all")
b:close()
local d, e = c:find('look type="(.-)"')
c = string.sub(c, d + 11, e - 1)
return tonumber©
end

function doEvolutionOutfit(cid, oldout, outfit)
if not isCreature(cid) then return true end
if getCreatureOutfit(cid).lookType == oldout then
doSetCreatureOutfit(cid, {lookType = outfit}, -1)
else
doSetCreatureOutfit(cid, {lookType = oldout}, -1)
end
end

function doStartEvolution(cid, evolution, seconds)
if not isCreature(cid) then return true end
local a = getPlayerStorageValue(cid, 1007)
local b = getCreatureHealth(cid) / getCreatureMaxHealth(cid)
local d = getThingPos(cid)
local e = getCreatureMaster(cid)
if getHappinessRate(cid) < 1 then return true end
local f = getCreatureOutfit(cid).lookType
local g = getItemAttribute(getPlayerSlotItem(e, 8).uid, "nick") or getCreatureName(cid)
local h = getPokemonXMLOutfit(evolution)
doItemSetAttribute(getPlayerSlotItem(e, 8).uid, "hp", b)
doCreatureSay(e, "What? My "..g.." is evolving!", TALKTYPE_SAY)
doSummonMonster(e, "Evolution")
doReturnPokemon(e, cid, getPlayerSlotItem(e, 8), 0, true)
local evo = getCreatureSummons(e)[1]
doEvolutionOutfit(evo, h, f)
doCreatureSetHideHealth(evo, true)
doCreatureSetLookDir(evo, 2)
setPlayerStorageValue(evo, 1007, g)
doTeleportThing(evo, d, false)
addEvent(sendSSJEffect, 250, evo)
doSendAnimatedText(getThingPos(evo), "EVOLUTION", COLOR_GRASS)
doSendEvolutionEffect(evo, getThingPos(evo), evolution, 20, false, false, f, h)
end

function doSendEvolutionEffect(cid, pos, evolution, turn, ssj, evolve, f, h)
if not isCreature(cid) then
doSendAnimatedText(pos, "CANCEL", 215)
return true end
if evolve then
doEvolvePokemon(getCreatureMaster(cid), {uid = cid}, evolution, 0, 0)
return true
end
doSendMagicEffect(pos, 18)
if ssj then
sendSSJEffect(evo)
end
doEvolutionOutfit(cid, f, h)
addEvent(doSendEvolutionEffect, math.pow(1900, turn/20), cid, getThingPos(cid), evolution, turn - 1, turn == 19, turn == 2, f, h)
end

function sendSSJEffect(cid)
if not isCreature(cid) then return true end
local pos1 = getThingPos(cid)
local pos2 = getThingPos(cid)
pos2.x = pos2.x + math.random(-1, 1)
pos2.y = pos2.y - math.random(1, 2)
doSendDistanceShoot(pos1, pos2, 37)
addEvent(sendSSJEffect, 45, cid)
end

function sendFinishEvolutionEffect(cid, alternate)
if not isCreature(cid) then return true end
local pos1 = getThingPos(cid)

if alternate then
local pos = {
[1] = {-2, 0},
[2] = {-1, -1},
[3] = {0, -2},
[4] = {1, -1},
[5] = {2, 0},
[6] = {1, 1},
[7] = {0, 2},
[8] = {-1, 1}}
for a = 1, 8 do
local pos2 = getThingPos(cid)
pos2.x = pos2.x + pos[a][1]
pos2.y = pos2.y + pos[a][2]
local pos = getThingPos(cid)
doSendDistanceShoot(pos2, pos, 37)
addEvent(doSendDistanceShoot, 300, pos, pos2, 37)
end
else
for a = 0, 3 do
doSendDistanceShoot(pos1, getPosByDir(pos1, a), 37)
end
for a = 4, 7 do
addEvent(doSendDistanceShoot, 600, pos1, getPosByDir(pos1, a), 37)
end
end
end

function doEvolvePokemon(cid, item2, theevo, stone1, stone2)

if not isCreature(cid) then return true end

if not pokes[theevo] or not pokes[theevo].offense then
doReturnPokemon(cid, item2.uid, getPlayerSlotItem(cid, 8), pokeballs[getPokeballType(getPlayerSlotItem(cid, 8).itemid)].effect, false, true)
return true
end

local owner = getCreatureMaster(item2.uid)
local pokeball = getPlayerSlotItem(cid, 8)
local description = "Contains a "..theevo.."."
local pct = getCreatureHealth(item2.uid) / getCreatureMaxHealth(item2.uid)

doItemSetAttribute(pokeball.uid, "hp", pct)

doItemSetAttribute(pokeball.uid, "poke", theevo)
doItemSetAttribute(pokeball.uid, "description", "Contains a "..theevo..".")

doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getPokeName(item2.uid).." evolved into a "..theevo.."!")

doSendMagicEffect(getThingPos(item2.uid), 18)
doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[theevo])
doSendMagicEffect(getThingPos(cid), 173)

local oldpos = getThingPos(item2.uid)
local oldlod = getCreatureLookDir(item2.uid)
local oldlvl = getPokemonLevel(item2.uid)
doRemoveCreature(item2.uid)

doSummonMonster(cid, theevo)
local pk = getCreatureSummons(cid)[1]

doTeleportThing(pk, oldpos, false)
doCreatureSetLookDir(pk, oldlod)

sendFinishEvolutionEffect(pk, true)
addEvent(sendFinishEvolutionEffect, 550, pk, true)
addEvent(sendFinishEvolutionEffect, 1050, pk)

doPlayerRemoveItem(cid, stone1, 1)
doPlayerRemoveItem(cid, stone2, 1)

doAddPokemonInOwnList(cid, theevo)

local status = getPokemonStatus(getCreatureName(pk))

local off = status.off * 7.5
local def = status.def * 7.5
local agi = status.agi * 7.5
local spatk = status.spatk * 7.5
local vit = status.vit * 7

doItemSetAttribute(pokeball.uid, "offense", getItemAttribute(pokeball.uid, "offense") + off)
doItemSetAttribute(pokeball.uid, "defense", getItemAttribute(pokeball.uid, "defense") + def)
doItemSetAttribute(pokeball.uid, "speed", getItemAttribute(pokeball.uid, "speed") + agi)
doItemSetAttribute(pokeball.uid, "specialattack", getItemAttribute(pokeball.uid, "specialattack") + spatk)
doItemSetAttribute(pokeball.uid, "vitality", getItemAttribute(pokeball.uid, "vitality") + vit)

doPlayerSendTextMessage(cid, 27, "Evolution bonus: • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."")

local happy = getItemAttribute(pokeball.uid, "happy")

doItemSetAttribute(pokeball.uid, "happy", happy + happyGainedOnEvolution)

if happy + happyGainedOnEvolution > 255 then
doItemSetAttribute(pokeball.uid, "happy", 255)
end

adjustStatus(pk, pokeball.uid, true, false)

if useKpdoDlls then
doUpdateMoves(cid)
end
end





function givePokemonExp(cid, item, expe, pct, rarecandy)

if expe <= 0 or not isCreature(cid) then return true end

local leveltable = getPokemonExperienceTable(getPokeballName(item.uid, true))

if getItemAttribute(item.uid, "exp") + expe > leveltable[100] then
givePokemonExp(cid, item, leveltable[100] - getItemAttribute(item.uid, "exp"))
return true
end

doItemSetAttribute(item.uid, "exp", getItemAttribute(item.uid, "exp") + expe)
doItemSetAttribute(item.uid, "happy", getItemAttribute(item.uid, "happy") + 1)
doItemSetAttribute(item.uid, "nextlevelexp", getItemAttribute(item.uid, "nextlevelexp") - expe)


if pct then
doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." has received "..expe.." experience points ("..pct.."%).")
else
if getItemAttribute(item.uid, "nextlevelexp") > 0 then
doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." ["..getItemAttribute(item.uid, "level").."] has received "..expe.." experience points ("..getItemAttribute(item.uid, "nextlevelexp").." to next level).")
else
doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item.uid).." ["..getItemAttribute(item.uid, "level").."] has received "..expe.." experience points and has leveled up!")
end
end

if isBeingUsed(item.itemid) then
doSendAnimatedText(getThingPos(getCreatureSummons(cid)[1]), expe, 215)
end

if getItemAttribute(item.uid, "nextlevelexp") <= 0 then
local summon = getCreatureSummons(cid)[1]

if not isCreature(summon) then return true end

doSendFlareEffect(getThingPos(summon))
doSendAnimatedText(getThingPos(summon), "Level up!", 215)

adjustPokemonLevel(item.uid, cid, item.itemid)
end
end


function givePokemonExpInBp(cid, item, expe, ballid, pct, hidemessage)

if expe <= 0 or not isCreature(cid) then return true end

local leveltable = getPokemonExperienceTable(getPokeballName(item, true))

if getItemAttribute(item, "exp") + expe > leveltable[200] then
givePokemonExpInBp(cid, item, leveltable[200] - getItemAttribute(item, "exp"), ballid)
return true
end

doItemSetAttribute(item, "exp", getItemAttribute(item, "exp") + expe)
doItemSetAttribute(item, "happy", getItemAttribute(item, "happy") + 1)
doItemSetAttribute(item, "nextlevelexp", getItemAttribute(item, "nextlevelexp") - expe)

if not hidemessage then
if pct then
doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." has received "..expe.." experience points ("..pct.."%).")
else
if getItemAttribute(item, "nextlevelexp") > 0 then
doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." ["..getItemAttribute(item, "level").."] has received "..expe.." experience points inside his pokeball ("..getItemAttribute(item, "nextlevelexp").." to next level).")
else
doPlayerSendTextMessage(cid, 27, "Your "..getPokeballName(item).." ["..getItemAttribute(item, "level").."] has received "..expe.." experience points and has leveled up inside his pokeball.")
adjustPokemonLevel(item, cid, ballid)
end
end
end
end



function doMathDecimal(number, casas)

if math.floor(number) == number then return number end

local c = casas and casas + 1 or 3

for a = 0, 10 do
if math.floor(number) < math.pow(10, a) then
local str = string.sub(""..number.."", 1, a + c)
return tonumber(str)
end
end

return number
end



function adjustPokemonLevel(item, cid, id, rarecandy)

if not isCreature(cid) then return true end

local exp = getItemAttribute(item, "exp")
local level = getItemAttribute(item, "level")
local leveltable = getPokemonExperienceTable(getPokeballName(item, true))
local newlevel = 1

for x = 1, 100 do
if exp >= leveltable[x] and exp < leveltable[x+1] then
newlevel = x
end
end

if newlevel <= 1 then return true end

local levelsup = (newlevel - level)
local pokemon = getItemAttribute(item, "poke")
local happy = getItemAttribute(item, "happy")
local rate = happy / 100
local newhappiness = happy

if happy >= 250 then
newhappiness = 255
elseif happy >= 230 then
newhappiness = happy + 4
elseif happy >= 210 then
newhappiness = happy + 6
elseif happy >= 180 then
newhappiness = happy + 8
elseif happy >= 140 then
newhappiness = happy + 10
elseif happy >= 110 then
newhappiness = happy + 12
else
newhappiness = happy + 15
end

local status = getPokemonStatus(pokemon)

local off = status.off * rate * levelsup
local def = status.def * rate * levelsup
local agi = status.agi * rate * levelsup
local spatk = status.spatk * rate * levelsup
local vit = status.vit * rate * levelsup

doItemSetAttribute(item, "level", newlevel)

if not rarecandy then
doItemSetAttribute(item, "happy", newhappiness)
end

local nextexp = leveltable[newlevel + 1] - exp
doItemSetAttribute(item, "nextlevelexp", nextexp)

doItemSetAttribute(item, "offense", getItemAttribute(item, "offense") + off)
doItemSetAttribute(item, "defense", getItemAttribute(item, "defense") + def)
doItemSetAttribute(item, "speed", getItemAttribute(item, "speed") + agi)
doItemSetAttribute(item, "specialattack", getItemAttribute(item, "specialattack") + spatk)
doItemSetAttribute(item, "vitality", getItemAttribute(item, "vitality") + vit)

if newlevel > getPlayerLevel(cid) + pokemonMaxLevelAbovePlayer then
addEvent(doPlayerSendTextMessage, 30, cid, 18, "Warning: Your "..getPokeballName(item).."'s ["..newlevel.."] level is much higher than yours, so you will not be able to call him to battles.")
end

if isCreature(cid) and id >= 1 and isBeingUsed(id) then
adjustStatus(getCreatureSummons(cid)[1], item, false, true)
doPlayerSendTextMessage(cid, 27, "• Level: "..newlevel.." (+"..levelsup..") • Offense: +"..doMathDecimal(off).." • Defense: +"..doMathDecimal(def).." • Spc. Atk: +"..doMathDecimal(spatk).." • Agility: +"..doMathDecimal(agi).." • Vitality: +"..doMathDecimal(vit).."")

if happy < minHappyToEvolve then return true end

if pokemonsCanEvolveByLevel then

local summon = getCreatureSummons(cid)[1]

local reqlevel = poevo[getCreatureName(summon)] and poevo[getCreatureName(summon)].level or -1
local level = getItemAttribute(item, "level")
local evolution = "none"
local name = getCreatureName(summon)

if name == "Tyrogue" and level >= 20 then
if getOffense(summon) == getDefense(summon) then
evolution = "Hitmontop"
elseif getOffense(summon) > getDefense(summon) then
evolution = "Hitmonlee"
else
evolution = "Hitmonchan"
end
elseif name == "Eevee" then
if happy >= maxHappyToEvolve then
if isDay() then
evolution = "Espeon"
else
evolution = "Umbreon"
end
end
elseif name == "Slowpoke" and level >= 28 then
evolution = "Slowbro"
elseif name == "Poliwhirl" and level >= 36 then
evolution = "Poliwrath"
elseif reqlevel > 4 and level >= reqlevel then
evolution = poevo[getCreatureName(summon)].evolution
elseif reqlevel == 2 and happy >= maxHappyToEvolve then
evolution = poevo[getCreatureName(summon)] and poevo[getCreatureName(summon)].evolution or "none"
end

if evolution ~= "none" then
doStartEvolution(summon, evolution, 4)
end
end
end
end

function adjustStatus(pk, item, health, vite, conditions)

if not isCreature(pk) then return true end

local bonusoffense = getItemAttribute(item, boffense) or 0
local bonusdefense = getItemAttribute(item, bdefense) or 0
local bonusagility = getItemAttribute(item, bagility) or 0
local bonussattack = getItemAttribute(item, bsattack) or 0

setPlayerStorageValue(pk, 1000, getItemAttribute(item, "level"))
setPlayerStorageValue(pk, 1001, getItemAttribute(item, "offense") + bonusoffense)
setPlayerStorageValue(pk, 1002, getItemAttribute(item, "defense") + bonusdefense)
setPlayerStorageValue(pk, 1003, getItemAttribute(item, "speed") + bonusagility)
setPlayerStorageValue(pk, 1005, getItemAttribute(item, "specialattack") + bonussattack)

local gender = getItemAttribute(item, "gender") and getItemAttribute(item, "gender") or 0
doCreatureSetSkullType(pk, gender)

if vite == true then
local pct = getCreatureHealth(pk) / getCreatureMaxHealth(pk)
local vit = getItemAttribute(item, "vitality") - getPlayerStorageValue(pk, 1004)
setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + ( vit * HPperVIT ))
doCreatureAddHealth(pk, pct * vit * HPperVIT)
end

setPlayerStorageValue(pk, 1004, getItemAttribute(item, "vitality"))

doRegainSpeed(pk)

local nick = getItemAttribute(item, "poke")

if getItemAttribute(item, "nick") then
nick = getItemAttribute(item, "nick")
end

setPlayerStorageValue(pk, 1007, nick)

local boostlevel = getItemAttribute(item, "boost") or 0
local boostshow = hideBoost and "]" or " + "..boostlevel.."]"
local lvlstr = ""

if showBoostSeparated then
boostshow = hideBoost and "]" or "] [+"..boostlevel.."]"
end

if hideSummonsLevel then
if not hideBoost then
nick = nick.." [+"..boostlevel.."]"
end
else
nick = nick.." ["..getItemAttribute(item, "level")..""..boostshow..""
end

doCreatureSetNick(pk, nick)

if not getItemAttribute(item, "happy") then
doItemSetAttribute(item, "happy", 120)
end

if not getItemAttribute(item, "hunger") then
doItemSetAttribute(item, "hunger", 5)
end

local happy = getItemAttribute(item, "happy")
if happy < 0 then
happy = 0
end
setPlayerStorageValue(pk, 1008, happy)

local hunger = getItemAttribute(item, "hunger")
setPlayerStorageValue(pk, 1009, hunger)

if health == true then
local mh = getCreatureMaxHealth(pk) + HPperVIT * getVitality(pk)
local rd = 1 - (tonumber(getItemAttribute(item, "hp")))
setCreatureMaxHealth(pk, mh)
doCreatureAddHealth(pk, getCreatureMaxHealth(pk))
doCreatureAddHealth(pk, -(getCreatureMaxHealth(pk) * rd))
end

if isSummon(pk) and conditions then
local burn = getItemAttribute(item, "burn")
if burn and burn >= 0 then
addEvent(doAdvancedBurn, 5000, pk, pk, getItemAttribute(item, "burndmg"), burn - 1)
end

local poison = getItemAttribute(item, "poison")
if poison and poison >= 0 then
addEvent(doAdvancedPoison, 2500, pk, pk, getItemAttribute(item, "poisondmg"), poison - 1)
end

if getItemAttribute(item, "confuse") and getItemAttribute(item, "confuse") >= 1 then
addEvent(doAdvancedConfuse, 1200, pk, getItemAttribute(item, "confuse"), getPlayerStorageValue(pk, 3891))
end

if getItemAttribute(item, "blind") and getItemAttribute(item, "blind") >= 1 then
addEvent(doBlind, 300, pk, getItemAttribute(item, "blind"), getItemAttribute(item, "blindef"))
end

if getItemAttribute(item, "sleep") and getItemAttribute(item, "sleep") >= 1 then
doSleep(pk, getItemAttribute(item, "sleep"))
end
end

return true
end

function setWildPokemonLevel(cid, optionalLevel, optionalStatus, optionalNick, optionalExtraExp)

if not isCreature(cid) then return true end
if not pokes[getCreatureName(cid)] then return true end --alterado v2.6

local levelRange = 0
local off = 0
local def = 0
local agi = 0
local spatk = 0
local vit = 0
local this = getCreatureName(cid)
local ee = 1

if optionalExtraExp then
ee = optionalExtraExp
end


if optionalLevel and tonumber(optionalLevel) >= 1 then
if optionalLevel <= 100 then
levelRange = optionalLevel
else
levelRange = 100
end
elseif getCreatureOutfit(cid).lookHead and getCreatureOutfit(cid).lookBody and getCreatureOutfit(cid).lookHead <= getCreatureOutfit(cid).lookBody then
levelRange = math.random(getCreatureOutfit(cid).lookHead, getCreatureOutfit(cid).lookBody)
else
levelRange = math.random(20, 30)
end

local status = getPokemonStatus(this)
if status then
off = status.off
def = status.def
agi = status.agi
vit = status.vit
spatk = status.spatk
end

setPlayerStorageValue(cid, 1000, levelRange)

if optionalStatus and optionalStatus.off then
setPlayerStorageValue(cid, 1001, optionalStatus.offense)
setPlayerStorageValue(cid, 1002, optionalStatus.defense)
setPlayerStorageValue(cid, 1003, optionalStatus.agility)
setPlayerStorageValue(cid, 1004, optionalStatus.vitality)
setPlayerStorageValue(cid, 1005, optionalStatus.specialattack)
setPlayerStorageValue(cid, 1011, optionalStatus.offense)
setPlayerStorageValue(cid, 1012, optionalStatus.defense)
setPlayerStorageValue(cid, 1013, optionalStatus.agility)
setPlayerStorageValue(cid, 1014, optionalStatus.vitality)
setPlayerStorageValue(cid, 1015, optionalStatus.specialattack)
else
setPlayerStorageValue(cid, 1001, 5 + math.random(off * levelRange * 0.9, off * levelRange * 1.8))
setPlayerStorageValue(cid, 1002, 5 + math.random(def * levelRange * 0.9, def * levelRange * 1.8))
setPlayerStorageValue(cid, 1003, math.random(agi * levelRange * 0.9, agi * levelRange * 1.8))
setPlayerStorageValue(cid, 1004, math.random(vit * levelRange * 0.9, vit * levelRange * 1.8))
setPlayerStorageValue(cid, 1005, 5 + math.random(spatk * levelRange * 0.9, spatk * levelRange * 1.8))
setPlayerStorageValue(cid, 1011, getPlayerStorageValue(cid, 1001))
setPlayerStorageValue(cid, 1012, getPlayerStorageValue(cid, 1002))
setPlayerStorageValue(cid, 1013, getPlayerStorageValue(cid, 1003))
setPlayerStorageValue(cid, 1014, getPlayerStorageValue(cid, 1004))
setPlayerStorageValue(cid, 1015, getPlayerStorageValue(cid, 1005))
end

doRegainSpeed(cid)

setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + getPlayerStorageValue(cid, 1004) * HPperVIT * vitReductionForWild)
doCreatureAddHealth(cid, getCreatureMaxHealth(cid))

if pokes[getCreatureName(cid)].exp then
--getMonsterInfo(getCreatureName(cid)).experience
local exp = (50 + pokes[getCreatureName(cid)].exp) * baseExpRate + pokes[getCreatureName(cid)].vitality * levelRange * pokemonExpPerLevelRate
setPlayerStorageValue(cid, 1006, exp * generalExpRate * ee)
if getPlayerStorageValue(cid, 22546) == 1 then
setPlayerStorageValue(cid, 1006, 750)
doSetCreatureDropLoot(cid, false) --edited golden arena
end
end

local wildshow = wildBeforeNames and "Wild " or ""
if optionalNick then
if hideWildsLevel then
doCreatureSetNick(cid, optionalNick)
else
doCreatureSetNick(cid, optionalNick.." ["..getWildPokemonLevel(cid).."]")
end
else
if hideWildsLevel then
doCreatureSetNick(cid, ""..wildshow..""..getCreatureName(cid).."")
else
doCreatureSetNick(cid, ""..wildshow..""..getCreatureName(cid).." ["..getWildPokemonLevel(cid).."]")
end
end
end

function getOffense(cid)
if not isCreature(cid) then return 0 end

if getPlayerStorageValue(cid, 3894) >= 1 then
return tonumber(getPlayerStorageValue(cid, 1001)) / 2
end

return tonumber(getPlayerStorageValue(cid, 1001))
end

function getDefense(cid)
if not isCreature(cid) then return 0 end

if getPlayerStorageValue(cid, 3894) >= 1 then
return tonumber(getPlayerStorageValue(cid, 1002)) / 2
end

return tonumber(getPlayerStorageValue(cid, 1002))
end

function getSpeed(cid)
if not isCreature(cid) then return 0 end
return tonumber(getPlayerStorageValue(cid, 1003))
end

function getVitality(cid)
if not isCreature(cid) then return 0 end
return tonumber(getPlayerStorageValue(cid, 1004))
end

function getSpecialAttack(cid)
if not isCreature(cid) then return 0 end
return tonumber(getPlayerStorageValue(cid, 1005))
end

function getHappiness(cid)
if not isCreature(cid) then return 0 end
return tonumber(getPlayerStorageValue(cid, 1008))
end

function getSpecialDefense(cid)
if not isCreature(cid) then return 0 end
return getSpecialAttack(cid) * 0.85 + getDefense(cid) * 0.2
end

function getWildPokemonExp(cid)
return getPlayerStorageValue(cid, 1006)
end

function getWildPokemonLevel(cid)
return getPlayerStorageValue(cid, 1000)
end

function getLevel(cid)
if isSummon(cid) then
return getItemAttribute(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "level")
end
return getPlayerStorageValue(cid, 1000)
end

function getPokeName(cid)
if not isSummon(cid) then return getCreatureName(cid) end
if getCreatureName(cid) == "Evolution" then return getPlayerStorageValue(cid, 1007) end
local item = getPlayerSlotItem(getCreatureMaster(cid), 8)
if getItemAttribute(item.uid, "nick") then
return getItemAttribute(item.uid, "nick")
end
return getCreatureName(cid)
end

function getPokeballName(item, truename)
if not truename and getItemAttribute(item, "nick") then
return getItemAttribute(item, "nick")
end
return getItemAttribute(item, "poke")
end

function getPokemonName(cid)
return getCreatureName(cid)
end

function getPokemonLevel(cid)
if not isCreature(cid) then return 0 end
return getPlayerStorageValue(cid, 1000)
end

function getPokemonGender(cid)
return getCreatureSkullType(cid)

end

Pow mano Valeu, Mas da vários erros no server...pegou nao.

Aki Meu Level Tables \/
 

function getPokemonExperienceTable(pokemonname)


if isInArray(fastexppokes, pokemonname) then
return fastexptable
elseif isInArray(mediumfastexppokes, pokemonname) then
return mediumfastexptable
elseif isInArray(mediumslowexppokes, pokemonname) then
return mediumslowexptable
elseif isInArray(slowexppokes, pokemonname) then
return slowexptable
end
print(""..pokemonname.." doesn't have an experience table speed gain. Check it at data/lib/level tables.lua.")
return mediumfastexptable
end

fastexppokes = {"Clefairy", "Clefable", "Iglybuff", "Shiny Donphan", "Jigglypuff", "Wigglytuff", "Chansey", "Shiny Clefairy", "Shiny Clefable", "Shiny Iglybuff", "Shiny Jigglypuff", "Shiny Wigglytuff", "Shiny Chansey", "Ledyba", "Ledian", "Spinarak", "Ariados", "Cleffa", "Togepi", "Togetic", "Marill", "Azumarill", "Aipom", "Misdreavus", "Snubbull", "Granbull", "Corsola", "Delibird", "Smeargle", "Blissey", "Gible", "Croagunk", "Pachirisu", "Marshtomp", "Grovyle", "Treecko", "Mudkip", "Snover", "Glalie", "Snorunt", "Plusle", "Beldum", "Chimchar", "Wailmer", "Piplup", "Turtwig", "Swablu", "Buneary", "Shiny Buneary", "Shiny Beldum", "Shiny Croagunk", "Shiny Gible", "Shiny Pachirisu", "Minun", "Shiny Plusle", "Shiny Minun", "Shiny Glalie", "Shiny Snorunt", "Happiny", "Bagon", "Castform", "Clamperl", "Kecleon", "Ninjask", "Shedinja", "Sableye", "Spinda", "Illumise", "Volbeat", "CommanderOfficer", "CommanderRocket", "Police", "Rocket"}

fastexptable = {
[1] = 0,
[2] = 51,
[3] = 172,
[4] = 409,
[5] = 800,
[6] = 1382,
[7] = 2195,
[8] = 3276,
[9] = 4665,
[10] = 6400,
[11] = 8518,
[12] = 11059,
[13] = 14060,
[14] = 17561,
[15] = 21600,
[16] = 26214,
[17] = 31443,
[18] = 37324,
[19] = 43897,
[20] = 51200,
[21] = 59270,
[22] = 68147,
[23] = 77868,
[24] = 88473,
[25] = 100000,
[26] = 112486,
[27] = 125971,
[28] = 140492,
[29] = 156089,
[30] = 172800,
[31] = 190662,
[32] = 209715,
[33] = 229996,
[34] = 251545,
[35] = 274400,
[36] = 298598,
[37] = 324179,
[38] = 351180,
[39] = 379641,
[40] = 409600,
[41] = 441094,
[42] = 474163,
[43] = 508844,
[44] = 545177,
[45] = 583200,
[46] = 622950,
[47] = 664467,
[48] = 707788,
[49] = 752953,
[50] = 800000,
[51] = 848966,
[52] = 899891,
[53] = 952812,
[54] = 1007769,
[55] = 1064800,
[56] = 1123942,
[57] = 1185235,
[58] = 1248716,
[59] = 1314425,
[60] = 1382400,
[61] = 1452678,
[62] = 1525299,
[63] = 1600300,
[64] = 1677721,
[65] = 1757600,
[66] = 1839974,
[67] = 1924883,
[68] = 2012364,
[69] = 2102457,
[70] = 2195200,
[71] = 2290630,
[72] = 2388787,
[73] = 2489708,
[74] = 2593433,
[75] = 2700000,
[76] = 2809446,
[77] = 2921811,
[78] = 3037132,
[79] = 3155449,
[80] = 3276800,
[81] = 3401222,
[82] = 3528755,
[83] = 3659436,
[84] = 3793305,
[85] = 3930400,
[86] = 4070758,
[87] = 4214419,
[88] = 4361420,
[89] = 4511801,
[90] = 4665600,
[91] = 4822854,
[92] = 4983603,
[93] = 5147884,
[94] = 5315737,
[95] = 5487200,
[96] = 5662310,
[97] = 5841107,
[98] = 6023628,
[99] = 6209913,
[100] = 6400000,
[101] = 999999999}

mediumfastexppokes = {"Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Rattata", "Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Vulpix", "Ninetales", "Zubat", "Golbat", "Paras", "Parasect", "Diglett", "Dugtrio", "Meowth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Ponyta", "Rapidash", "Magnemite", "Magneton", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Onix", "Steelix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode", "Cubone", "Marowak", "Hitmonlee", "Tyrogue", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Mr. Mime", "Scyther", "Jynx", "Smoochum", "Electabuzz", "Magmar", "Ditto", "Eevee", "Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Shiny Caterpie", "Shiny Metapod", "Shiny Butterfree", "Shiny Weedle", "Shiny Kakuna", "Shiny Beedrill", "Shiny Rattata", "Shiny Raticate", "Shiny Spearow", "Shiny Fearow", "Shiny Ekans", "Shiny Arbok", "Shiny Pikachu", "Shiny Raichu", "Shiny Sandshrew", "Shiny Sandslash", "Shiny Vulpix", "Shiny Ninetales", "Shiny Zubat", "Shiny Golbat", "Shiny Paras", "Shiny Parasect", "Shiny Diglett", "Shiny Dugtrio", "Shiny Meowth", "Shiny Persian", "Shiny Psyduck", "Shiny Golduck", "Shiny Mankey", "Shiny Primeape", "Shiny Ponyta", "Shiny Rapidash", "Shiny Magnemite", "Shiny Magneton", "Shiny Doduo", "Shiny Dodrio", "Shiny Seel", "Shiny Dewgong", "Shiny Grimer", "Shiny Muk", "Shiny Onix", "Shiny Steelix", "Shiny Drowzee", "Shiny Hypno", "Shiny Krabby", "Shiny Kingler", "Shiny Voltorb", "Shiny Electrode", "Shiny Cubone", "Shiny Marowak", "Shiny Hitmonlee", "Tyrogue", "Shiny Hitmonchan", "Shiny Lickitung", "Shiny Koffing", "Shiny Weezing", "Shiny Kangaskhan", "Shiny Horsea", "Shiny Seadra", "Shiny Goldeen", "Shiny Seaking", "Shiny Mr. Mime", "Shiny Scyther", "Shiny Jynx", "Smoochum", "Shiny Electabuzz", "Shiny Magmar", "Shiny Ditto", "Shiny Eevee", "Shiny Jolteon", "Shiny Flareon", "Shiny Porygon", "Shiny Omanyte", "Shiny Omastar", "Shiny Kabuto", "Shiny Kabutops", "Sentret", "Furret", "Hoothoot", "Noctowl", "Crobat", "Pichu", "Natu", "Xatu", "Wooper", "Quagsire", "Espeon", "Umbreon", "Girafarig", "Pineco", "Forretress", "Dunsparce", "Qwilfish", "Scizor", "Magcargo", "Slugma", "Remoraid", "Octillery", "Kingdra", "Phanpy", "Donphan", "Porygon2", "Hitmontop", "Elekid", "Magby", "Vaporeon", "Shiny Vaporeon", "Venonat", "Venomoth", "Slowpoke", "Shiny Slowpoke", "Slowbro", "Slowking", "Farfetch'd", "Tangela", "Shiny Tangela", "Sudowoodo", "Yanma", "Unown", "Wobbuffet", "Teddiursa", "Ursaring", "Porygonz", "Baltoy", "Claydol", "Carvanha", "Buizel", "Yanmega", "Gabite", "Togekiss", "Zangoose", "Sharpedo", "Cranidos", "Rampardos", "Floatzel", "Metang", "Combusken", "Blaziken", "Swampert", "Staraptor", "Shiny Magmortar", "Shiny Electivire", "Empoleon", "Shiny Claydol", "Shiny Metang", "Shiny Carvanha", "Shiny Sharpedo", "Shiny Buizel", "Shiny Floatzel", "Shiny Gabite", "Gliscor", "Shiny Gliscor", "Shiny Staraptor", "Shiny Yanmega", "Shiny Zangoose", "Lairon", "Barboach", "Whiscash", "Electrike", "Manectric", "Gulpin", "Swalot", "Luvdisc", "Makuhita", "Makuhita", "Mawile", "Nincada", "Poochyena", "Mightyena", "Relicanth", "Seviper", "Skitty", "Delcatty", "Slakoth", "Vigoroth", "Slaking", "Spheal", "Sealeo", "Walrein", "Spoink", "Grumpig", "Surskit", "Masquerain", "Taillow", "Swellow", "Torkoal", "Whismur", "Loudred", "Exploud", "Wurmple", "Silcoon", "Cascoon", "Beautifly", "Dustox", "Zigzagoon", "Linoone", "Magnezone"}

mediumfastexptable = {
[1] = 0,
[2] = 64,
[3] = 216,
[4] = 512,
[5] = 1000,
[6] = 1728,
[7] = 2744,
[8] = 4096,
[9] = 5832,
[10] = 8000,
[11] = 10648,
[12] = 13824,
[13] = 17576,
[14] = 21952,
[15] = 27000,
[16] = 32768,
[17] = 39304,
[18] = 46656,
[19] = 54872,
[20] = 64000,
[21] = 74088,
[22] = 85184,
[23] = 97336,
[24] = 110592,
[25] = 125000,
[26] = 140608,
[27] = 157464,
[28] = 175616,
[29] = 195112,
[30] = 216000,
[31] = 238328,
[32] = 262144,
[33] = 287496,
[34] = 314432,
[35] = 343000,
[36] = 373248,
[37] = 405224,
[38] = 438976,
[39] = 474552,
[40] = 512000,
[41] = 551368,
[42] = 592704,
[43] = 636056,
[44] = 681472,
[45] = 729000,
[46] = 778688,
[47] = 830584,
[48] = 884736,
[49] = 941192,
[50] = 1000000,
[51] = 1061208,
[52] = 1124864,
[53] = 1191016,
[54] = 1259712,
[55] = 1331000,
[56] = 1404928,
[57] = 1481544,
[58] = 1560896,
[59] = 1643032,
[60] = 1728000,
[61] = 1815848,
[62] = 1906624,
[63] = 2000376,
[64] = 2097152,
[65] = 2197000,
[66] = 2299968,
[67] = 2406104,
[68] = 2515456,
[69] = 2628072,
[70] = 2744000,
[71] = 2863288,
[72] = 2985984,
[73] = 3112136,
[74] = 3241792,
[75] = 3375000,
[76] = 3511808,
[77] = 3652264,
[78] = 3796416,
[79] = 3944312,
[80] = 4096000,
[81] = 4251528,
[82] = 4410944,
[83] = 4574296,
[84] = 4741632,
[85] = 4913000,
[86] = 5088448,
[87] = 5268024,
[88] = 5451776,
[89] = 5639752,
[90] = 5832000,
[91] = 6028568,
[92] = 6229504,
[93] = 6434856,
[94] = 6644672,
[95] = 6859000,
[96] = 7077888,
[97] = 7301384,
[98] = 7529536,
[99] = 7762392,
[100] = 8000000,
[101] = 999999999}

mediumslowexppokes = {"Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise", "Pidgey", "Pidgeotto", "Pidgeot", "Nidoran Female", "Nidorina", "Nidoqueen", "Nidoran Male", "Nidorino", "Nidoking", "Oddish", "Gloom", "Vileplume", "Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout", "Weepinbell", "Victreebel", "Geodude", "Graveler", "Golem", "Gastly", "Haunter", "Gengar", "Mew", "Shiny Bulbasaur", "Shiny Ivysaur", "Shiny Venusaur", "Shiny Charmander", "Shiny Charmeleon", "Shiny Charizard", "Shiny Squirtle", "Shiny Wartortle", "Shiny Blastoise", "Shiny Pidgey", "Shiny Pidgeotto", "Shiny Pidgeot", "Shiny Nidoran Female", "Shiny Nidorina", "Shiny Nidoqueen", "Shiny Nidoran Male", "Shiny Nidorino", "Shiny Nidoking", "Shiny Oddish", "Shiny Gloom", "Shiny Vileplume", "Shiny Poliwag", "Shiny Poliwhirl", "Shiny Poliwrath", "Shiny Abra", "Shiny Kadabra", "Shiny Alakazam", "Shiny Machop", "Shiny Machoke", "Shiny Machamp", "Shiny Bellsprout", "Shiny Weepinbell", "Shiny Victreebel", "Shiny Geodude", "Shiny Graveler", "Shiny Golem", "Shiny Gastly", "Shiny Haunter", "Shiny Gengar", "Shiny Mew", "Chikorita", "Bayleef", "Meganium", "Cyndaquil", "Quilava", "Typhlosion", "Totodile", "Croconaw", "Feraligatr", "Mareep", "Flaaffy", "Ampharos", "Bellossom", "Politoed", "Hoppip", "Skiploom", "Jumpluff", "Sunkern", "Sunflora", "Murkrow", "Gligar", "Shuckle", "Sneasel", "Celebi", "Sceptile", "Absol", "Altaria", "Torchic", "Abomasnow", "Froslass", "Probopass", "Luxray", "Lunatone", "Solrock", "Munchlax", "Infernape", "Monferno", "Prinplup", "Torterra", "Grotle", "Shiny Absol", "Shiny Altaria", "Shiny Baltoy", "Camerupt", "Shiny Camerupt", "Carnivine", "Toxicroak", "Shiny Toxicroak", "Shiny Luxray", "Shiny Probopass", "Purugly", "Shiny Purugly", "Shiny Froslass", "Shiny Lunatone", "Shiny Solrock", "Shiny Typhlosion", "Shiny Quilava", "Shiny Cyndaquil", "Shiny Bayleef", "Shiny Meganium", "Shiny Chikorita", "Shiny Totodile", "Shiny Croconaw", "Shiny Feraligatr", "Roselia", "Anorith", "Aron", "Roserade", "Budew", "Cacnea", "Cacturne", "Chingling", "Chimecho", "Huntail", "Corphish", "Crawdaunt", "Duskull", "Dusclops", "Dusknoir", "Lileep", "Cradily", "Lotad", "Lombre", "Ludicolo", "Meditite", "Medicham", "Ralts", "Kirlia", "Gardevoir", "Gallade", "Seedot", "Nuzleaf", "Shiftry", "Shroomish", "Breloom", "Shuppet", "Banette", "Wingull", "Pelipper", "Nosepass", "Numel"}

mediumslowexptable = {
[1] = 0,
[2] = 72,
[3] = 456,
[4] = 768,
[5] = 1080,
[6] = 1432,
[7] = 1888,
[8] = 2512,
[9] = 3352,
[10] = 4480,
[11] = 5936,
[12] = 7784,
[13] = 10088,
[14] = 12896,
[15] = 16280,
[16] = 20280,
[17] = 24960,
[18] = 30384,
[19] = 36600,
[20] = 43680,
[21] = 51664,
[22] = 60616,
[23] = 70600,
[24] = 81664,
[25] = 93880,
[26] = 107288,
[27] = 121952,
[28] = 137936,
[29] = 155288,
[30] = 174080,
[31] = 194352,
[32] = 216168,
[33] = 239592,
[34] = 264672,
[35] = 291480,
[36] = 320056,
[37] = 350464,
[38] = 382768,
[39] = 417016,
[40] = 453280,
[41] = 491600,
[42] = 532040,
[43] = 574664,
[44] = 619520,
[45] = 666680,
[46] = 716184,
[47] = 768096,
[48] = 822480,
[49] = 879384,
[50] = 938880,
[51] = 1001008,
[52] = 1065832,
[53] = 1133416,
[54] = 1203808,
[55] = 1277080,
[56] = 1353272,
[57] = 1432448,
[58] = 1514672,
[59] = 1599992,
[60] = 1688480,
[61] = 1780176,
[62] = 1875144,
[63] = 1973448,
[64] = 2075136,
[65] = 2180280,
[66] = 2288920,
[67] = 2401120,
[68] = 2516944,
[69] = 2636440,
[70] = 2759680,
[71] = 2886704,
[72] = 3017576,
[73] = 3152360,
[74] = 3291104,
[75] = 3433880,
[76] = 3580728,
[77] = 3731712,
[78] = 3886896,
[79] = 4046328,
[80] = 4210080,
[81] = 4378192,
[82] = 4550728,
[83] = 4727752,
[84] = 4909312,
[85] = 5095480,
[86] = 5286296,
[87] = 5481824,
[88] = 5682128,
[89] = 5887256,
[90] = 6097280,
[91] = 6312240,
[92] = 6532200,
[93] = 6757224,
[94] = 6987360,
[95] = 7222680,
[96] = 7463224,
[97] = 7709056,
[98] = 7960240,
[99] = 8216824,
[100] = 8478880,
[101] = 999999999}

slowexppokes = {"Ho-oh", "Growlithe", "Shiny Scizor", "Arcanine", "Tentacool", "Tentacruel", "Shellder", "Cloyster", "Exeggcute", "Exeggutor", "Rhyhorn", "Rhydon", "Staryu", "Starmie", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Aerodactyl", "Snorlax", "Articuno", "Zapdos", "Moltres", "Dratini", "Dragonair", "Dragonite", "Mewtwo", "Mew", "Chinchou", "Lanturn", "Heracross", "Swinub", "Piloswine", "Mantine", "Skarmory", "Houndour", "Houndoom", "Stantler", "Miltank", "Raikou", "Entei", "Suicune", "Larvitar", "Pupitar", "Tyranitar", "Lugia", "Shiny Growlithe", "Shiny Arcanine", "Shiny Tentacool", "Shiny Tentacruel", "Shiny Shellder", "Shiny Cloyster", "Shiny Exeggcute", "Shiny Exeggutor", "Shiny Rhyhorn", "Shiny Rhydon", "Shiny Staryu", "Shiny Starmie", "Shiny Pinsir", "Shiny Tauros", "Shiny Magikarp", "Shiny Gyarados", "Shiny Lapras", "Shiny Aerodactyl", "Shiny Snorlax", "Shiny Articuno", "Shiny Zapdos", "Shiny Moltres", "Shiny Dratini", "Shiny Dragonair", "Shiny Dragonite", "Shiny Mewtwo", "Shiny Mew", "Tropius", "Honchkrow", "Gastrodon", "Metagross", "Drapion", "Mamoswine", "Rhyperior", "Feebas", "Wailord", "Milotic", "Magmortar", "Electivire", "Shiny Metagross", "Shiny Honchkrow", "Shiny Mamoswine", "Shiny Tropius", "Shiny Rhyperior", "Shiny Gastrodon", "Armaldo", "Aggron", "Salamence", "Shelgon", "Gorebyss", "Trapinch", "Vibrava", "Flygon"}

slowexptable = {
[1] = 0,
[2] = 80,
[3] = 270,
[4] = 640,
[5] = 1250,
[6] = 2160,
[7] = 3430,
[8] = 5120,
[9] = 7290,
[10] = 10000,
[11] = 13310,
[12] = 17280,
[13] = 21970,
[14] = 27440,
[15] = 33750,
[16] = 40960,
[17] = 49130,
[18] = 58320,
[19] = 68590,
[20] = 80000,
[21] = 92610,
[22] = 106480,
[23] = 121670,
[24] = 138240,
[25] = 156250,
[26] = 175760,
[27] = 196830,
[28] = 219520,
[29] = 243890,
[30] = 270000,
[31] = 297910,
[32] = 327680,
[33] = 359370,
[34] = 393040,
[35] = 428750,
[36] = 466560,
[37] = 506530,
[38] = 548720,
[39] = 593190,
[40] = 640000,
[41] = 689210,
[42] = 740880,
[43] = 795070,
[44] = 851840,
[45] = 911250,
[46] = 973360,
[47] = 1038230,
[48] = 1105920,
[49] = 1176490,
[50] = 1250000,
[51] = 1326510,
[52] = 1406080,
[53] = 1488770,
[54] = 1574640,
[55] = 1663750,
[56] = 1756160,
[57] = 1851930,
[58] = 1951120,
[59] = 2053790,
[60] = 2160000,
[61] = 2269810,
[62] = 2383280,
[63] = 2500470,
[64] = 2621440,
[65] = 2746250,
[66] = 2874960,
[67] = 3007630,
[68] = 3144320,
[69] = 3285090,
[70] = 3430000,
[71] = 3579110,
[72] = 3732480,
[73] = 3890170,
[74] = 4052240,
[75] = 4218750,
[76] = 4389760,
[77] = 4565330,
[78] = 4745520,
[79] = 4930390,
[80] = 5120000,
[81] = 5314410,
[82] = 5513680,
[83] = 5717870,
[84] = 5927040,
[85] = 6141250,
[86] = 6360560,
[87] = 6585030,
[88] = 6814720,
[89] = 7049690,
[90] = 7290000,
[91] = 7535710,
[92] = 7786880,
[93] = 8043570,
[94] = 8305840,
[95] = 8573750,
[96] = 8847360,
[97] = 9126730,
[98] = 9411920,
[99] = 9702990,
[100] = 10000000,
[101] = 999999999}

Porem!...Editei os locais do Lvl System com os Números "300" que esta no seu e no meu estavam 100, coloquei todos 300...
e editei as Exp Do Level tables. E pegou mano, Muito Obrigado Rep+!
No Dia que vc puder Manda a 3° pergunta ai pfv.
Grato!

Editado por Fabianoll (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
  • 4 weeks later...

Então pegue o Looktype dele e diminua por 351 

ex:  1500-351 = 1149 

 

vá na pasta data\lib e abra o configuration.lua e procure por essa parte

flys = {

quando achar copiei qualquer um Fly 

ex:     ["Moltres"] = {229, 2300},

 

["Moltres"]              --    Mude para o nome do pokemon que está adicionando o novo Fly

{229, 2300},           --    229 mude para o Resultado do Locktype que extraio do 351   e  em   2300 é a velocidade do Fly :wow:

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo