Ir para conteúdo

Capturo O Poke Mais Nao Da Pra Usar


96736649

Posts Recomendados

Sript do catch!

local pokes = {

["Flareon"] = {chance = 400, corpse = 6059, health = 5300, maxhealth = 5300},

["Crystal Onix"] = {chance = 5000, corpse = 6320, health = 5300, maxhealth = 5300},

["Porygon"] = {chance = 900, corpse = 5963, health = 14000, maxhealth = 4000},

["Ditto"] = {chance = 900, corpse = 2817, health = 14000, maxhealth = 4000},

["Magikarp"] = {chance = 2, corpse = 2818, health = 120, maxhealth = 120},

["Eevee"] = {chance = 80, corpse = 6364, health = 1500, maxhealth = 1500},

["Abra"] = {chance = 90, corpse = 2905, health = 620, maxhealth = 620},

["Kadabra"] = {chance = 500, corpse = 6060, health = 2500, maxhealth = 2500},

["Alakazam"] = {chance = 805, corpse = 6057, health = 4000, maxhealth = 4000},

["Rattata"] = {chance = 3, corpse = 5974, health = 350, maxhealth = 350},

["Raticate"] = {chance = 300, corpse = 6007, health = 900, maxhealth = 900},

["Pidgey"] = {chance = 4, corpse = 5961, health = 380, maxhealth = 380},

["Pidgeotto"] = {chance = 175, corpse = 5966, health = 1400, maxhealth = 1400},

["Pidgeot"] = {chance = 700, corpse = 6020, health = 3800, maxhealth = 3800},

["Zubat"] = {chance = 7, corpse = 5989, health = 450, maxhealth = 450},

["Golbat"] = {chance = 109, corpse = 6053, health = 1900, maxhealth = 1900},

["Bellsprout"] = {chance = 8, corpse = 2806, health = 420, maxhealth = 420},

["Weepinbell"] = {chance = 150, corpse = 2928, health = 1100, maxhealth = 1100},

["Victreebel"] = {chance = 702, corpse = 6332, health = 4000, maxhealth = 4000},

["Poliwag"] = {chance = 25, corpse = 6042, health = 400, maxhealth = 400},

["Poliwhirl"] = {chance = 212, corpse = 6054, health = 1200, maxhealth = 1200},

["Poliwrath"] = {chance = 900, corpse = 6033, health = 4400, maxhealth = 4400},

["Oddish"] = {chance = 9, corpse = 3008, health = 340, maxhealth = 340},

["Gloom"] = {chance = 105, corpse = 6017, health = 1400, maxhealth = 1400},

["Vileplume"] = {chance = 701, corpse = 6025, health = 3300, maxhealth = 3300},

["Horsea"] = {chance = 15, corpse = 2973, health = 300, maxhealth = 300},

["Seadra"] = {chance = 800, corpse = 2872, health = 2500, maxhealth = 2500},

["Grimer"] = {chance = 20, corpse = 6055, health = 600, maxhealth = 600},

["Weedle"] = {chance = 2, corpse = 5964, health = 325, maxhealth = 325},

["Kakuna"] = {chance = 105, corpse = 6000, health = 900, maxhealth = 900},

["Beedrill"] = {chance = 315, corpse = 5990, health = 1900, maxhealth = 1900},

["Muk"] = {chance = 705, corpse = 2845, health = 2400, maxhealth = 2400},

["Doduo"] = {chance = 250, corpse = 2842, health = 600, maxhealth = 600},

["Dodrio"] = {chance = 600, corpse = 6047, health = 2650, maxhealth = 2650},

["Magnemite"] = {chance = 64, corpse = 6056, health = 450, maxhealth = 450},

["Magneton"] = {chance = 300, corpse = 6076, health = 1750, maxhealth = 1750},

["Voltorb"] = {chance = 125, corpse = 6049, health = 620, maxhealth = 620},

["Electrode"] = {chance = 575, corpse = 6051, health = 2000, maxhealth = 2000},

["Geodude"] = {chance = 22, corpse = 6071, health = 700, maxhealth = 700},

["Graveler"] = {chance = 412, corpse = 6516, health = 3000, maxhealth = 3000},

["Golem"] = {chance = 900, corpse = 6043, health = 6500, maxhealth = 6500},

["Sandshrew"] = {chance = 75, corpse = 5988, health = 700, maxhealth = 700},

["Sandslash"] = {chance = 475, corpse = 6041, health = 3400, maxhealth = 3400},

["Charmander"] = {chance = 275, corpse = 5983, health = 970, maxhealth = 970},

["Charmeleon"] = {chance = 645, corpse = 5981, health = 2900, maxhealth = 2900},

["Charizard"] = {chance = 987, corpse = 6005, health = 5200, maxhealth = 5200},

["Vulpix"] = {chance = 120, corpse = 6003, health = 680, maxhealth = 680},

["Ninetales"] = {chance = 780, corpse = 6040, health = 2650, maxhealth = 2650},

["Bulbasaur"] = {chance = 275, corpse = 5969, health = 1200, maxhealth = 1200},

["Ivysaur"] = {chance = 645, corpse = 5982, health = 2600, maxhealth = 2600},

["Venusaur"] = {chance = 987, corpse = 5962, health = 5200, maxhealth = 5200},

["Squirtle"] = {chance = 275, corpse = 6008, health = 1350, maxhealth = 1350},

["Wartortle"] = {chance = 645, corpse = 5978, health = 2800, maxhealth = 2800},

["Blastoise"] = {chance = 982, corpse = 5999, health = 5900, maxhealth = 5900},

["Growlithe"] = {chance = 150, corpse = 6036, health = 1000, maxhealth = 1000},

["Arcanine"] = {chance = 750, corpse = 6031, health = 6800, maxhealth = 6800},

["Psyduck"] = {chance = 210, corpse = 6029, health = 950, maxhealth = 950},

["Golduck"] = {chance = 900, corpse = 6028, health = 4000, maxhealth = 4000},

["Pikachu"] = {chance = 300, corpse = 6001, health = 900, maxhealth = 900},

["Raichu"] = {chance = 999, corpse = 5996, health = 3500, maxhealth = 3500},

["Ekans"] = {chance = 350, corpse = 5979, health = 600, maxhealth = 600},

["Arbok"] = {chance = 912, corpse = 5984, health = 2900, maxhealth = 2900},

["Cubone"] = {chance = 405, corpse = 6050, health = 1200, maxhealth = 1200},

["Marowak"] = {chance = 925, corpse = 6072, health = 3900, maxhealth = 3900},

["Caterpie"] = {chance = 2, corpse = 5971, health = 300, maxhealth = 300},

["Metapod"] = {chance = 201, corpse = 5970, health = 1100, maxhealth = 1100},

["Butterfree"] = {chance = 905, corpse = 5985, health = 2000, maxhealth = 2000},

["Goldeen"] = {chance = 35, corpse = 2970, health = 950, maxhealth = 950},

["Seaking"] = {chance = 775, corpse = 3038, health = 2000, maxhealth = 2000},

["Spearow"] = {chance = 8, corpse = 5968, health = 200, maxhealth = 200},

["Fearow"] = {chance = 650, corpse = 5992, health = 3300, maxhealth = 3300},

["Drowzee"] = {chance = 435, corpse = 6026, health = 1150, maxhealth = 1150},

["Hypno"] = {chance = 900, corpse = 6046, health = 4600, maxhealth = 4600},

["Diglett"] = {chance = 400, corpse = 6023, health = 900, maxhealth = 900},

["Dugtrio"] = {chance = 900, corpse = 6024, health = 3450, maxhealth = 3450},

["Krabby"] = {chance = 46, corpse = 6039, health = 850, maxhealth = 850},

["Kingler"] = {chance = 300, corpse = 6340, health = 3250, maxhealth = 3250},

["Paras"] = {chance = 45, corpse = 3007, health = 850, maxhealth = 850},

["Parasect"] = {chance = 601, corpse = 6027, health = 3800, maxhealth = 3800},

["Dratini"] = {chance = 703, corpse = 2879, health = 520, maxhealth = 520},

["Dragonair"] = {chance = 945, corpse = 6002, health = 3000, maxhealth = 3000},

["Dragonite"] = {chance = 1200, corpse = 4295, health = 17000, maxhealth = 17000},

["Ponyta"] = {chance = 275, corpse = 5975, health = 1400, maxhealth = 1400},

["Rapidash"] = {chance = 902, corpse = 4323, health = 5500, maxhealth = 5500},

["Pinsir"] = {chance = 200, corpse = 7282, health = 55, maxhealth = 55},

["Seel"] = {chance = 550, corpse = 6030, health = 1000, maxhealth = 1000},

["Dewgong"] = {chance = 990, corpse = 6038, health = 5200, maxhealth = 5200},

["Exeggcute"] = {chance = 300, corpse = 2982, health = 800, maxhealth = 800},

["Exeggutor"] = {chance = 775, corpse = 3005, health = 450, maxhealth = 4000},

["Koffing"] = {chance = 402, corpse = 2936, health = 900, maxhealth = 900},

["Weezing"] = {chance = 805, corpse = 6306, health = 2800, maxhealth = 2800},

["Staryu"] = {chance = 355, corpse = 5987, health = 1050, maxhealth = 1050},

["Starmie"] = {chance = 900, corpse = 7320, health = 3800, maxhealth = 3800},

["Rhyhorn"] = {chance = 607, corpse = 3035, health = 3800, maxhealth = 3800},

["Rhydon"] = {chance = 1000, corpse = 2858, health = 7000, maxhealth = 7000},

["Shellder"] = {chance = 505, corpse = 2837, health = 800, maxhealth = 800},

["Snorlax"] = {chance = 1025, corpse = 6016, health = 9000, maxhealth = 9000},

["Gyarados"] = {chance = 1000, corpse = 6331, health = 7800, maxhealth = 7800},

["Machop"] = {chance = 95, corpse = 6045, health = 1100, maxhealth = 1100},

["Machoke"] = {chance = 505, corpse = 4251, health = 2850, maxhealth = 3500},

["Machamp"] = {chance = 990, corpse = 6048, health = 6100, maxhealth = 7500},

["Clefairy"] = {chance = 475, corpse = 2968, health = 600, maxhealth = 600},

["Clefable"] = {chance = 950, corpse = 6006, health = 2400, maxhealth = 2400},

["Jigglypuff"] = {chance = 475, corpse = 6011, health = 550, maxhealth = 550},

["Wigglytuff"] = {chance = 950, corpse = 6012, health = 2900, maxhealth = 2900},

["Venonat"] = {chance = 92, corpse = 5997, health = 1350, maxhealth = 1350},

["Venomoth"] = {chance = 400, corpse = 2925, health = 3850, maxhealth = 3850},

["Meowth"] = {chance = 90, corpse = 6034, health = 950, maxhealth = 950},

["Persian"] = {chance = 700, corpse = 6009, health = 2250, maxhealth = 2250},

["Mankey"] = {chance = 95, corpse = 6035, health = 1050, maxhealth = 1050},

["Primeape"] = {chance = 725, corpse = 6032, health = 4500, maxhealth = 4500},

["Tentacool"] = {chance = 35, corpse = 2961, health = 1050, maxhealth = 1050},

["Tentacruel"] = {chance = 650, corpse = 6037, health = 7050, maxhealth = 7050},

["Slowpoke"] = {chance = 325, corpse = 2926, health = 1200, maxhealth = 1200},

["Slowbro"] = {chance = 712, corpse = 5986, health = 4600, maxhealth = 4600},

["Cloyster"] = {chance = 985, corpse = 2932, health = 120, maxhealth = 5000},

["Gastly"] = {chance = 105, corpse = 5993, health = 1000, maxhealth = 1000},

["Haunter"] = {chance = 705, corpse = 6004, health = 3000, maxhealth = 3000},

["Gengar"] = {chance = 1075, corpse = 6336, health = 7000, maxhealth = 7000},

["Onix"] = {chance = 1000, corpse = 2990, health = 5300, maxhealth = 5300},

["Hitmonlee"] = {chance = 1075, corpse = 6067, health = 9250, maxhealth = 9250},

["Hitmonchan"] = {chance = 1075, corpse = 5977, health = 10500, maxhealth = 10500},

["Lickitung"] = {chance = 875, corpse = 2953, health = 4800, maxhealth = 4800},

["Chansey"] = {chance = 1000, corpse = 6010, health = 7500, maxhealth = 7500},

["Tangela"] = {chance = 700, corpse = 5976, health = 3500, maxhealth = 3500},

["Kangaskhan"] = {chance = 1000, corpse = 6073, health = 7000, maxhealth = 7000},

["Scyther"] = {chance = 1275, corpse = 3002, health = 6500, maxhealth = 6500},

["Electabuzz"] = {chance = 1275, corpse = 6065, health = 6800, maxhealth = 6800},

["Magmar"] = {chance = 1275, corpse = 7283, health = 7200, maxhealth = 7200},

["Jynx"] = {chance = 900, corpse = 5765, health = 7000, maxhealth = 7000},

["Nidoran Male"] = {chance = 50, corpse = 6015, health = 650, maxhealth = 650},

["Nidoran Female"] = {chance = 50, corpse = 6013, health = 600, maxhealth = 600},

["Nidoking"] = {chance = 1000, corpse = 5995, health = 4800, maxhealth = 4800},

["Nidoqueen"] = {chance = 1000, corpse = 3004, health = 4200, maxhealth = 4200},

["Nidorina"] = {chance = 700, corpse = 6014, health = 2000, maxhealth = 2000},

["Nidorino"] = {chance = 700, corpse = 6019, health = 2500, maxhealth = 2500},

["Farfetchd"] = {chance = 805, corpse = 2836, health = 2500, maxhealth = 2500},

["MrMime"] = {chance = 807, corpse = 6069, health = 5500, maxhealth = 5500},

["Tauros"] = {chance = 215, corpse = 6302, health = 4200, maxhealth = 4200},

["Lapras"] = {chance = 975, corpse = 6018, health = 8000, maxhealth = 8000},

["Omanyte"] = {chance = 811, corpse = 5998, health = 1300, maxhealth = 1300},

["Omastar"] = {chance = 1325, corpse = 5994, health = 6000, maxhealth = 6000},

["Kabuto"] = {chance = 811, corpse = 5972, health = 1375, maxhealth = 1375},

["Kabutops"] = {chance = 1325, corpse = 6345, health = 6920, maxhealth = 6920},

["Aerodactyl"] = {chance = 1555, corpse = 6338, health = 7100, maxhealth = 7100},

["Articuno"] = {chance = 5000, corpse = 7256, health = 12000, maxhealth = 12000},

["Zapdos"] = {chance = 5000, corpse = 6074, health = 11000, maxhealth = 11000},

["Moltres"] = {chance = 5000, corpse = 7330, health = 11000, maxhealth = 11000},

["Mewtwo"] = {chance = 10000, corpse = 5973, health = 8500, maxhealth = 8500},

["Mew"] = {chance = 10000, corpse = 2939, health = 7200, maxhealth = 7200},

------------------------Shiny-----------------------

["Shiny Charizard"] = {chance = 1500, corpse = 2954, health = 7200, maxhealth = 7200},

["Shiny Magikarp"] = {chance = 35, corpse = 105, health = 920, maxhealth = 920},

["Shiny Rattata"] = {chance = 300, corpse = 110, health = 900, maxhealth = 900},

["Shiny Paras"] = {chance = 400, corpse = 116, health = 1400, maxhealth = 1400},

["Shiny Oddish"] = {chance = 250, corpse = 115, health = 990, maxhealth = 990},

["Shiny Zubat"] = {chance = 290, corpse = 114, health = 1200, maxhealth = 1600},

["Shiny Tentacool"] = {chance = 500, corpse = 122, health = 0, maxhealth = 0},

["Shiny Tentacruel"] = {chance = 1500, corpse = 128, health = 0, maxhealth = 0},

["Shiny Raticate"] = {chance = 900, corpse = 136, health = 0, maxhealth = 0},

["Shiny Krabby"] = {chance = 500, corpse = 126, health = 0, maxhealth = 0},

["Shiny Kingler"] = {chance = 1500, corpse = 138, health = 0, maxhealth = 0},

["Shiny Horsea"] = {chance = 500, corpse = 139, health = 0, maxhealth = 0},

["Shiny Seadra"] = {chance = 1500, corpse = 131, health = 0, maxhealth = 0},

["Shiny Gyarados"] = {chance = 2000, corpse = 144, health = 18000, maxhealth = 18000},

["Shiny Parasect"] = {chance = 600, corpse = 127, health = 0, maxhealth = 0},

["Shiny Scyther"] = {chance = 2000, corpse = 142, health = 0, maxhealth = 0},

["Shiny Electabuzz"] = {chance = 2000, corpse = 143, health = 0, maxhealth = 0},

["Shiny Jynx"] = {chance = 2000, corpse = 129, health = 0, maxhealth = 0},

["Shiny Electrode"] = {chance = 1000, corpse = 124, health = 0, maxhealth = 0},

["Shiny Voltorb"] = {chance = 500, corpse = 125, health = 0, maxhealth = 0},

["Shiny Raichu"] = {chance = 900, corpse = 140, health = 0, maxhealth = 0},

["Shiny Venonat"] = {chance = 800, corpse = 130, health = 0, maxhealth = 0},

["Shiny Venomoth"] = {chance = 900, corpse = 132, health = 0, maxhealth = 0},

["Shiny Beedril"] = {chance = 900, corpse = 137, health = 0, maxhealth = 0},

["Shiny Butterfree"] = {chance = 900, corpse = 133, health = 0, maxhealth = 0},

["Shiny Venusaur"] = {chance = 1500, corpse = 135, health = 10200, maxhealth = 10200},

["Shiny Blastoise"] = {chance = 1500, corpse = 134, health = 0, maxhealth = 0},

["Shiny Farfetchd"] = {chance = 1500, corpse = 119, health = 0, maxhealth = 0},

["Shiny Grimer"] = {chance = 400, corpse = 123, health = 0, maxhealth = 0},

["Shiny Muk"] = {chance = 1500, corpse = 121, health = 0, maxhealth = 0},

["Shiny Growlithe"] = {chance = 600, corpse = 117, health = 0, maxhealth = 0},

["Shiny Arcanine"] = {chance = 1300, corpse = 120, health = 0, maxhealth = 17000},

["Shiny Dratini"] = {chance = 1100, corpse = 118, health = 0, maxhealth = 0},

["Shiny Abra"] = {chance = 1000, corpse = 141, health = 0, maxhealth = 3620},

 

-----------------------------------Johto------------------------------

["Aipom"] = {chance = 500, corpse = 11391, health = 3000, maxhealth = 3000},

["Ampharos"] = {chance = 500, corpse = 11393, health = 3000, maxhealth = 3000},

["Ariados"] = {chance = 500, corpse = 11394, health = 3000, maxhealth = 3000},

["Azumarill"] = {chance = 500, corpse = 11395, health = 3000, maxhealth = 3000},

["Bayleef"] = {chance = 500, corpse = 11396, health = 3000, maxhealth = 3000},

["Bellossom"] = {chance = 500, corpse = 11397, health = 3000, maxhealth = 3000},

["Blissey"] = {chance = 500, corpse = 11398, health = 3000, maxhealth = 3000},

["Celebi"] = {chance = 500, corpse = 11399, health = 3000, maxhealth = 3000},

["Chikorita"] = {chance = 500, corpse = 11400, health = 3000, maxhealth = 3000},

["Chinchou"] = {chance = 500, corpse = 11401, health = 3000, maxhealth = 3000},

["Cleffa"] = {chance = 500, corpse = 11402, health = 3000, maxhealth = 3000},

["Corsola"] = {chance = 500, corpse = 11403, health = 3000, maxhealth = 3000},

["Crobat"] = {chance = 500, corpse = 11404, health = 5500, maxhealth = 5500},

["Croconaw"] = {chance = 500, corpse = 11405, health = 3000, maxhealth = 3000},

["Cyndaquil"] = {chance = 500, corpse = 11406, health = 3000, maxhealth = 3000},

["Delibird"] = {chance = 500, corpse = 11407, health = 3000, maxhealth = 3000},

["Donphan"] = {chance = 500, corpse = 11408, health = 3000, maxhealth = 3000},

["Dunsparce"] = {chance = 500, corpse = 11409, health = 3000, maxhealth = 3000},

["Elekid"] = {chance = 500, corpse = 11410, health = 3000, maxhealth = 3000},

["Entei"] = {chance = 500, corpse = 11411, health = 3000, maxhealth = 3000},

["Espeon"] = {chance = 500, corpse = 11412, health = 3000, maxhealth = 3000},

["Feraligatr"] = {chance = 500, corpse = 11413, health = 3000, maxhealth = 3000},

["Flaaffy"] = {chance = 500, corpse = 11414, health = 3000, maxhealth = 3000},

["Forretress"] = {chance = 500, corpse = 11415, health = 3000, maxhealth = 3000},

["Furret"] = {chance = 500, corpse = 11416, health = 3000, maxhealth = 3000},

["Gallade"] = {chance = 500, corpse = 11630, health = 3000, maxhealth = 3000},

["Girafarig"] = {chance = 500, corpse = 11417, health = 3000, maxhealth = 3000},

["Gligar"] = {chance = 500, corpse = 11418, health = 3000, maxhealth = 3000},

["Granbull"] = {chance = 500, corpse = 11419, health = 3000, maxhealth = 3000},

["Heracross"] = {chance = 500, corpse = 11420, health = 3000, maxhealth = 3000},

["Hitmontop"] = {chance = 500, corpse = 11421, health = 3000, maxhealth = 3000},

["Ho oh"] = {chance = 500, corpse = 11422, health = 3000, maxhealth = 3000},

["Hoothoot"] = {chance = 500, corpse = 11423, health = 3000, maxhealth = 3000},

["Hoppip"] = {chance = 500, corpse = 11424, health = 3000, maxhealth = 3000},

["Houndoom"] = {chance = 500, corpse = 11425, health = 3000, maxhealth = 3000},

["Houndor"] = {chance = 500, corpse = 11426, health = 3000, maxhealth = 3000},

["Igglybuff"] = {chance = 500, corpse = 11427, health = 3000, maxhealth = 3000},

["Jumpluff"] = {chance = 500, corpse = 11428, health = 3000, maxhealth = 3000},

["Kingdra"] = {chance = 500, corpse = 11429, health = 3000, maxhealth = 3000},

["Lanturn"] = {chance = 500, corpse = 11430, health = 3000, maxhealth = 3000},

["Larvitar"] = {chance = 500, corpse = 11431, health = 3000, maxhealth = 3000},

["Ledian"] = {chance = 500, corpse = 11432, health = 3000, maxhealth = 3000},

["Ledyba"] = {chance = 500, corpse = 11433, health = 3000, maxhealth = 3000},

["Lugia"] = {chance = 500, corpse = 11434, health = 3000, maxhealth = 3000},

["Magby"] = {chance = 500, corpse = 11435, health = 3000, maxhealth = 3000},

["Magcarbo"] = {chance = 500, corpse = 11436, health = 3000, maxhealth = 3000},

["Mantine"] = {chance = 500, corpse = 11437, health = 3000, maxhealth = 3000},

["Mareep"] = {chance = 500, corpse = 11438, health = 3000, maxhealth = 3000},

["Marill"] = {chance = 500, corpse = 11439, health = 3000, maxhealth = 3000},

["Meganium"] = {chance = 500, corpse = 11440, health = 3000, maxhealth = 3000},

["Miltank"] = {chance = 500, corpse = 11441, health = 3000, maxhealth = 3000},

["Misdreavus"] = {chance = 500, corpse = 11442, health = 3000, maxhealth = 3000},

["Murkrow"] = {chance = 500, corpse = 11443, health = 3000, maxhealth = 3000},

["Natu"] = {chance = 500, corpse = 11444, health = 3000, maxhealth = 3000},

["Noctowl"] = {chance = 500, corpse = 11445, health = 3000, maxhealth = 3000},

["Octillery"] = {chance = 500, corpse = 11446, health = 3000, maxhealth = 3000},

["Phanpy"] = {chance = 500, corpse = 11447, health = 3000, maxhealth = 3000},

["Pichu"] = {chance = 500, corpse = 11448, health = 3000, maxhealth = 3000},

["Piloswine"] = {chance = 500, corpse = 11449, health = 3000, maxhealth = 3000},

["Pineco"] = {chance = 500, corpse = 11450, health = 3000, maxhealth = 3000},

["Politoed"] = {chance = 500, corpse = 11451, health = 3000, maxhealth = 3000},

["Porygon2"] = {chance = 500, corpse = 11452, health = 3000, maxhealth = 3000},

["Pupitar"] = {chance = 500, corpse = 11453, health = 3000, maxhealth = 3000},

["Quaqsire"] = {chance = 500, corpse = 11454, health = 3000, maxhealth = 3000},

["Quilava"] = {chance = 500, corpse = 11455, health = 3000, maxhealth = 3000},

["Qwilfish"] = {chance = 500, corpse = 11456, health = 3000, maxhealth = 3000},

["Raikou"] = {chance = 500, corpse = 11457, health = 3000, maxhealth = 3000},

["Remoraid"] = {chance = 500, corpse = 11458, health = 3000, maxhealth = 3000},

["Scizor"] = {chance = 500, corpse = 11459, health = 3000, maxhealth = 3000},

["Shuckle"] = {chance = 500, corpse = 11460, health = 3000, maxhealth = 3000},

["Skarmory"] = {chance = 500, corpse = 11462, health = 3000, maxhealth = 3000},

["Skiploom"] = {chance = 500, corpse = 11463, health = 3000, maxhealth = 3000},

["Slowking"] = {chance = 500, corpse = 11464, health = 3000, maxhealth = 3000},

["Slugma"] = {chance = 500, corpse = 11465, health = 3000, maxhealth = 3000},

["Smeargle"] = {chance = 500, corpse = 11466, health = 3000, maxhealth = 3000},

["Smoochum"] = {chance = 500, corpse = 11467, health = 3000, maxhealth = 3000},

["Sneasel"] = {chance = 500, corpse = 11468, health = 3000, maxhealth = 3000},

["Sentret"] = {chance = 500, corpse = 11461, health = 3000, maxhealth = 3000},

["Snubbull"] = {chance = 500, corpse = 11469, health = 3000, maxhealth = 3000},

["Spinarak"] = {chance = 500, corpse = 11470, health = 3000, maxhealth = 3000},

["Stantler"] = {chance = 500, corpse = 11471, health = 3000, maxhealth = 3000},

["Steelix"] = {chance = 500, corpse = 11472, health = 3000, maxhealth = 3000},

["Sudowoodo"] = {chance = 500, corpse = 11473, health = 3000, maxhealth = 3000},

["Suicune"] = {chance = 500, corpse = 11474, health = 3000, maxhealth = 3000},

["Sunflora"] = {chance = 500, corpse = 11475, health = 3000, maxhealth = 3000},

["Sunkern"] = {chance = 500, corpse = 11476, health = 3000, maxhealth = 3000},

["Swinub"] = {chance = 500, corpse = 11477, health = 3000, maxhealth = 3000},

["Teddiursa"] = {chance = 500, corpse = 11478, health = 3000, maxhealth = 3000},

["Togepi"] = {chance = 500, corpse = 11479, health = 3000, maxhealth = 3000},

["Togetic"] = {chance = 500, corpse = 11480, health = 3000, maxhealth = 3000},

["Totodile"] = {chance = 500, corpse = 11481, health = 3000, maxhealth = 3000},

["Typhlosion"] = {chance = 500, corpse = 11482, health = 3000, maxhealth = 3000},

["Tyranitar"] = {chance = 500, corpse = 11483, health = 3000, maxhealth = 3000},

["Tyrogue"] = {chance = 500, corpse = 11484, health = 3000, maxhealth = 3000},

["Wooper"] = {chance = 500, corpse = 11514, health = 3000, maxhealth = 3000},

["Xatu"] = {chance = 500, corpse = 11515, health = 3000, maxhealth = 3000},

["Yanma"] = {chance = 500, corpse = 11516, health = 3000, maxhealth = 3000},

["Giratina"] = {chance = 1, corpse = 11633, health = 15000, maxhealth = 15000},

["Palkia"] = {chance = 1, corpse = 11635, health = 15000, maxhealth = 15000},

["Rayquaza"] = {chance = 1, corpse = 11637, health = 15000, maxhealth = 15000},

["Primal Dialga"] = {chance = 1, corpse = 11638, health = 15000, maxhealth = 15000},

["Dialga"] = {chance = 1, corpse = 11640, health = 15000, maxhealth = 15000},

 

}

 

local description = "Contains a %pokename."

 

function onUse(cid, item, frompos, item2, topos)

local name = getItemNameById(item2.itemid)

if item.itemid == 2147 then -- POKEBALL

catchrate = 1

oncatch = 24

onfail = 23

bolabola = 2222

elseif item.itemid == 2642 then -- GREATBALL

catchrate = 2

oncatch = 198

onfail = 197

bolabola = 2651

elseif item.itemid == 2645 then -- SUPERBALL

catchrate = 3

oncatch = 202

onfail = 201

bolabola = 2653

elseif item.itemid == 2146 then -- ULTRABALL

catchrate = 4

oncatch = 200

onfail = 199

bolabola = 2220

elseif item.itemid == 0 then -- MEGABALL

catchrate = 5

oncatch = 0

onfail = 0

bolabola = 0

elseif item.itemid == 2644 then -- EXBALL(Saffari)

catchrate = 6

oncatch = 204

onfail = 203

bolabola = 2655

end

local rate = (catchrate)

local catch = oncatch

local fail = onfail

local newid = bolabola

for i,x in pairs(pokes) do

if getItemNameById(item2.itemid):find(i:lower()) then

if getItemIdByName(name) == pokes.corpse then

if cid ~= getItemAttribute(item2.uid, "corpseowner") and isInArray({1,8}, getPlayerGroupId(cid)) then

doPlayerSendCancel(cid, "Sorry Not Possible!")

return true

end

doRemoveItem(item.uid, 1)

doRemoveItem(item2.uid, 1)

local pegar = math.random(1, x.chance)

if pegar <= 1*(rate) then

doSendMagicEffect(topos, catch)

 

local nas = {

["%%pokename"] = i

}

for i,x in pairs(nas) do

if description:find(i) then

description = description:gsub(i, x)

end

end

 

local function capturou(params)

if not isCreature(params.cid) then

return true

end

if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then

doPlayerAddSoul(cid, 1)

setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")

end

if getPlayerFreeCap(cid) <= 0.99 then

item = doCreateItemEx(newid-1)

doItemSetAttribute(item, "poke", params.poke)

doItemSetAttribute(item, "nome", params.nome)

doItemSetAttribute(item, "description", params.description)

doPlayerSendMailByName(getCreatureName(params.cid), item, 1)

doPlayerSendTextMessage(cid, 27, "Parabens!!Você capturou um "..i.."!")

doPlayerSendTextMessage(cid, 27, "Você ja possui 6 pokemons em sua Bag.Este pokemon sera teletransportado para o centro pokemon.")

else

item = doCreateItemEx(params.ball)

doItemSetAttribute(item, "poke", params.poke)

doItemSetAttribute(item, "nome", params.nome)

doItemSetAttribute(item, "description", params.description)

doPlayerAddItemEx(params.cid, item, true)

doTransformItem(item, newid)

doPlayerSendTextMessage(cid, 27, "Parabens!!Você capturou um "..i.."!")

end

if #getCreatureSummons(cid) >= 1 then

doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178)

else

doSendMagicEffect(getThingPos(cid), 178)

end

end

 

local description = "Contains a "..i.."."

local poke1 = "This is "..i.."'s pokeball. HP = ["..x.health.."/"..x.maxhealth.."]"

addEvent(capturou, 4000, {cid = cid, poke = poke1, nome = i, description = description, ball = 2219, letter = 2597})

else

function ruim(params)

if not isCreature(params.cid) then

return true

end

doPlayerSendTextMessage(params.cid, 27, "Desculpe,Você não capturou este pokemon.")

if #getCreatureSummons(params.cid) >= 1 then

doSendMagicEffect(getThingPos(getCreatureSummons(params.cid)[1]), 166)

else

doSendMagicEffect(getThingPos(params.cid), 166)

end

end

addEvent(ruim, 4000, {cid = cid})

doSendMagicEffect(topos, fail)

end

end

end

end

return TRUE

end

 

 

Script do monter Elder charizard:

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Elder Charizard" nameDescription="a Elder Charizard" race="undead" experience="65" speed="200" manacost="0">

<health now="7200" max="7200"/>

<look type="294" corpse="2954"/>

<targetchange interval="5" chance="1000"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="0"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="0"/>

<flag convinceable="1"/>

<flag pushable="0"/>

<flag canpushitems="1"/>

<flag staticattack="15"/>

<flag lightlevel="0"/>

<flag lightcolor="0"/>

<flag targetdistance="1"/>

<flag runonhealth="30"/>

</flags>

<attacks>

<attack name="melee" interval="2000" min="-0" max="-60"/>

<attack name="lifedrain" interval="2000" min="-20" max="-40">

<attribute key="areaEffect" value="redshimmer"/>

</attack>

</attacks>

<defenses armor="10" defense="15">

<defense name="speed" interval="10000" chance="40" speedchange="310" duration="20000">

<attribute key="areaEffect" value="greenshimmer"/>

</defense>

<defense name="healing" interval="5000" chance="60" min="25" max="75">

<attribute key="areaEffect" value="blueshimmer"/>

</defense>

<defense name="Invisible" interval="4000" chance="0">

<attribute key="areaEffect" value="blueshimmer"/>

</defense>

</defenses>

<elements>

<element energyPercent="-30"/>

<element earthPercent="-80"/>

<element deathPercent="-65"/>

</elements>

<immunities>

<immunity physical="1"/>

<immunity paralyze="1"/>

<immunity drunk="1"/>

</immunities>

</monster>

 

 

Me ajudem por favor!

Link para o comentário
Compartilhar em outros sites

Amigo lugar errado!

 

local pokes = {
["Flareon"] = {chance = 400, corpse = 6059, health = 5300, maxhealth = 5300},
["Crystal Onix"] = {chance = 5000, corpse = 6320, health = 5300, maxhealth = 5300},
["Porygon"] = {chance = 900, corpse = 5963, health = 14000, maxhealth = 4000},
["Ditto"] = {chance = 900, corpse = 2817, health = 14000, maxhealth = 4000},
["Magikarp"] = {chance = 2, corpse = 2818, health = 120, maxhealth = 120},
["Eevee"] = {chance = 80, corpse = 6364, health = 1500, maxhealth = 1500},
["Abra"] = {chance = 90, corpse = 2905, health = 620, maxhealth = 620},
["Kadabra"] = {chance = 500, corpse = 6060, health = 2500, maxhealth = 2500},
["Alakazam"] = {chance = 805, corpse = 6057, health = 4000, maxhealth = 4000},
["Rattata"] = {chance = 3, corpse = 5974, health = 350, maxhealth = 350},
["Raticate"] = {chance = 300, corpse = 6007, health = 900, maxhealth = 900},
["Pidgey"] = {chance = 4, corpse = 5961, health = 380, maxhealth = 380},
["Pidgeotto"] = {chance = 175, corpse = 5966, health = 1400, maxhealth = 1400},
["Pidgeot"] = {chance = 700, corpse = 6020, health = 3800, maxhealth = 3800},
["Zubat"] = {chance = 7, corpse = 5989, health = 450, maxhealth = 450},
["Golbat"] = {chance = 109, corpse = 6053, health = 1900, maxhealth = 1900},
["Bellsprout"] = {chance = 8, corpse = 2806, health = 420, maxhealth = 420},
["Weepinbell"] = {chance = 150, corpse = 2928, health = 1100, maxhealth = 1100},
["Victreebel"] = {chance = 702, corpse = 6332, health = 4000, maxhealth = 4000},
["Poliwag"] = {chance = 25, corpse = 6042, health = 400, maxhealth = 400},
["Poliwhirl"] = {chance = 212, corpse = 6054, health = 1200, maxhealth = 1200},
["Poliwrath"] = {chance = 900, corpse = 6033, health = 4400, maxhealth = 4400},
["Oddish"] = {chance = 9, corpse = 3008, health = 340, maxhealth = 340},
["Gloom"] = {chance = 105, corpse = 6017, health = 1400, maxhealth = 1400},
["Vileplume"] = {chance = 701, corpse = 6025, health = 3300, maxhealth = 3300},
["Horsea"] = {chance = 15, corpse = 2973, health = 300, maxhealth = 300},
["Seadra"] = {chance = 800, corpse = 2872, health = 2500, maxhealth = 2500},
["Grimer"] = {chance = 20, corpse = 6055, health = 600, maxhealth = 600},
["Weedle"] = {chance = 2, corpse = 5964, health = 325, maxhealth = 325},
["Kakuna"] = {chance = 105, corpse = 6000, health = 900, maxhealth = 900},
["Beedrill"] = {chance = 315, corpse = 5990, health = 1900, maxhealth = 1900},
["Muk"] = {chance = 705, corpse = 2845, health = 2400, maxhealth = 2400},
["Doduo"] = {chance = 250, corpse = 2842, health = 600, maxhealth = 600},
["Dodrio"] = {chance = 600, corpse = 6047, health = 2650, maxhealth = 2650},
["Magnemite"] = {chance = 64, corpse = 6056, health = 450, maxhealth = 450},
["Magneton"] = {chance = 300, corpse = 6076, health = 1750, maxhealth = 1750},
["Voltorb"] = {chance = 125, corpse = 6049, health = 620, maxhealth = 620},
["Electrode"] = {chance = 575, corpse = 6051, health = 2000, maxhealth = 2000},
["Geodude"] = {chance = 22, corpse = 6071, health = 700, maxhealth = 700},
["Graveler"] = {chance = 412, corpse = 6516, health = 3000, maxhealth = 3000},
["Golem"] = {chance = 900, corpse = 6043, health = 6500, maxhealth = 6500},
["Sandshrew"] = {chance = 75, corpse = 5988, health = 700, maxhealth = 700},
["Sandslash"] = {chance = 475, corpse = 6041, health = 3400, maxhealth = 3400},
["Charmander"] = {chance = 275, corpse = 5983, health = 970, maxhealth = 970},
["Charmeleon"] = {chance = 645, corpse = 5981, health = 2900, maxhealth = 2900},
["Charizard"] = {chance = 987, corpse = 6005, health = 5200, maxhealth = 5200},
["Vulpix"] = {chance = 120, corpse = 6003, health = 680, maxhealth = 680},
["Ninetales"] = {chance = 780, corpse = 6040, health = 2650, maxhealth = 2650},
["Bulbasaur"] = {chance = 275, corpse = 5969, health = 1200, maxhealth = 1200},
["Ivysaur"] = {chance = 645, corpse = 5982, health = 2600, maxhealth = 2600},
["Venusaur"] = {chance = 987, corpse = 5962, health = 5200, maxhealth = 5200},
["Squirtle"] = {chance = 275, corpse = 6008, health = 1350, maxhealth = 1350},
["Wartortle"] = {chance = 645, corpse = 5978, health = 2800, maxhealth = 2800},
["Blastoise"] = {chance = 982, corpse = 5999, health = 5900, maxhealth = 5900},
["Growlithe"] = {chance = 150, corpse = 6036, health = 1000, maxhealth = 1000},
["Arcanine"] = {chance = 750, corpse = 6031, health = 6800, maxhealth = 6800},
["Psyduck"] = {chance = 210, corpse = 6029, health = 950, maxhealth = 950},
["Golduck"] = {chance = 900, corpse = 6028, health = 4000, maxhealth = 4000},
["Pikachu"] = {chance = 300, corpse = 6001, health = 900, maxhealth = 900},
["Raichu"] = {chance = 999, corpse = 5996, health = 3500, maxhealth = 3500},
["Ekans"] = {chance = 350, corpse = 5979, health = 600, maxhealth = 600},
["Arbok"] = {chance = 912, corpse = 5984, health = 2900, maxhealth = 2900},
["Cubone"] = {chance = 405, corpse = 6050, health = 1200, maxhealth = 1200},
["Marowak"] = {chance = 925, corpse = 6072, health = 3900, maxhealth = 3900},
["Caterpie"] = {chance = 2, corpse = 5971, health = 300, maxhealth = 300},
["Metapod"] = {chance = 201, corpse = 5970, health = 1100, maxhealth = 1100},
["Butterfree"] = {chance = 905, corpse = 5985, health = 2000, maxhealth = 2000},
["Goldeen"] = {chance = 35, corpse = 2970, health = 950, maxhealth = 950},
["Seaking"] = {chance = 775, corpse = 3038, health = 2000, maxhealth = 2000},
["Spearow"] = {chance = 8, corpse = 5968, health = 200, maxhealth = 200},
["Fearow"] = {chance = 650, corpse = 5992, health = 3300, maxhealth = 3300},
["Drowzee"] = {chance = 435, corpse = 6026, health = 1150, maxhealth = 1150},
["Hypno"] = {chance = 900, corpse = 6046, health = 4600, maxhealth = 4600},
["Diglett"] = {chance = 400, corpse = 6023, health = 900, maxhealth = 900},
["Dugtrio"] = {chance = 900, corpse = 6024, health = 3450, maxhealth = 3450},
["Krabby"] = {chance = 46, corpse = 6039, health = 850, maxhealth = 850},
["Kingler"] = {chance = 300, corpse = 6340, health = 3250, maxhealth = 3250},
["Paras"] = {chance = 45, corpse = 3007, health = 850, maxhealth = 850},
["Parasect"] = {chance = 601, corpse = 6027, health = 3800, maxhealth = 3800},
["Dratini"] = {chance = 703, corpse = 2879, health = 520, maxhealth = 520},
["Dragonair"] = {chance = 945, corpse = 6002, health = 3000, maxhealth = 3000},
["Dragonite"] = {chance = 1200, corpse = 4295, health = 17000, maxhealth = 17000},
["Ponyta"] = {chance = 275, corpse = 5975, health = 1400, maxhealth = 1400},
["Rapidash"] = {chance = 902, corpse = 4323, health = 5500, maxhealth = 5500},
["Pinsir"] = {chance = 200, corpse = 7282, health = 55, maxhealth = 55},
["Seel"] = {chance = 550, corpse = 6030, health = 1000, maxhealth = 1000},
["Dewgong"] = {chance = 990, corpse = 6038, health = 5200, maxhealth = 5200},
["Exeggcute"] = {chance = 300, corpse = 2982, health = 800, maxhealth = 800},
["Exeggutor"] = {chance = 775, corpse = 3005, health = 450, maxhealth = 4000},
["Koffing"] = {chance = 402, corpse = 2936, health = 900, maxhealth = 900},
["Weezing"] = {chance = 805, corpse = 6306, health = 2800, maxhealth = 2800},
["Staryu"] = {chance = 355, corpse = 5987, health = 1050, maxhealth = 1050},
["Starmie"] = {chance = 900, corpse = 7320, health = 3800, maxhealth = 3800},
["Rhyhorn"] = {chance = 607, corpse = 3035, health = 3800, maxhealth = 3800},
["Rhydon"] = {chance = 1000, corpse = 2858, health = 7000, maxhealth = 7000},
["Shellder"] = {chance = 505, corpse = 2837, health = 800, maxhealth = 800},
["Snorlax"] = {chance = 1025, corpse = 6016, health = 9000, maxhealth = 9000},
["Gyarados"] = {chance = 1000, corpse = 6331, health = 7800, maxhealth = 7800},
["Machop"] = {chance = 95, corpse = 6045, health = 1100, maxhealth = 1100},
["Machoke"] = {chance = 505, corpse = 4251, health = 2850, maxhealth = 3500},
["Machamp"] = {chance = 990, corpse = 6048, health = 6100, maxhealth = 7500},
["Clefairy"] = {chance = 475, corpse = 2968, health = 600, maxhealth = 600},
["Clefable"] = {chance = 950, corpse = 6006, health = 2400, maxhealth = 2400},
["Jigglypuff"] = {chance = 475, corpse = 6011, health = 550, maxhealth = 550},
["Wigglytuff"] = {chance = 950, corpse = 6012, health = 2900, maxhealth = 2900},
["Venonat"] = {chance = 92, corpse = 5997, health = 1350, maxhealth = 1350},
["Venomoth"] = {chance = 400, corpse = 2925, health = 3850, maxhealth = 3850},
["Meowth"] = {chance = 90, corpse = 6034, health = 950, maxhealth = 950},
["Persian"] = {chance = 700, corpse = 6009, health = 2250, maxhealth = 2250},
["Mankey"] = {chance = 95, corpse = 6035, health = 1050, maxhealth = 1050},
["Primeape"] = {chance = 725, corpse = 6032, health = 4500, maxhealth = 4500},
["Tentacool"] = {chance = 35, corpse = 2961, health = 1050, maxhealth = 1050},
["Tentacruel"] = {chance = 650, corpse = 6037, health = 7050, maxhealth = 7050},
["Slowpoke"] = {chance = 325, corpse = 2926, health = 1200, maxhealth = 1200},
["Slowbro"] = {chance = 712, corpse = 5986, health = 4600, maxhealth = 4600},
["Cloyster"] = {chance = 985, corpse = 2932, health = 120, maxhealth = 5000},
["Gastly"] = {chance = 105, corpse = 5993, health = 1000, maxhealth = 1000},
["Haunter"] = {chance = 705, corpse = 6004, health = 3000, maxhealth = 3000},
["Gengar"] = {chance = 1075, corpse = 6336, health = 7000, maxhealth = 7000},
["Onix"] = {chance = 1000, corpse = 2990, health = 5300, maxhealth = 5300},
["Hitmonlee"] = {chance = 1075, corpse = 6067, health = 9250, maxhealth = 9250},
["Hitmonchan"] = {chance = 1075, corpse = 5977, health = 10500, maxhealth = 10500},
["Lickitung"] = {chance = 875, corpse = 2953, health = 4800, maxhealth = 4800},
["Chansey"] = {chance = 1000, corpse = 6010, health = 7500, maxhealth = 7500},
["Tangela"] = {chance = 700, corpse = 5976, health = 3500, maxhealth = 3500},
["Kangaskhan"] = {chance = 1000, corpse = 6073, health = 7000, maxhealth = 7000},
["Scyther"] = {chance = 1275, corpse = 3002, health = 6500, maxhealth = 6500},
["Electabuzz"] = {chance = 1275, corpse = 6065, health = 6800, maxhealth = 6800},
["Magmar"] = {chance = 1275, corpse = 7283, health = 7200, maxhealth = 7200},
["Jynx"] = {chance = 900, corpse = 5765, health = 7000, maxhealth = 7000},
["Nidoran Male"] = {chance = 50, corpse = 6015, health = 650, maxhealth = 650},
["Nidoran Female"] = {chance = 50, corpse = 6013, health = 600, maxhealth = 600},
["Nidoking"] = {chance = 1000, corpse = 5995, health = 4800, maxhealth = 4800},
["Nidoqueen"] = {chance = 1000, corpse = 3004, health = 4200, maxhealth = 4200},
["Nidorina"] = {chance = 700, corpse = 6014, health = 2000, maxhealth = 2000},
["Nidorino"] = {chance = 700, corpse = 6019, health = 2500, maxhealth = 2500},
["Farfetchd"] = {chance = 805, corpse = 2836, health = 2500, maxhealth = 2500},
["MrMime"] = {chance = 807, corpse = 6069, health = 5500, maxhealth = 5500},
["Tauros"] = {chance = 215, corpse = 6302, health = 4200, maxhealth = 4200},
["Lapras"] = {chance = 975, corpse = 6018, health = 8000, maxhealth = 8000},
["Omanyte"] = {chance = 811, corpse = 5998, health = 1300, maxhealth = 1300},
["Omastar"] = {chance = 1325, corpse = 5994, health = 6000, maxhealth = 6000},
["Kabuto"] = {chance = 811, corpse = 5972, health = 1375, maxhealth = 1375},
["Kabutops"] = {chance = 1325, corpse = 6345, health = 6920, maxhealth = 6920},
["Aerodactyl"] = {chance = 1555, corpse = 6338, health = 7100, maxhealth = 7100},
["Articuno"] = {chance = 5000, corpse = 7256, health = 12000, maxhealth = 12000},
["Zapdos"] = {chance = 5000, corpse = 6074, health = 11000, maxhealth = 11000},
["Moltres"] = {chance = 5000, corpse = 7330, health = 11000, maxhealth = 11000},
["Mewtwo"] = {chance = 10000, corpse = 5973, health = 8500, maxhealth = 8500},
["Mew"] = {chance = 10000, corpse = 2939, health = 7200, maxhealth = 7200},
------------------------Shiny-----------------------
["Elder Charizard"] = {chance = 1500, corpse = 2954, health = 7200, maxhealth = 7200},
["Shiny Magikarp"] = {chance = 35, corpse = 105, health = 920, maxhealth = 920},
["Shiny Rattata"] = {chance = 300, corpse = 110, health = 900, maxhealth = 900},
["Shiny Paras"] = {chance = 400, corpse = 116, health = 1400, maxhealth = 1400},
["Shiny Oddish"] = {chance = 250, corpse = 115, health = 990, maxhealth = 990},
["Shiny Zubat"] = {chance = 290, corpse = 114, health = 1200, maxhealth = 1600},
["Shiny Tentacool"] = {chance = 500, corpse = 122, health = 0, maxhealth = 0},
["Shiny Tentacruel"] = {chance = 1500, corpse = 128, health = 0, maxhealth = 0},
["Shiny Raticate"] = {chance = 900, corpse = 136, health = 0, maxhealth = 0},
["Shiny Krabby"] = {chance = 500, corpse = 126, health = 0, maxhealth = 0},
["Shiny Kingler"] = {chance = 1500, corpse = 138, health = 0, maxhealth = 0},
["Shiny Horsea"] = {chance = 500, corpse = 139, health = 0, maxhealth = 0},
["Shiny Seadra"] = {chance = 1500, corpse = 131, health = 0, maxhealth = 0},
["Shiny Gyarados"] = {chance = 2000, corpse = 144, health = 18000, maxhealth = 18000},
["Shiny Parasect"] = {chance = 600, corpse = 127, health = 0, maxhealth = 0},
["Shiny Scyther"] = {chance = 2000, corpse = 142, health = 0, maxhealth = 0},
["Shiny Electabuzz"] = {chance = 2000, corpse = 143, health = 0, maxhealth = 0},
["Shiny Jynx"] = {chance = 2000, corpse = 129, health = 0, maxhealth = 0},
["Shiny Electrode"] = {chance = 1000, corpse = 124, health = 0, maxhealth = 0},
["Shiny Voltorb"] = {chance = 500, corpse = 125, health = 0, maxhealth = 0},
["Shiny Raichu"] = {chance = 900, corpse = 140, health = 0, maxhealth = 0},
["Shiny Venonat"] = {chance = 800, corpse = 130, health = 0, maxhealth = 0},
["Shiny Venomoth"] = {chance = 900, corpse = 132, health = 0, maxhealth = 0},
["Shiny Beedril"] = {chance = 900, corpse = 137, health = 0, maxhealth = 0},
["Shiny Butterfree"] = {chance = 900, corpse = 133, health = 0, maxhealth = 0},
["Shiny Venusaur"] = {chance = 1500, corpse = 135, health = 10200, maxhealth = 10200},
["Shiny Blastoise"] = {chance = 1500, corpse = 134, health = 0, maxhealth = 0},
["Shiny Farfetchd"] = {chance = 1500, corpse = 119, health = 0, maxhealth = 0},
["Shiny Grimer"] = {chance = 400, corpse = 123, health = 0, maxhealth = 0},
["Shiny Muk"] = {chance = 1500, corpse = 121, health = 0, maxhealth = 0},
["Shiny Growlithe"] = {chance = 600, corpse = 117, health = 0, maxhealth = 0},
["Shiny Arcanine"] = {chance = 1300, corpse = 120, health = 0, maxhealth = 17000},
["Shiny Dratini"] = {chance = 1100, corpse = 118, health = 0, maxhealth = 0},
["Shiny Abra"] = {chance = 1000, corpse = 141, health = 0, maxhealth = 3620},

-----------------------------------Johto------------------------------
["Aipom"] = {chance = 500, corpse = 11391, health = 3000, maxhealth = 3000},
["Ampharos"] = {chance = 500, corpse = 11393, health = 3000, maxhealth = 3000},
["Ariados"] = {chance = 500, corpse = 11394, health = 3000, maxhealth = 3000},
["Azumarill"] = {chance = 500, corpse = 11395, health = 3000, maxhealth = 3000},
["Bayleef"] = {chance = 500, corpse = 11396, health = 3000, maxhealth = 3000},
["Bellossom"] = {chance = 500, corpse = 11397, health = 3000, maxhealth = 3000},
["Blissey"] = {chance = 500, corpse = 11398, health = 3000, maxhealth = 3000},
["Celebi"] = {chance = 500, corpse = 11399, health = 3000, maxhealth = 3000},
["Chikorita"] = {chance = 500, corpse = 11400, health = 3000, maxhealth = 3000},
["Chinchou"] = {chance = 500, corpse = 11401, health = 3000, maxhealth = 3000},
["Cleffa"] = {chance = 500, corpse = 11402, health = 3000, maxhealth = 3000},
["Corsola"] = {chance = 500, corpse = 11403, health = 3000, maxhealth = 3000},
["Crobat"] = {chance = 500, corpse = 11404, health = 5500, maxhealth = 5500},
["Croconaw"] = {chance = 500, corpse = 11405, health = 3000, maxhealth = 3000},
["Cyndaquil"] = {chance = 500, corpse = 11406, health = 3000, maxhealth = 3000},
["Delibird"] = {chance = 500, corpse = 11407, health = 3000, maxhealth = 3000},
["Donphan"] = {chance = 500, corpse = 11408, health = 3000, maxhealth = 3000},
["Dunsparce"] = {chance = 500, corpse = 11409, health = 3000, maxhealth = 3000},
["Elekid"] = {chance = 500, corpse = 11410, health = 3000, maxhealth = 3000},
["Entei"] = {chance = 500, corpse = 11411, health = 3000, maxhealth = 3000},
["Espeon"] = {chance = 500, corpse = 11412, health = 3000, maxhealth = 3000},
["Feraligatr"] = {chance = 500, corpse = 11413, health = 3000, maxhealth = 3000},
["Flaaffy"] = {chance = 500, corpse = 11414, health = 3000, maxhealth = 3000},
["Forretress"] = {chance = 500, corpse = 11415, health = 3000, maxhealth = 3000},
["Furret"] = {chance = 500, corpse = 11416, health = 3000, maxhealth = 3000},
["Gallade"] = {chance = 500, corpse = 11630, health = 3000, maxhealth = 3000},
["Girafarig"] = {chance = 500, corpse = 11417, health = 3000, maxhealth = 3000},
["Gligar"] = {chance = 500, corpse = 11418, health = 3000, maxhealth = 3000},
["Granbull"] = {chance = 500, corpse = 11419, health = 3000, maxhealth = 3000},
["Heracross"] = {chance = 500, corpse = 11420, health = 3000, maxhealth = 3000},
["Hitmontop"] = {chance = 500, corpse = 11421, health = 3000, maxhealth = 3000},
["Ho oh"] = {chance = 500, corpse = 11422, health = 3000, maxhealth = 3000},
["Hoothoot"] = {chance = 500, corpse = 11423, health = 3000, maxhealth = 3000},
["Hoppip"] = {chance = 500, corpse = 11424, health = 3000, maxhealth = 3000},
["Houndoom"] = {chance = 500, corpse = 11425, health = 3000, maxhealth = 3000},
["Houndor"] = {chance = 500, corpse = 11426, health = 3000, maxhealth = 3000},
["Igglybuff"] = {chance = 500, corpse = 11427, health = 3000, maxhealth = 3000},
["Jumpluff"] = {chance = 500, corpse = 11428, health = 3000, maxhealth = 3000},
["Kingdra"] = {chance = 500, corpse = 11429, health = 3000, maxhealth = 3000},
["Lanturn"] = {chance = 500, corpse = 11430, health = 3000, maxhealth = 3000},
["Larvitar"] = {chance = 500, corpse = 11431, health = 3000, maxhealth = 3000},
["Ledian"] = {chance = 500, corpse = 11432, health = 3000, maxhealth = 3000},
["Ledyba"] = {chance = 500, corpse = 11433, health = 3000, maxhealth = 3000},
["Lugia"] = {chance = 500, corpse = 11434, health = 3000, maxhealth = 3000},
["Magby"] = {chance = 500, corpse = 11435, health = 3000, maxhealth = 3000},
["Magcarbo"] = {chance = 500, corpse = 11436, health = 3000, maxhealth = 3000},
["Mantine"] = {chance = 500, corpse = 11437, health = 3000, maxhealth = 3000},
["Mareep"] = {chance = 500, corpse = 11438, health = 3000, maxhealth = 3000},
["Marill"] = {chance = 500, corpse = 11439, health = 3000, maxhealth = 3000},
["Meganium"] = {chance = 500, corpse = 11440, health = 3000, maxhealth = 3000},
["Miltank"] = {chance = 500, corpse = 11441, health = 3000, maxhealth = 3000},
["Misdreavus"] = {chance = 500, corpse = 11442, health = 3000, maxhealth = 3000},
["Murkrow"] = {chance = 500, corpse = 11443, health = 3000, maxhealth = 3000},
["Natu"] = {chance = 500, corpse = 11444, health = 3000, maxhealth = 3000},
["Noctowl"] = {chance = 500, corpse = 11445, health = 3000, maxhealth = 3000},
["Octillery"] = {chance = 500, corpse = 11446, health = 3000, maxhealth = 3000},
["Phanpy"] = {chance = 500, corpse = 11447, health = 3000, maxhealth = 3000},
["Pichu"] = {chance = 500, corpse = 11448, health = 3000, maxhealth = 3000},
["Piloswine"] = {chance = 500, corpse = 11449, health = 3000, maxhealth = 3000},
["Pineco"] = {chance = 500, corpse = 11450, health = 3000, maxhealth = 3000},
["Politoed"] = {chance = 500, corpse = 11451, health = 3000, maxhealth = 3000},
["Porygon2"] = {chance = 500, corpse = 11452, health = 3000, maxhealth = 3000},
["Pupitar"] = {chance = 500, corpse = 11453, health = 3000, maxhealth = 3000},
["Quaqsire"] = {chance = 500, corpse = 11454, health = 3000, maxhealth = 3000},
["Quilava"] = {chance = 500, corpse = 11455, health = 3000, maxhealth = 3000},
["Qwilfish"] = {chance = 500, corpse = 11456, health = 3000, maxhealth = 3000},
["Raikou"] = {chance = 500, corpse = 11457, health = 3000, maxhealth = 3000},
["Remoraid"] = {chance = 500, corpse = 11458, health = 3000, maxhealth = 3000},
["Scizor"] = {chance = 500, corpse = 11459, health = 3000, maxhealth = 3000},
["Shuckle"] = {chance = 500, corpse = 11460, health = 3000, maxhealth = 3000},
["Skarmory"] = {chance = 500, corpse = 11462, health = 3000, maxhealth = 3000},
["Skiploom"] = {chance = 500, corpse = 11463, health = 3000, maxhealth = 3000},
["Slowking"] = {chance = 500, corpse = 11464, health = 3000, maxhealth = 3000},
["Slugma"] = {chance = 500, corpse = 11465, health = 3000, maxhealth = 3000},
["Smeargle"] = {chance = 500, corpse = 11466, health = 3000, maxhealth = 3000},
["Smoochum"] = {chance = 500, corpse = 11467, health = 3000, maxhealth = 3000},
["Sneasel"] = {chance = 500, corpse = 11468, health = 3000, maxhealth = 3000},
["Sentret"] = {chance = 500, corpse = 11461, health = 3000, maxhealth = 3000},
["Snubbull"] = {chance = 500, corpse = 11469, health = 3000, maxhealth = 3000},
["Spinarak"] = {chance = 500, corpse = 11470, health = 3000, maxhealth = 3000},
["Stantler"] = {chance = 500, corpse = 11471, health = 3000, maxhealth = 3000},
["Steelix"] = {chance = 500, corpse = 11472, health = 3000, maxhealth = 3000},
["Sudowoodo"] = {chance = 500, corpse = 11473, health = 3000, maxhealth = 3000},
["Suicune"] = {chance = 500, corpse = 11474, health = 3000, maxhealth = 3000},
["Sunflora"] = {chance = 500, corpse = 11475, health = 3000, maxhealth = 3000},
["Sunkern"] = {chance = 500, corpse = 11476, health = 3000, maxhealth = 3000},
["Swinub"] = {chance = 500, corpse = 11477, health = 3000, maxhealth = 3000},
["Teddiursa"] = {chance = 500, corpse = 11478, health = 3000, maxhealth = 3000},
["Togepi"] = {chance = 500, corpse = 11479, health = 3000, maxhealth = 3000},
["Togetic"] = {chance = 500, corpse = 11480, health = 3000, maxhealth = 3000},
["Totodile"] = {chance = 500, corpse = 11481, health = 3000, maxhealth = 3000},
["Typhlosion"] = {chance = 500, corpse = 11482, health = 3000, maxhealth = 3000},
["Tyranitar"] = {chance = 500, corpse = 11483, health = 3000, maxhealth = 3000},
["Tyrogue"] = {chance = 500, corpse = 11484, health = 3000, maxhealth = 3000},
["Wooper"] = {chance = 500, corpse = 11514, health = 3000, maxhealth = 3000},
["Xatu"] = {chance = 500, corpse = 11515, health = 3000, maxhealth = 3000},
["Yanma"] = {chance = 500, corpse = 11516, health = 3000, maxhealth = 3000},
["Giratina"] = {chance = 1, corpse = 11633, health = 15000, maxhealth = 15000},
["Palkia"] = {chance = 1, corpse = 11635, health = 15000, maxhealth = 15000},
["Rayquaza"] = {chance = 1, corpse = 11637, health = 15000, maxhealth = 15000},
["Primal Dialga"] = {chance = 1, corpse = 11638, health = 15000, maxhealth = 15000},
["Dialga"] = {chance = 1, corpse = 11640, health = 15000, maxhealth = 15000},

}

local description = "Contains a %pokename."

function onUse(cid, item, frompos, item2, topos)
local name = getItemNameById(item2.itemid)
if item.itemid == 2147 then -- POKEBALL
catchrate = 1
oncatch = 24
onfail = 23
bolabola = 2222
elseif item.itemid == 2642 then -- GREATBALL
catchrate = 2
oncatch = 198
onfail = 197
bolabola = 2651
elseif item.itemid == 2645 then -- SUPERBALL
catchrate = 3
oncatch = 202
onfail = 201
bolabola = 2653
elseif item.itemid == 2146 then -- ULTRABALL
catchrate = 4
oncatch = 200
onfail = 199
bolabola = 2220
elseif item.itemid == 0 then -- MEGABALL
catchrate = 5
oncatch = 0
onfail = 0
bolabola = 0
elseif item.itemid == 2644 then -- EXBALL(Saffari)
catchrate = 6
oncatch = 204
onfail = 203
bolabola = 2655
end
local rate = (catchrate)
local catch = oncatch
local fail = onfail
local newid = bolabola
for i,x in pairs(pokes) do
if getItemNameById(item2.itemid):find(i:lower()) then
if getItemIdByName(name) == pokes[i].corpse then
if cid ~= getItemAttribute(item2.uid, "corpseowner") and isInArray({1,8}, getPlayerGroupId(cid)) then
doPlayerSendCancel(cid, "Sorry Not Possible!")
return true
end
doRemoveItem(item.uid, 1)
doRemoveItem(item2.uid, 1)
local pegar = math.random(1, x.chance)
if pegar <= 1*(rate) then
doSendMagicEffect(topos, catch)

local nas = {
["%%pokename"] = i
}
for i,x in pairs(nas) do
if description:find(i) then
description = description:gsub(i, x)
end
end

local function capturou(params)
if not isCreature(params.cid) then
return true
end
if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then
doPlayerAddSoul(cid, 1)
setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ")
end
if getPlayerFreeCap(cid) <= 0.99 then
item = doCreateItemEx(newid-1)
doItemSetAttribute(item, "poke", params.poke)
doItemSetAttribute(item, "nome", params.nome)
doItemSetAttribute(item, "description", params.description)
doPlayerSendMailByName(getCreatureName(params.cid), item, 1)
doPlayerSendTextMessage(cid, 27, "Parabens!!Você capturou um "..i.."!")
doPlayerSendTextMessage(cid, 27, "Você ja possui 6 pokemons em sua Bag.Este pokemon sera teletransportado para o centro pokemon.")
else
item = doCreateItemEx(params.ball)
doItemSetAttribute(item, "poke", params.poke)
doItemSetAttribute(item, "nome", params.nome)
doItemSetAttribute(item, "description", params.description)
doPlayerAddItemEx(params.cid, item, true)
doTransformItem(item, newid)
doPlayerSendTextMessage(cid, 27, "Parabens!!Você capturou um "..i.."!")
end
if #getCreatureSummons(cid) >= 1 then
doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178)
else
doSendMagicEffect(getThingPos(cid), 178)
end
end

local description = "Contains a "..i.."."
local poke1 = "This is "..i.."'s pokeball. HP = ["..x.health.."/"..x.maxhealth.."]"
addEvent(capturou, 4000, {cid = cid, poke = poke1, nome = i, description = description, ball = 2219, letter = 2597})
else
function ruim(params)
if not isCreature(params.cid) then
return true
end
doPlayerSendTextMessage(params.cid, 27, "Desculpe,Você não capturou este pokemon.")
if #getCreatureSummons(params.cid) >= 1 then
doSendMagicEffect(getThingPos(getCreatureSummons(params.cid)[1]), 166)
else
doSendMagicEffect(getThingPos(params.cid), 166)
end
end
addEvent(ruim, 4000, {cid = cid})
doSendMagicEffect(topos, fail)
end
end
end
end
return TRUE
end

 

 

e tbm verifica se no monster.xml tem elder charizard..e crystal onix

 

testa ae!

 

 

Rep++

Editado por mulizeu
Link para o comentário
Compartilhar em outros sites

  • 3 weeks later...

Tb estou com o mesmo problema.

Segue Abaixo:

data\actions\goback

local pokes = {
["Bulbasaur"] = {level = 20, cons = 43, vida = 1200},
["Ivysaur"] = {level = 40, cons = 86, vida = 2600},
["Venusaur"] = {level = 85, cons = 189, vida = 5200},
["Charmander"] = {level = 20, cons = 30, vida = 970},
["Charmeleon"] = {level = 40, cons = 70, vida = 2900},
["Charizard"] = {level = 85, cons = 140, vida = 5200},
["Elder Charizard"] = {level = 85, cons = 140, vida = 7200},
["Squirtle"] = {level = 20, cons = 47, vida = 1350},
["Wartortle"] = {level = 40, cons = 93, vida = 2800},
["Blastoise"] = {level = 85, cons = 194, vida = 5900},
["Caterpie"] = {level = 1, cons = 13, vida = 300},
["Metapod"] = {level = 10, cons = 30, vida = 1100},
["Butterfree"] = {level = 30, cons = 56, vida = 2000},
["Weedle"] = {level = 1, cons = 16, vida = 325},
["Kakuna"] = {level = 10, cons = 32, vida = 900},
["Beedrill"] = {level = 30, cons = 64, vida = 1900},
["Pidgey"] = {level = 1, cons = 22, vida = 380},
["Pidgeotto"] = {level = 20, cons = 47, vida = 1400},
["Pidgeot"] = {level = 65, cons = 101, vida = 3800},
["Rattata"] = {level = 1, cons = 19, vida = 350},
["Raticate"] = {level = 20, cons = 68, vida = 900},
["Spearow"] = {level = 5, cons = 22, vida = 450},
["Fearow"] = {level = 50, cons = 95, vida = 3300},
["Ekans"] = {level = 12, cons = 27, vida = 600},
["Arbok"] = {level = 30, cons = 87, vida = 2900},
["Pikachu"] = {level = 20, cons = 32, vida = 900},
["Raichu"] = {level = 50, cons = 99, vida = 3200},
["Sandshrew"] = {level = 18, cons = 30, vida = 700},
["Sandslash"] = {level = 55, cons = 96, vida = 3400},
["Nidoran Female"] = {level = 10, cons = 27, vida = 600},
["Nidorina"] = {level = 25, cons = 58, vida = 2000},
["Nidoqueen"] = {level = 65, cons = 146, vida = 4200},
["Nidoran Male"] = {level = 10, cons = 34, vida = 650},
["Nidorino"] = {level = 25, cons = 74, vida = 2500},
["Nidoking"] = {level = 65, cons = 169, vida = 4800},
["Clefairy"] = {level = 10, cons = 30, vida = 600},
["Clefable"] = {level = 35, cons = 90, vida = 2400},
["Vulpix"] = {level = 20, cons = 32, vida = 680},
["Ninetales"] = {level = 65, cons = 121, vida = 3400},
["Jigglypuff"] = {level = 10, cons = 30, vida = 550},
["Wigglytuff"] = {level = 42, cons = 95, vida = 2900},
["Zubat"] = {level = 5, cons = 28, vida = 450},
["Golbat"] = {level = 30, cons = 70, vida = 1900},
["Oddish"] = {level = 5, cons = 21, vida = 340},
["Gloom"] = {level = 18, cons = 51, vida = 1400},
["Vileplume"] = {level = 50, cons = 96, vida = 3300},
["Paras"] = {level = 1, cons = 40, vida = 850},
["Parasect"] = {level = 50, cons = 110, vida = 3800},
["Venonat"] = {level = 18, cons = 50, vida = 1350},
["Venomoth"] = {level = 50, cons = 125, vida = 3850},
["Diglett"] = {level = 5, cons = 45, vida = 900},
["Dugtrio"] = {level = 35, cons = 110, vida = 3450},
["Meowth"] = {level = 12, cons = 52, vida = 950},
["Persian"] = {level = 30, cons = 85, vida = 2250},
["Psyduck"] = {level = 12, cons = 50, vida = 950},
["Golduck"] = {level = 55, cons = 150, vida = 4000},
["Mankey"] = {level = 10, cons = 60, vida = 1050},
["Primeape"] = {level = 45, cons = 155, vida = 4500},
["Growlithe"] = {level = 20, cons = 60, vida = 1000},
["Arcanine"] = {level = 80, cons = 170, vida = 6800},
["Poliwag"] = {level = 5, cons = 20, vida = 400},
["Poliwhirl"] = {level = 20, cons = 44, vida = 1200},
["Poliwrath"] = {level = 65, cons = 138, vida = 4400},
["Abra"] = {level = 15, cons = 20, vida = 620},
["Kadabra"] = {level = 50, cons = 57, vida = 2500},
["Alakazam"] = {level = 80, cons = 94, vida = 4000},
["Machop"] = {level = 18, cons = 60, vida = 1100},
["Machoke"] = {level = 40, cons = 110, vida = 3500},
["Machamp"] = {level = 70, cons = 185, vida = 7500},
["Bellsprout"] = {level = 5, cons = 24, vida = 420},
["Weepinbell"] = {level = 18, cons = 49, vida = 1100},
["Victreebel"] = {level = 50, cons = 117, vida = 4000},
["Tentacool"] = {level = 12, cons = 52, vida = 1050},
["Tentacruel"] = {level = 80, cons = 165, vida = 7050},
["Geodude"] = {level = 15, cons = 30, vida = 700},
["Graveler"] = {level = 40, cons = 82, vida = 3000},
["Golem"] = {level = 70, cons = 111, vida = 6500},
["Ponyta"] = {level = 20, cons = 60, vida = 1400},
["Rapidash"] = {level = 60, cons = 160, vida = 5500},
["Slowpoke"] = {level = 12, cons = 55, vida = 1200},
["Slowbro"] = {level = 45, cons = 110, vida = 4600},
["Magnemite"] = {level = 15, cons = 27, vida = 450},
["Magneton"] = {level = 40, cons = 67, vida = 1750},
["Farfetchd"] = {level = 40, cons = 95, vida = 3000},
["Doduo"] = {level = 12, cons = 31, vida = 600},
["Dodrio"] = {level = 45, cons = 78, vida = 2650},
["Seel"] = {level = 20, cons = 50, vida = 1000},
["Dewgong"] = {level = 65, cons = 135, vida = 5200},
["Grimer"] = {level = 12, cons = 30, vida = 600},
["Muk"] = {level = 30, cons = 85, vida = 2400},
["Shellder"] = {level = 5, cons = 45, vida = 800},
["Cloyster"] = {level = 65, cons = 155, vida = 5000},
["Gastly"] = {level = 18, cons = 50, vida = 1000},
["Haunter"] = {level = 45, cons = 105, vida = 3000},
["Gengar"] = {level = 80, cons = 175, vida = 7000},
["Onix"] = {level = 50, cons = 150, vida = 5300},
["Crystal Onix"] = {level = 50, cons = 150, vida = 8300},
["Drowzee"] = {level = 22, cons = 58, vida = 1150},
["Hypno"] = {level = 50, cons = 100, vida = 4600},
["Krabby"] = {level = 5, cons = 45, vida = 850},
["Kingler"] = {level = 35, cons = 100, vida = 3250},
["Voltorb"] = {level = 14, cons = 30, vida = 620},
["Electrode"] = {level = 38, cons = 76, vida = 2000},
["Exeggcute"] = {level = 8, cons = 42, vida = 800},
["Exeggutor"] = {level = 48, cons = 98, vida = 4000},
["Cubone"] = {level = 18, cons = 58, vida = 1200},
["Marowak"] = {level = 45, cons = 105, vida = 3900},
["Hitmonlee"] = {level = 60, cons = 140, vida = 5500},
["Hitmonchan"] = {level = 60, cons = 140, vida = 5500},
["Lickitung"] = {level = 45, cons = 100, vida = 4800},
["Koffing"] = {level = 15, cons = 60, vida = 900},
["Weezing"] = {level = 30, cons = 100, vida = 2800},
["Rhyhorn"] = {level = 35, cons = 80, vida = 3800},
["Rhydon"] = {level = 65, cons = 175, vida = 7000},
["Chansey"] = {level = 60, cons = 130, vida = 7500},
["Tangela"] = {level = 40, cons = 85, vida = 3500},
["Kangaskhan"] = {level = 60, cons = 160, vida = 7000},
["Horsea"] = {level = 5, cons = 19, vida = 300},
["Seadra"] = {level = 45, cons = 68, vida = 2500},
["Goldeen"] = {level = 10, cons = 50, vida = 950},
["Seaking"] = {level = 25, cons = 80, vida = 2000},
["Staryu"] = {level = 15, cons = 55, vida = 1050},
["Starmie"] = {level = 45, cons = 95, vida = 3800},
["Mr.Mime"] = {level = 60, cons = 110, vida = 5500},
["Scyther"] = {level = 70, cons = 145, vida = 6500},
["Jynx"] = {level = 65, cons = 125, vida = 6000},
["Elekid"] = {level = 30, cons = 150, vida = 1800},
["Electabuzz"] = {level = 70, cons = 150, vida = 6800},
["Shiny Electabuzz"] = {level = 70, cons = 150, vida = 9500},
["Magmar"] = {level = 70, cons = 160, vida = 7200},
["Pinsir"] = {level = 42, cons = 95, vida = 4000},
["Tauros"] = {level = 40, cons = 100, vida = 4200},
["Magikarp"] = {level = 1, cons = 5, vida = 120},
["Gyarados"] = {level = 75, cons = 195, vida = 7800},
["Lapras"] = {level = 70, cons = 140, vida = 7000},
["Ditto"] = {level = 40, cons = 100, vida = 4000},
["Eevee"] = {level = 20, cons = 55, vida = 1500},
["Vaporeon"] = {level = 55, cons = 110, vida = 4500},
["Jolteon"] = {level = 55, cons = 110, vida = 4500},
["Flareon"] = {level = 55, cons = 110, vida = 4500},
["Porygon"] = {level = 45, cons = 10, vida = 100},
["Omanyte"] = {level = 20, cons = 55, vida = 1300},
["Omastar"] = {level = 70, cons = 140, vida = 6000},
["Kabuto"] = {level = 20, cons = 55, vida = 1300},
["Kabutops"] = {level = 70, cons = 150, vida = 6500},
["Aerodactyl"] = {level = 100, cons = 190, vida = 8000},
["Snorlax"] = {level = 85, cons = 200, vida = 9500},
["Articuno"] = {level = 120, cons = 200, vida = 11000},
["Zapdos"] = {level = 120, cons = 200, vida = 11000},
["Moltres"] = {level = 120, cons = 200, vida = 11000},
["Dratini"] = {level = 10, cons = 55, vida = 1200},
["Dragonair"] = {level = 70, cons = 165, vida = 5600},
["Dragonite"] = {level = 100, cons = 250, vida = 10800},
["Mewtwo"] = {level = 100, cons = 175, vida = 8500},
["Mew"] = {level = 100, cons = 125, vida = 7200},
["Elder Charizard"] = {level = 300, cons = 300, vida = 7200},
}

local msgunica = true
local msgunicago1, msgunicaback1 = "Go, doka!", "Come back, doka!"
local msgunicago2, msgunicaback2 = "Let's do it, doka!", "Thanks for helping, doka!"
local msgunicago3, msgunicaback3 = "I choose you, doka!", "That's enough, come back!"
local msgunicago4, msgunicaback4 = "I need your help, doka!", "You were great, doka!"
local msgunicago5, msgunicaback5 = "Let's fight, doka!", "Excellent work, doka!"
local msgunicago6, msgunicaback6 = "It's battle time, doka!", "Well done, doka!"

function onUse(cid, item, frompos, item2, topos)
if #getCreatureSummons(cid) >= 1 and getPlayerStorageValue(getCreatureSummons(cid)[1], 33) >= 1 then
return true
end
local random2 = math.random(1,6)
if random2 == 1 then
msgunicaback = msgunicaback1
elseif random2 == 2 then
msgunicaback = msgunicaback2
elseif random2 == 3 then
msgunicaback = msgunicaback3
elseif random2 == 4 then
msgunicaback = msgunicaback4
elseif random2 == 5 then
msgunicaback = msgunicaback5
elseif random2 == 6 then
msgunicaback = msgunicaback6
end
local random = math.random(1,6)
if random == 1 then
msgunicago = msgunicago1
elseif random == 2 then
msgunicago = msgunicago2
elseif random == 3 then
msgunicago = msgunicago3
elseif random == 4 then
msgunicago = msgunicago4
elseif random == 5 then
msgunicago = msgunicago5
elseif random == 6 then
msgunicago = msgunicago6
end

if item.itemid == 2222 or item.itemid == 2223 then
gobackeff = 10
elseif item.itemid == 2220 or item.itemid == 2221 then
gobackeff = 191
end
local effect = gobackeff

if item.itemid == 2223 or item.itemid == 2221 then

if #getCreatureSummons(cid) >= 1 then
local z = getCreatureSummons(cid)[1]
local pokename = getCreatureName(z)
local mbk = msgunicaback:gsub("doka", pokename)
if getItemAttribute(item.uid, "poke"):find(getCreatureName(z)) then
doTransformItem(item.uid, item.itemid-1)
doCreatureSay(cid, mbk, TALKTYPE_SAY)
local summom = getCreatureSummons(cid)
local maxh = pokes[getCreatureName(summom[1])].vida
local pct2 = ((getCreatureHealth(summom[1])) / (getCreatureMaxHealth(summom[1])))
local vids = ((getCreatureHealth(summom[1])) - 2)
doCreatureAddHealth(summom[1], -vids)
setCreatureMaxHealth(summom[1], maxh)
doCreatureAddHealth(summom[1], ((maxh) * (pct2)))
doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke"):sub(1, findLetter(getItemAttribute(item.uid, "poke"), ".")) .. " HP = ["..getCreatureHealth(z).."/"..getCreatureMaxHealth(z).."]")
setPlayerStorageValue(cid, 61204, 0)
setPlayerStorageValue(cid, 2, 0)
doSendMagicEffect(getCreaturePosition(z), effect)
doRemoveCreature(z)
return true
end
end

elseif item.itemid == 2222 or item.itemid == 2220 then

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then
doPlayerSendCancel(cid, "You must put your pokeball in the correct place!")
return TRUE
end


if not canSummon(cid) then
return doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTENOUGHROOM)
end

if getPlayerStorageValue(cid, 63215) >= 1 then
return doPlayerSendCancel(cid, "You can't use pokeball while surfing.")
end

if getPlayerStorageValue(cid, 62314) >= 1 then
return doPlayerSendCancel(cid, "You can't use pokeball while flying.")
end

if #getCreatureSummons(cid) >= 1 then
return doPlayerSendCancel(cid, "You have already summoned a pokemon.")
end

for i,x in pairs(pokes) do
if i == getItemAttribute(item.uid, "poke"):sub(9, findLetter(getItemAttribute(item.uid, "poke"), "'")-1) then

if getPlayerLevel(cid) < x.level then
doPlayerSendCancel(cid, "You need level "..x.level.." or higher to use this pokemon.")
return true
end
local removed = doCreateItem(1285, 1, getThingPos(cid))
doSummonMonster(cid, i)
local pk = getCreatureSummons(cid)[1]
doTeleportThing(pk, getClosestFreeTile(pk, getThingPos(cid)), false)
doRemoveItem(removed, 1)
doCreatureSetLookDir(pk, 2)
local maxh = pokes[getCreatureName(pk)].vida
local levellife = ((getPlayerLevel(cid)) * (pokes[getCreatureName(pk)].cons))
local health = tonumber(getItemAttribute(item.uid, "poke"):match("%[(.-)/"))
doConvinceCreature(cid, pk)
doCreatureAddHealth(pk, health-maxh)
local pct = ((getCreatureHealth(pk)) / (getCreatureMaxHealth(pk)))
local vidis = (getCreatureHealth(pk))
setCreatureMaxHealth(pk, ((maxh) + (levellife)))
doCreatureAddHealth(pk, 2)
doCreatureAddHealth(pk, -vidis)
doCreatureAddHealth(pk, ((getCreatureMaxHealth(pk)) * (pct)) - 2)
doTransformItem(item.uid, item.itemid+1)
local pokename = getCreatureName(getCreatureSummons(cid)[1])
local mgo = msgunicago:gsub("doka", pokename)
doCreatureSay(cid, mgo, TALKTYPE_SAY)
doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke"):sub(1, findLetter(getItemAttribute(item.uid, "poke"), ".")))
doSendMagicEffect(getCreaturePosition(pk), effect)
setPlayerStorageValue(cid, 61204, 1)
registerCreatureEvent(pk, "DiePoke")
registerCreatureEvent(pk, "Exp")
break
end
end
end
return TRUE
end

 

Creatures\scripts\goback

local pokes = {
["Bulbasaur"] = {level = 20, cons = 43, vida = 1200},
["Ivysaur"] = {level = 40, cons = 86, vida = 2600},
["Venusaur"] = {level = 85, cons = 189, vida = 5200},
["Charmander"] = {level = 20, cons = 30, vida = 970},
["Charmeleon"] = {level = 40, cons = 70, vida = 2900},
["Charizard"] = {level = 85, cons = 140, vida = 5200},
["Squirtle"] = {level = 20, cons = 47, vida = 1350},
["Wartortle"] = {level = 40, cons = 93, vida = 2800},
["Blastoise"] = {level = 85, cons = 194, vida = 5900},
["Caterpie"] = {level = 1, cons = 13, vida = 300},
["Metapod"] = {level = 10, cons = 30, vida = 1100},
["Butterfree"] = {level = 30, cons = 56, vida = 2000},
["Weedle"] = {level = 1, cons = 16, vida = 325},
["Kakuna"] = {level = 10, cons = 32, vida = 900},
["Beedrill"] = {level = 30, cons = 64, vida = 1900},
["Pidgey"] = {level = 1, cons = 22, vida = 380},
["Pidgeotto"] = {level = 20, cons = 47, vida = 1400},
["Pidgeot"] = {level = 65, cons = 101, vida = 3800},
["Rattata"] = {level = 1, cons = 19, vida = 350},
["Raticate"] = {level = 20, cons = 68, vida = 900},
["Spearow"] = {level = 5, cons = 22, vida = 450},
["Fearow"] = {level = 50, cons = 95, vida = 3300},
["Ekans"] = {level = 12, cons = 27, vida = 600},
["Arbok"] = {level = 30, cons = 87, vida = 2900},
["Pikachu"] = {level = 20, cons = 32, vida = 900},
["Raichu"] = {level = 50, cons = 99, vida = 3200},
["Sandshrew"] = {level = 18, cons = 30, vida = 700},
["Sandslash"] = {level = 55, cons = 96, vida = 3400},
["Nidoran Female"] = {level = 10, cons = 27, vida = 600},
["Nidorina"] = {level = 25, cons = 58, vida = 2000},
["Nidoqueen"] = {level = 65, cons = 146, vida = 4200},
["Nidoran Male"] = {level = 10, cons = 34, vida = 650},
["Nidorino"] = {level = 25, cons = 74, vida = 2500},
["Nidoking"] = {level = 65, cons = 169, vida = 4800},
["Clefairy"] = {level = 10, cons = 30, vida = 600},
["Clefable"] = {level = 35, cons = 90, vida = 2400},
["Vulpix"] = {level = 20, cons = 32, vida = 680},
["Ninetales"] = {level = 65, cons = 121, vida = 3400},
["Jigglypuff"] = {level = 10, cons = 30, vida = 550},
["Wigglytuff"] = {level = 42, cons = 95, vida = 2900},
["Zubat"] = {level = 5, cons = 28, vida = 450},
["Golbat"] = {level = 30, cons = 70, vida = 1900},
["Oddish"] = {level = 5, cons = 21, vida = 340},
["Gloom"] = {level = 18, cons = 51, vida = 1400},
["Vileplume"] = {level = 50, cons = 96, vida = 3300},
["Paras"] = {level = 1, cons = 40, vida = 850},
["Parasect"] = {level = 50, cons = 110, vida = 3800},
["Venonat"] = {level = 18, cons = 50, vida = 1350},
["Venomoth"] = {level = 50, cons = 125, vida = 3850},
["Diglett"] = {level = 5, cons = 45, vida = 900},
["Dugtrio"] = {level = 35, cons = 110, vida = 3450},
["Meowth"] = {level = 12, cons = 52, vida = 950},
["Persian"] = {level = 25, cons = 85, vida = 2250},
["Psyduck"] = {level = 12, cons = 50, vida = 950},
["Golduck"] = {level = 55, cons = 150, vida = 4000},
["Mankey"] = {level = 10, cons = 60, vida = 1050},
["Primeape"] = {level = 45, cons = 155, vida = 4500},
["Growlithe"] = {level = 20, cons = 60, vida = 1000},
["Arcanine"] = {level = 80, cons = 170, vida = 6800},
["Poliwag"] = {level = 5, cons = 20, vida = 400},
["Poliwhirl"] = {level = 20, cons = 44, vida = 1200},
["Poliwrath"] = {level = 65, cons = 138, vida = 4400},
["Abra"] = {level = 10, cons = 20, vida = 620},
["Kadabra"] = {level = 50, cons = 57, vida = 2500},
["Alakazam"] = {level = 80, cons = 94, vida = 4000},
["Machop"] = {level = 18, cons = 60, vida = 1100},
["Machoke"] = {level = 40, cons = 110, vida = 3500},
["Machamp"] = {level = 65, cons = 185, vida = 7500},
["Bellsprout"] = {level = 5, cons = 24, vida = 420},
["Weepinbell"] = {level = 18, cons = 49, vida = 1100},
["Victreebel"] = {level = 50, cons = 117, vida = 4000},
["Tentacool"] = {level = 12, cons = 52, vida = 1050},
["Tentacruel"] = {level = 70, cons = 165, vida = 7050},
["Geodude"] = {level = 15, cons = 30, vida = 700},
["Graveler"] = {level = 40, cons = 82, vida = 3000},
["Golem"] = {level = 70, cons = 111, vida = 6500},
["Ponyta"] = {level = 20, cons = 60, vida = 1400},
["Rapidash"] = {level = 60, cons = 160, vida = 5500},
["Slowpoke"] = {level = 12, cons = 55, vida = 1200},
["Slowbro"] = {level = 45, cons = 110, vida = 4600},
["Magnemite"] = {level = 15, cons = 27, vida = 450},
["Magneton"] = {level = 40, cons = 67, vida = 1750},
["Farfetchd"] = {level = 40, cons = 95, vida = 3000},
["Doduo"] = {level = 12, cons = 31, vida = 600},
["Dodrio"] = {level = 45, cons = 78, vida = 2650},
["Seel"] = {level = 20, cons = 50, vida = 1000},
["Dewgong"] = {level = 65, cons = 135, vida = 5200},
["Grimer"] = {level = 12, cons = 30, vida = 600},
["Muk"] = {level = 30, cons = 85, vida = 2400},
["Shellder"] = {level = 5, cons = 45, vida = 800},
["Cloyster"] = {level = 65, cons = 155, vida = 5000},
["Gastly"] = {level = 18, cons = 50, vida = 1000},
["Haunter"] = {level = 45, cons = 105, vida = 3000},
["Gengar"] = {level = 80, cons = 175, vida = 7000},
["Onix"] = {level = 50, cons = 150, vida = 5300},
["Drowzee"] = {level = 22, cons = 58, vida = 1150},
["Hypno"] = {level = 50, cons = 100, vida = 4600},
["Krabby"] = {level = 5, cons = 45, vida = 850},
["Kingler"] = {level = 35, cons = 100, vida = 3250},
["Voltorb"] = {level = 14, cons = 30, vida = 620},
["Electrode"] = {level = 38, cons = 76, vida = 2000},
["Exeggcute"] = {level = 8, cons = 42, vida = 800},
["Exeggutor"] = {level = 48, cons = 98, vida = 4000},
["Cubone"] = {level = 18, cons = 58, vida = 1200},
["Marowak"] = {level = 45, cons = 105, vida = 3900},
["Hitmonlee"] = {level = 60, cons = 140, vida = 5500},
["Hitmonchan"] = {level = 60, cons = 140, vida = 5500},
["Lickitung"] = {level = 45, cons = 100, vida = 4800},
["Koffing"] = {level = 15, cons = 60, vida = 900},
["Weezing"] = {level = 30, cons = 100, vida = 2800},
["Rhyhorn"] = {level = 35, cons = 80, vida = 3800},
["Rhydon"] = {level = 65, cons = 175, vida = 7000},
["Chansey"] = {level = 60, cons = 130, vida = 7500},
["Tangela"] = {level = 40, cons = 85, vida = 3500},
["Kangaskhan"] = {level = 60, cons = 160, vida = 7000},
["Horsea"] = {level = 5, cons = 19, vida = 300},
["Seadra"] = {level = 45, cons = 68, vida = 2500},
["Goldeen"] = {level = 10, cons = 50, vida = 950},
["Seaking"] = {level = 25, cons = 80, vida = 2000},
["Staryu"] = {level = 15, cons = 55, vida = 1050},
["Starmie"] = {level = 45, cons = 95, vida = 3800},
["Mr.mime"] = {level = 60, cons = 110, vida = 5500},
["Scyther"] = {level = 70, cons = 145, vida = 6500},
["Jynx"] = {level = 65, cons = 125, vida = 6000},
["Electabuzz"] = {level = 70, cons = 150, vida = 6800},
["Magmar"] = {level = 70, cons = 160, vida = 7200},
["Pinsir"] = {level = 42, cons = 95, vida = 4000},
["Tauros"] = {level = 40, cons = 100, vida = 4200},
["Magikarp"] = {level = 1, cons = 5, vida = 120},
["Gyarados"] = {level = 75, cons = 195, vida = 7800},
["Lapras"] = {level = 70, cons = 140, vida = 7000},
["Ditto"] = {level = 40, cons = 100, vida = 4000},
["Eevee"] = {level = 20, cons = 55, vida = 1500},
["Vaporeon"] = {level = 55, cons = 110, vida = 4500},
["Jolteon"] = {level = 55, cons = 110, vida = 4500},
["Flareon"] = {level = 55, cons = 110, vida = 4500},
["Porygon"] = {level = 45, cons = 10, vida = 100},
["Omanyte"] = {level = 20, cons = 55, vida = 1300},
["Omastar"] = {level = 70, cons = 140, vida = 6000},
["Kabuto"] = {level = 20, cons = 55, vida = 1300},
["Kabutops"] = {level = 70, cons = 150, vida = 6500},
["Aerodactyl"] = {level = 100, cons = 190, vida = 8000},
["Snorlax"] = {level = 85, cons = 200, vida = 9500},
["Articuno"] = {level = 120, cons = 200, vida = 11000},
["Zapdos"] = {level = 120, cons = 200, vida = 11000},
["Moltres"] = {level = 120, cons = 200, vida = 11000},
["Dratini"] = {level = 10, cons = 55, vida = 1200},
["Dragonair"] = {level = 70, cons = 165, vida = 5600},
["Dragonite"] = {level = 100, cons = 250, vida = 10800},
["Mewtwo"] = {level = 100, cons = 175, vida = 8500},
["Mew"] = {level = 100, cons = 125, vida = 7200},
["Elder Charizard"] = {level = 85, cons = 140, vida = 7200},
}

function onLogout(cid)
if getPlayerStorageValue(cid, 888) >= 1 then
doPlayerSendCancel(cid, "You cant logout during control mind.")
return false
end
if #getCreatureSummons(cid) == 1 then
if getPlayerStorageValue(cid, 61204) >= 1 and getPlayerStorageValue(cid, 63215) <= 0 and getPlayerStorageValue(cid, 62314) <= 0 then
local summom = getCreatureSummons(cid)
local maxh = (pokes[getCreatureName(summom[1])].vida)
local pct2 = ((getCreatureHealth(summom[1])) / (getCreatureMaxHealth(summom[1])))
local vids = ((getCreatureHealth(summom[1])) - 2)
doCreatureAddHealth(summom[1], -vids)
setCreatureMaxHealth(summom[1], maxh)
doCreatureAddHealth(summom[1], ((maxh) * (pct2)))
local health = getCreatureHealth(summom[1])
local maxhealth = getCreatureMaxHealth(summom[1])
setPlayerStorageValue(cid, 61205, health)
setPlayerStorageValue(cid, 61206, maxhealth)
setPlayerStorageValue(cid, 61204, 0)
setPlayerStorageValue(cid, 61207, 1)
setPlayerStorageValue(cid, 1, 0)
if getPlayerGroupId(cid) == 8 then
setPlayerGroupId(cid, 1)
end
end
end
return TRUE
end

function onDeath(cid, deathList)
local owner = getCreatureMaster(cid)
if getPlayerSlotItem(owner, 8).itemid == 2220 or getPlayerSlotItem(owner, 8).itemid == 2221 then
doSendMagicEffect(getCreaturePosition(cid), 191)
elseif getPlayerSlotItem(owner, 8).itemid == 2222 or getPlayerSlotItem(owner, 8).itemid == 2223 then
doSendMagicEffect(getCreaturePosition(cid), 10)
end
doPlayerSendTextMessage(owner, 22, "Your pokemon fainted.")
if getPlayerSlotItem(owner, 8).itemid == 2220 or getPlayerSlotItem(owner, 8).itemid == 2221 then
doTransformItem(getPlayerSlotItem(owner, 8).uid, 2227)
elseif getPlayerSlotItem(owner, 8).itemid == 2222 or getPlayerSlotItem(owner, 8).itemid == 2223 then
doTransformItem(getPlayerSlotItem(owner, 8).uid, 2224)
end
local item = getPlayerSlotItem(owner, 8)
doItemSetAttribute(item.uid, "poke", getItemAttribute(item.uid, "poke"):sub(1, findLetter(getItemAttribute(item.uid, "poke"), ".")) .. " HP = [0/"..getCreatureMaxHealth(cid).."]")
setPlayerStorageValue(owner, 61207, 0)
setPlayerStorageValue(owner, 61204, 0)
if getPlayerGroupId(owner) == 8 then
setPlayerGroupId(owner, 1)
end
doRemoveCreature(cid)
return FALSE
end

 

creatures.xml

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
<event type="kill" name="task_count" script="taskcount.lua"/>
<event type="login" name="PlayerLogin" event="script" value="login.lua"/>
<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>
<event type="receivemail" name="Mail" event="script" value="mail.lua"/>
<event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
<event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/>
<event type="think" name="Idle" event="script" value="idle.lua"/>
<event type="death" name="PlayerPokeDeath" event="script" value="playerpdeath.lua"/>
<event type="think" name="Flying" event="script" value="flycool.lua"/>
<event type="think" name="Tele" event="script" value="poketele.lua"/>
<event type="cast" name="NotAttack" event="script" value="notattack.lua"/>

<event type="cast" name="BlockSpells" event="script" value="wildpoke.lua"/>
<event type="cast" name="Controled" event="script" value="controlmind.lua"/>
<event type="attack" name="BlockHit3" event="script" value="wildpoke.lua"/>
<event type="statschange" name="Exp" event="script" value="exp.lua"/>
<event type="direction" name="AvoidLook" event="script" value="wildpoke.lua"/>
<event type="attack" name="WildAttack" event="script" value="playerattack.lua"/>

<event type="look" name="Alook" event="script" value="look.lua"/> 

<!-- Pokeballs -->
<event type="death" name="DiePoke" event="script" value="goback.lua"/>
<event type="logout" name="LogoutPoke" event="script" value="goback.lua"/>

</creaturescripts>

 

Elder Charizard.xml

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Elder Charizard" nameDescription="a elder charizard" race="undead" experience="16500" speed="200" manacost="0">
<health now="15100" max="15100"/>
<look type="294" corpse="2954"/>
<targetchange interval="10000" chance="10"/>
<strategy attack="100" defense="0"/>

   <flags>
   <flag summonable="1"/>
   <flag attackable="1"/>
   <flag hostile="1"/>
   <flag illusionable="1"/>
   <flag convinceable="1"/>
   <flag pushable="0"/>
   <flag canpushitems="0"/>
   <flag canpushcreatures="0"/>
   <flag targetdistance="1"/>
   <flag staticattack="90"/>
   <flag runonhealth="0"/>
   </flags>

   <attacks>
   <attack name="melee" interval="2000" range="1" min="-105" max="-280"/>	
   <attack name="lifedrain" interval="2000" min="-120" max="-240">
   <attribute key="areaEffect" value="redshimmer"/></attack>
   <attack name="scratch" interval="1400" chance="25" min="-135" max="-195"/>
   <attack name="ember" interval="1700" chance="20" min="-145" max="-255"/>
   <attack name="fireball" interval="2500" chance="15" min="-365" max="-475"/>
   <attack name="fire fang" interval="2300" chance="17" min="-345" max="-555"/>
   <attack name="wing attack" interval="2700" chance="21" min="-345" max="-655"/>
   <attack name="flamethrower" interval="4000" chance="30"/>
   <attack name="raging blast" interval="3800" chance="27"/>
   <attack name="fire blast" interval="3100" chance="20" min="-500" max="-1000"/>
   <attack name="fury" interval="4000" chance="35" range="10"/>
   </attacks>

   <defenses armor="10" defense="15">
   <defense name="speed" interval="10000" chance="40" speedchange="310" duration="20000">
   <attribute key="areaEffect" value="greenshimmer"/>
   </defense>
   <defense name="healing" interval="5000" chance="60" min="25" max="75">
   <attribute key="areaEffect" value="blueshimmer"/>
   </defense>
   </defenses>

<voices interval="5000" chance="10">
<voice sentence="CHARIZARD!"/>
<voice sentence="ZAAARD!"/>
<voice sentence="CHARII!"/>
</voices>

<loot>
<item id="8866" countmax="100" chance="85000"/> -- essence of fire
<item id="6569" countmax="1" chance="100"/><!-- rare candy -->
<item id="8867" countmax="10" chance="42000"/> -- pot of lava
<item id="2365" countmax="1" chance="500"/><!-- Elder backpack -->
<item id="2283" countmax="1" chance="900"/> -- fire stone
</loot>

<script>
<event name="Exp"/>
</script>

</monster>

 

Monsters.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<monsters>
-- Pokes estranhos --
<monster name="Dannys Growlithe" file="pokes/Dannys Growlithe.xml"/>

<monster name="Tall Grass" file="pokes/Grass.xml"/>

<monster name="test" file="pokes/test.xml"/>

-- Pokes 4ever alone --

<monster name="lickitung" file="pokes/lickitung.xml"/>

<monster name="aerodactyl" file="pokes/aerodactyl.xml"/>

<monster name="lapras" file="pokes/lapras.xml"/>

<monster name="ditto" file="pokes/ditto.xml"/>

<monster name="Farfetchd" file="pokes/Farfetchd.xml"/>

<monster name="chansey" file="pokes/chansey.xml"/>

<monster name="tangela" file="pokes/tangela.xml"/>

<monster name="kangaskhan" file="pokes/kangaskhan.xml"/>

<monster name="mr.mime" file="pokes/mr.mime.xml"/>

<monster name="scyther" file="pokes/scyther.xml"/>

<monster name="jynx" file="pokes/jynx.xml"/>

<monster name="electabuzz" file="pokes/electabuzz.xml"/>
<monster name="elekid" file="pokes/elekid.xml"/>

<monster name="magmar" file="pokes/magmar.xml"/>

<monster name="pinsir" file="pokes/pinsir.xml"/>

<monster name="tauros" file="pokes/tauros.xml"/>

-- Pokes Evos --

<monster name="bulbasaur" file="pokes/bulbasaur.xml"/>
<monster name="ivysaur" file="pokes/ivysaur.xml"/>
<monster name="venusaur" file="pokes/venusaur.xml"/>

<monster name="Charmander" file="pokes/charmander.xml"/>
<monster name="Charmeleon" file="pokes/Charmeleon.xml"/>
<monster name="Charizard" file="pokes/Charizard.xml"/>

<monster name="elder charizard" file="pokes/elder charizard.xml"/>

<monster name="squirtle" file="pokes/squirtle.xml"/>
<monster name="wartortle" file="pokes/wartortle.xml"/>
<monster name="blastoise" file="pokes/blastoise.xml"/>

<monster name="caterpie" file="pokes/caterpie.xml"/>
<monster name="metapod" file="pokes/metapod.xml"/>
<monster name="butterfree" file="pokes/butterfree.xml"/>

<monster name="Weedle" file="pokes/Weedle.xml"/>
<monster name="Kakuna" file="pokes/Kakuna.xml"/>
<monster name="Beedrill" file="pokes/Beedrill.xml"/>

<monster name="Pidgey" file="pokes/Pidgey.xml"/>
<monster name="Pidgeotto" file="pokes/Pidgeotto.xml"/>
<monster name="Pidgeot" file="pokes/Pidgeot.xml"/>

<monster name="Rattata" file="pokes/Rattata.xml"/>
<monster name="Raticate" file="pokes/Raticate.xml"/>

<monster name="spearow" file="pokes/spearow.xml"/>
<monster name="fearow" file="pokes/fearow.xml"/>

<monster name="ekans" file="pokes/ekans.xml"/>
<monster name="arbok" file="pokes/arbok.xml"/>

<monster name="pikachu" file="pokes/pikachu.xml"/>
<monster name="raichu" file="pokes/raichu.xml"/>

<monster name="Sandshrew" file="pokes/Sandshrew.xml"/>
<monster name="Sandslash" file="pokes/Sandslash.xml"/>

<monster name="nidoran female" file="pokes/nidoran female.xml"/>
<monster name="nidorina" file="pokes/nidorina.xml"/>
<monster name="nidoqueen" file="pokes/nidoqueen.xml"/>

<monster name="nidoran male" file="pokes/nidoran male.xml"/>
<monster name="nidorino" file="pokes/nidorino.xml"/>
<monster name="nidoking" file="pokes/nidoking.xml"/>

<monster name="clefairy" file="pokes/clefairy.xml"/>
<monster name="clefable" file="pokes/clefable.xml"/>

<monster name="vulpix" file="pokes/vulpix.xml"/>
<monster name="ninetales" file="pokes/ninetales.xml"/>

<monster name="jigglypuff" file="pokes/jigglypuff.xml"/>
<monster name="wigglytuff" file="pokes/wigglytuff.xml"/>

<monster name="Zubat" file="pokes/Zubat.xml"/>
<monster name="Golbat" file="pokes/Golbat.xml"/>

<monster name="Oddish" file="pokes/Oddish.xml"/>
<monster name="Gloom" file="pokes/Gloom.xml"/>
<monster name="Vileplume" file="pokes/Vileplume.xml"/>

<monster name="paras" file="pokes/paras.xml"/>
<monster name="parasect" file="pokes/parasect.xml"/>

<monster name="venonat" file="pokes/venonat.xml"/>
<monster name="venomoth" file="pokes/venomoth.xml"/>

<monster name="diglett" file="pokes/diglett.xml"/>
<monster name="dugtrio" file="pokes/dugtrio.xml"/>

<monster name="meowth" file="pokes/meowth.xml"/>
<monster name="persian" file="pokes/persian.xml"/>

<monster name="psyduck" file="pokes/psyduck.xml"/>
<monster name="golduck" file="pokes/golduck.xml"/>

<monster name="mankey" file="pokes/mankey.xml"/>
<monster name="primeape" file="pokes/primeape.xml"/>

<monster name="growlithe" file="pokes/growlithe.xml"/>
<monster name="arcanine" file="pokes/arcanine.xml"/>

<monster name="Poliwag" file="pokes/Poliwag.xml"/>
<monster name="Poliwhirl" file="pokes/Poliwhirl.xml"/>
<monster name="Poliwrath" file="pokes/Poliwrath.xml"/>

<monster name="Abra" file="pokes/Abra.xml"/>
<monster name="Kadabra" file="pokes/Kadabra.xml"/>
<monster name="Alakazam" file="pokes/Alakazam.xml"/>
<monster name="Alakazam cm" file="pokes/Alakazam cm.xml"/>

<monster name="machop" file="pokes/machop.xml"/>
<monster name="machoke" file="pokes/machoke.xml"/>
<monster name="machamp" file="pokes/machamp.xml"/>

<monster name="Bellsprout" file="pokes/Bellsprout.xml"/>
<monster name="Weepinbell" file="pokes/Weepinbell.xml"/>
<monster name="Victreebel" file="pokes/Victreebel.xml"/>

<monster name="tentacool" file="pokes/tentacool.xml"/>
<monster name="tentacruel" file="pokes/tentacruel.xml"/>

<monster name="Geodude" file="pokes/Geodude.xml"/>
<monster name="Graveler" file="pokes/Graveler.xml"/>
<monster name="Golem" file="pokes/Golem.xml"/>

<monster name="ponyta" file="pokes/ponyta.xml"/>
<monster name="rapidash" file="pokes/rapidash.xml"/>

<monster name="slowpoke" file="pokes/slowpoke.xml"/>
<monster name="slowbro" file="pokes/slowbro.xml"/>

<monster name="Magnemite" file="pokes/Magnemite.xml"/>
<monster name="Magneton" file="pokes/Magneton.xml"/>

<monster name="Doduo" file="pokes/Doduo.xml"/>
<monster name="Dodrio" file="pokes/Dodrio.xml"/>

<monster name="seel" file="pokes/seel.xml"/>
<monster name="dewgong" file="pokes/dewgong.xml"/>

<monster name="Grimer" file="pokes/Grimer.xml"/>
<monster name="Muk" file="pokes/Muk.xml"/>

<monster name="onix" file="pokes/onix.xml"/>
<monster name="crystal onix" file="pokes/crystal onix.xml"/>

<monster name="shellder" file="pokes/shellder.xml"/>
<monster name="cloyster" file="pokes/cloyster.xml"/>

<monster name="gastly" file="pokes/gastly.xml"/>
<monster name="haunter" file="pokes/haunter.xml"/>
<monster name="gengar" file="pokes/gengar.xml"/>

<monster name="Drowzee" file="pokes/Drowzee.xml"/>
<monster name="hypno" file="pokes/hypno.xml"/>

<monster name="krabby" file="pokes/krabby.xml"/>
<monster name="kingler" file="pokes/Kingler.xml"/>

<monster name="Voltorb" file="pokes/Voltorb.xml"/>
<monster name="Electrode" file="pokes/Electrode.xml"/>

<monster name="exeggcute" file="pokes/exeggcute.xml"/>
<monster name="exeggutor" file="pokes/exeggutor.xml"/>

<monster name="cubone" file="pokes/cubone.xml"/>
<monster name="marowak" file="pokes/marowak.xml"/>

<monster name="hitmonlee" file="pokes/hitmonlee.xml"/>
<monster name="hitmonchan" file="pokes/hitmonchan.xml"/>

<monster name="weezing" file="pokes/weezing.xml"/>
<monster name="koffing" file="pokes/koffing.xml"/>

<monster name="rhydon" file="pokes/rhydon.xml"/>
<monster name="rhyhorn" file="pokes/rhyhorn.xml"/>

<monster name="Horsea" file="pokes/Horsea.xml"/>
<monster name="Seadra" file="pokes/Seadra.xml"/>

<monster name="staryu" file="pokes/staryu.xml"/>
<monster name="starmie" file="pokes/starmie.xml"/>

<monster name="goldeen" file="pokes/goldeen.xml"/>
<monster name="seaking" file="pokes/seaking.xml"/>

<monster name="Magikarp" file="pokes/Magikarp.xml"/>
<monster name="gyarados" file="pokes/gyarados.xml"/>

<monster name="eevee" file="pokes/eevee.xml"/>
<monster name="vaporeon" file="pokes/vaporeon.xml"/>
<monster name="flareon" file="pokes/flareon.xml"/>
<monster name="jolteon" file="pokes/jolteon.xml"/>

<monster name="porygon" file="pokes/porygon.xml"/>

<monster name="omanyte" file="pokes/omanyte.xml"/>
<monster name="omastar" file="pokes/omastar.xml"/>

<monster name="kabuto" file="pokes/kabuto.xml"/>
<monster name="kabutops" file="pokes/kabutops.xml"/>

<monster name="snorlax" file="pokes/snorlax.xml"/>

<monster name="articuno" file="pokes/articuno.xml"/>
<monster name="zapdos" file="pokes/zapdos.xml"/>
<monster name="moltres" file="pokes/moltres.xml"/>

<monster name="dratini" file="pokes/dratini.xml"/>
<monster name="dragonair" file="pokes/dragonair.xml"/>
<monster name="dragonite" file="pokes/dragonite.xml"/>

<monster name="mew" file="pokes/mew.xml"/>
<monster name="mewtwo" file="pokes/mewtwo.xml"/>

-- shinys
<monster name="shiny electabuzz" file="pokes/shiny electabuzz.xml"/>
<monster name="shiny krabby" file="pokes/shiny krabby.xml"/>

-- shinys selvagens
<monster name="shiny krabby s" file="pokes/selvagens/shiny krabby s.xml"/>

--segunda geracao

--segunda geracao selvagens

-------------------------------------------------------
-----------------SELVAGENS-------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
<monster name="crystal onix s" file="pokes/selvagens/crystal onix s.xml"/>
<monster name="elder charizard s" file="pokes/elder charizard.xml"/>
<monster name="dewgong s" file="pokes/selvagens/dewgong s.xml"/>
<monster name="Magby s" file="pokes/selvagens/magby s.xml"/>
<monster name="Bulbasaur s" file="pokes/selvagens/Bulbasaur s.xml"/>
<monster name="Ivysaur s" file="pokes/selvagens/Ivysaur s.xml"/>
<monster name="Venusaur s" file="pokes/selvagens/Venusaur s.xml"/>
<monster name="Charmander s" file="pokes/selvagens/Charmander s.xml"/>
<monster name="Charmeleon s" file="pokes/selvagens/Charmeleon s.xml"/>
<monster name="Charizard s" file="pokes/selvagens/Charizard s.xml"/>
<monster name="Squirtle s" file="pokes/selvagens/Squirtle s.xml"/>
<monster name="Wartortle s" file="pokes/selvagens/Wartortle s.xml"/>
<monster name="Blastoise s" file="pokes/selvagens/Blastoise s.xml"/>
<monster name="Caterpie s" file="pokes/selvagens/Caterpie s.xml"/>
<monster name="Metapod s" file="pokes/selvagens/Metapod s.xml"/>
<monster name="Butterfree s" file="pokes/selvagens/Butterfree s.xml"/>
<monster name="Weedle s" file="pokes/selvagens/Weedle s.xml"/>
<monster name="Kakuna s" file="pokes/selvagens/kakuna s.xml"/>
<monster name="Beedrill s" file="pokes/selvagens/Beedril s.xml"/>
<monster name="Pidgey s" file="pokes/selvagens/Pidgey s.xml"/>
<monster name="Pidgeys" file="pokes/selvagens/Pidgey s.xml"/>
<monster name="Pidgeotto s" file="pokes/selvagens/Pidgeotto s.xml"/>
<monster name="Pidgeot s" file="pokes/selvagens/Pidgeot s.xml"/>
<monster name="Rattata s" file="pokes/selvagens/Rattata s.xml"/>
<monster name="Raticate s" file="pokes/selvagens/Raticate s.xml"/>
<monster name="Spearow s" file="pokes/selvagens/Spearow s.xml"/>
<monster name="Fearow s" file="pokes/selvagens/Fearow s.xml"/>
<monster name="Ekans s" file="pokes/selvagens/Ekans s.xml"/>
<monster name="Arbok s" file="pokes/selvagens/Arbok s.xml"/>
<monster name="Pikachu s" file="pokes/selvagens/Pikachu s.xml"/>
<monster name="Raichu s" file="pokes/selvagens/Raichu s.xml"/>
<monster name="Sandshrew s" file="pokes/selvagens/Sandshrew s.xml"/>
<monster name="Sandslash s" file="pokes/selvagens/Sandslash s.xml"/>
<monster name="Nidoran Female s" file="pokes/selvagens/Nidoran Female s.xml"/>
<monster name="Nidorina s" file="pokes/selvagens/Nidorina s.xml"/>
<monster name="Nidoqueen s" file="pokes/selvagens/Nidoqueen s.xml"/>
<monster name="Nidoran Male s" file="pokes/selvagens/Nidoran Male s.xml"/>
<monster name="Nidorino s" file="pokes/selvagens/Nidorino s.xml"/>
<monster name="Nidoking s" file="pokes/selvagens/Nidoking s.xml"/>
<monster name="Clefairy s" file="pokes/selvagens/Clefairy s.xml"/>
<monster name="Clefable s" file="pokes/selvagens/Clefable s.xml"/>
<monster name="Vulpix s" file="pokes/selvagens/Vulpix s.xml"/>
<monster name="Ninetales s" file="pokes/selvagens/Ninetales s.xml"/>
<monster name="Zubat s" file="pokes/selvagens/Zubat s.xml"/>
<monster name="Golbat s" file="pokes/selvagens/Golbat s.xml"/>
<monster name="Oddish s" file="pokes/selvagens/Oddish s.xml"/>
<monster name="Gloom s" file="pokes/selvagens/Gloom s.xml"/>
<monster name="Vileplume s" file="pokes/selvagens/Vileplume s.xml"/>
<monster name="Psyduck s" file="pokes/selvagens/Psyduck s.xml"/>
<monster name="Abra s" file="pokes/selvagens/Abra s.xml"/>
<monster name="Kadabra s" file="pokes/selvagens/Kadabra s.xml"/>
<monster name="Alakazam s" file="pokes/selvagens/Alakazam s.xml"/>
<monster name="Bellsprout s" file="pokes/selvagens/Bellsprout s.xml"/>
<monster name="Weepinbell s" file="pokes/selvagens/Weepinbell s.xml"/>
<monster name="Victreebel s" file="pokes/selvagens/Victreebel s.xml"/>
<monster name="Tentacool s" file="pokes/selvagens/Tentacool s.xml"/>
<monster name="Golduck s" file="pokes/selvagens/Golduck s.xml"/>
<monster name="Tentacruel s" file="pokes/selvagens/Tentacruel s.xml"/>
<monster name="Geodude s" file="pokes/selvagens/Geodude s.xml"/>
<monster name="Graveler s" file="pokes/selvagens/Graveler s.xml"/>
<monster name="Golem s" file="pokes/selvagens/Golem s.xml"/>
<monster name="Magnemite s" file="pokes/selvagens/Magnemite s.xml"/>
<monster name="Magneton s" file="pokes/selvagens/Magneton s.xml"/>
<monster name="Doduo s" file="pokes/selvagens/Doduo s.xml"/>
<monster name="Dodrio s" file="pokes/selvagens/Dodrio s.xml"/>
<monster name="Grimer s" file="pokes/selvagens/Grimer s.xml"/>
<monster name="Muk s" file="pokes/selvagens/Muk s.xml"/>
<monster name="Krabby s" file="pokes/selvagens/Krabby s.xml"/>
<monster name="Kingler s" file="pokes/selvagens/Kingler s.xml"/>
<monster name="Voltorb s" file="pokes/selvagens/Voltorb s.xml"/>
<monster name="Electrode s" file="pokes/selvagens/Electrode s.xml"/>
<monster name="Koffing s" file="pokes/selvagens/Koffing s.xml"/>
<monster name="Weezing s" file="pokes/selvagens/Weezing s.xml"/>
<monster name="Seaking s" file="pokes/selvagens/Seaking s.xml"/>
<monster name="Horsea s" file="pokes/selvagens/Horsea s.xml"/>
<monster name="Seadra s" file="pokes/selvagens/Seadra s.xml"/>
<monster name="Goldeen s" file="pokes/selvagens/Goldeen s.xml"/>
<monster name="Magikarp s" file="pokes/selvagens/Magikarp s.xml"/>
<monster name="Gyarados s" file="pokes/selvagens/Gyarados s.xml"/>
<monster name="Eevee s" file="pokes/selvagens/Eevee s.xml"/>
<monster name="Jigglypuff s" file="pokes/selvagens/Jigglypuff s.xml"/>.
<monster name="Wigglytuff s" file="pokes/selvagens/Wigglytuff s.xml"/>
<monster name="Paras s" file="pokes/selvagens/Paras s.xml"/>
<monster name="Parasect s" file="pokes/selvagens/Parasect s.xml"/>
<monster name="Venonat s" file="pokes/selvagens/Venonat s.xml"/>
<monster name="Venomoth s" file="pokes/selvagens/Venomoth s.xml"/>
<monster name="Diglett s" file="pokes/selvagens/Diglett s.xml"/>
<monster name="Dugtrio s" file="pokes/selvagens/Dugtrio s.xml"/>
<monster name="Meowth s" file="pokes/selvagens/Meowth s.xml"/>
<monster name="Persian s" file="pokes/selvagens/Persian s.xml"/>
<monster name="Poliwag s" file="pokes/selvagens/Poliwag s.xml"/>
<monster name="Poliwhirl s" file="pokes/selvagens/Poliwhirl s.xml"/>
<monster name="Poliwrath s" file="pokes/selvagens/Poliwrath s.xml"/>
<monster name="Ponyta s" file="pokes/selvagens/Ponyta s.xml"/>
<monster name="Rapidash s" file="pokes/selvagens/Rapidash s.xml"/>
<monster name="Growlithe s" file="pokes/selvagens/Growlithe s.xml"/>
<monster name="Arcanine s" file="pokes/selvagens/Arcanine s.xml"/>
<monster name="Staryu s" file="pokes/selvagens/Staryu s.xml"/>
<monster name="Starmie s" file="pokes/selvagens/Starmie s.xml"/>
<monster name="Machop s" file="pokes/selvagens/Machop s.xml"/>
<monster name="Machoke s" file="pokes/selvagens/Machoke s.xml"/>
<monster name="Machamp s" file="pokes/selvagens/Machamp s.xml"/>
<monster name="Mankey s" file="pokes/selvagens/Mankey s.xml"/>
<monster name="Primeape s" file="pokes/selvagens/Primeape s.xml"/>
<monster name="Rhyhorn s" file="pokes/selvagens/Rhyhorn s.xml"/>
<monster name="Rhydon s" file="pokes/selvagens/Rhydon s.xml"/>
<monster name="Slowpoke s" file="pokes/selvagens/Slowpoke s.xml"/>
<monster name="Slowbro s" file="pokes/selvagens/Slowbro s.xml"/>
<monster name="Farfetchd s" file="pokes/selvagens/Farfetchd s.xml"/>
<monster name="Seel s" file="pokes/selvagens/Seel s.xml"/>
<monster name="Shellder s" file="pokes/selvagens/Shellder s.xml"/>
<monster name="Cloyster s" file="pokes/selvagens/Cloyster s.xml"/>
<monster name="Gastly s" file="pokes/selvagens/Gastly s.xml"/>
<monster name="Haunter s" file="pokes/selvagens/Haunter s.xml"/>
<monster name="Gengar s" file="pokes/selvagens/Gengar s.xml"/>
<monster name="Darkness" file="pokes/selvagens/Darkness.xml"/>
<monster name="Onix s" file="pokes/selvagens/Onix s.xml"/>
<monster name="Drowzee s" file="pokes/selvagens/Drowzee s.xml"/>
<monster name="Hypno s" file="pokes/selvagens/Hypno s.xml"/>
<monster name="Exeggcute s" file="pokes/selvagens/Exeggcute s.xml"/>
<monster name="Exeggutor s" file="pokes/selvagens/Exeggutor s.xml"/>
<monster name="Cubone s" file="pokes/selvagens/Cubone s.xml"/>
<monster name="Marowak s" file="pokes/selvagens/Marowak s.xml"/>
<monster name="Hitmonlee s" file="pokes/selvagens/Hitmonlee s.xml"/>
<monster name="Hitmonchan s" file="pokes/selvagens/Hitmonchan s.xml"/>
<monster name="Lickitung s" file="pokes/selvagens/Lickitung s.xml"/>
<monster name="Chansey s" file="pokes/selvagens/Chansey s.xml"/>
<monster name="Tangela s" file="pokes/selvagens/Tangela s.xml"/>
<monster name="Kangaskhan s" file="pokes/selvagens/Kangaskhan s.xml"/>
<monster name="Mr.Mime s" file="pokes/selvagens/MrMime s.xml"/>
<monster name="MrMime s" file="pokes/selvagens/MrMime s.xml"/>
<monster name="Scyther s" file="pokes/selvagens/Scyther s.xml"/>
<monster name="Jynx s" file="pokes/selvagens/Jynx s.xml"/>
<monster name="Electabuzz s" file="pokes/selvagens/Electabuzz s.xml"/>
<monster name="Elekid s" file="pokes/selvagens/Elekid s.xml"/>
<monster name="Magmar s" file="pokes/selvagens/Magmar s.xml"/>
<monster name="Pinsir s" file="pokes/selvagens/Pinsir s.xml"/>
<monster name="Tauros s" file="pokes/selvagens/Tauros s.xml"/>
<monster name="Lapras s" file="pokes/selvagens/Lapras s.xml"/>



<monster name="Omanyte s" file="pokes/selvagens/Omanyte s.xml"/>
<monster name="Omastar s" file="pokes/selvagens/Omastar s.xml"/>
<monster name="Kabuto s" file="pokes/selvagens/Kabuto s.xml"/>
<monster name="Kabutops s" file="pokes/selvagens/Kabutops s.xml"/>
<monster name="Aerodactyl s" file="pokes/selvagens/Aerodactyl s.xml"/>
<monster name="Snorlax s" file="pokes/selvagens/Snorlax s.xml"/>
<monster name="Articuno s" file="pokes/selvagens/Articuno s.xml"/>
<monster name="Zapdos s" file="pokes/selvagens/Zapdos s.xml"/>
<monster name="Moltres s" file="pokes/selvagens/Moltres s.xml"/>
<monster name="Dratini s" file="pokes/selvagens/Dratini s.xml"/>
<monster name="Dragonair s" file="pokes/selvagens/Dragonair s.xml"/>
<monster name="Dragonite s" file="pokes/selvagens/Dragonite s.xml"/>
<monster name="Mewtwo s" file="pokes/selvagens/Mewtwo s.xml"/>
<monster name="Mew s" file="pokes/selvagens/Mew s.xml"/>

--------GYM
<monster name="Gym Geodude" file="pokes/gym/Gym Geodude.xml"/>
<monster name="Gym Onix" file="pokes/gym/Gym Onix.xml"/>
<monster name="Gary Spearow" file="pokes/gym/Gary Spearow.xml"/>


</monsters>

 

Tudo ai, mas não da pra Equipar Balls com Elder Zard nelas.

 

Alguém da uma Força?

 

Obrigaod.

Link para o comentário
Compartilhar em outros sites

Dentro do bloco de notas do go/back coloque isso dentro

 

function onUse(cid, item, fromPosition, itemEx, toPosition)

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Pokeball')

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

----- Config -----

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

 

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "DiePoke")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, poke_name .. " eu escolho você!!")

doSendMagicEffect(getCreaturePosition(creature), 188)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2531, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

else

for _, pid in ipairs(summons) do

if (table.maxn(summons) >= 1) then

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 188)

doPlayerSay(cid,"Back, "..poke_name.."")

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

end

end

end

return true

end

 

 

 

 

REP++++

Link para o comentário
Compartilhar em outros sites

Vai no ot/data/actions/go/back

 

e coloque isso dentro

 

 

function onUse(cid, item, fromPosition, itemEx, toPosition)

function getPokemonMaxLife(name)

local file = io.open('data/monster/monsters.xml','r')

local arquivo = file:read(-1):lower():match('<monster name="'..name:lower()..'" file="(.-)"/>')

file:close()

local data = io.open('data/monster/'..(arquivo or ''),'r')

if not data then

return 100

end

local maximo = data:read(-1):match('max%s*=%s*"(%d+)"')

data:close()

return maximo

end

----- Config -----

local MaximoSummon = 1

local nome = getItemName(item.uid)

local poke_name = nome:match('(.-) Pokeball')

local summons = getCreatureSummons(cid)

local action_id = getItemAttribute(item.uid, "aid")

----- Config -----

if getItemAttribute(item.uid, "aid") == -1 then

return doPlayerSendCancel(cid, "Your Pokemon Is Dead.")

end

 

if getPlayerStorageValue(cid, 25000) == 5 then

return doPlayerSendCancel(cid, "You are riding.")

end

if getPlayerStorageValue(cid, 23000) == 5 then

return doPlayerSendCancel(cid, "You are flying.")

end

local summons = getCreatureSummons(cid)

if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid then

doPlayerSendCancel(cid, "Sorry, you must put your pokeball in the pokeball place.")

return TRUE

end

if(table.maxn(summons) < MaximoSummon) then -- no summons

creature = doSummonCreature(poke_name, getCreaturePosition(cid))

doConvinceCreature(cid, creature)

registerCreatureEvent(creature, "DiePoke")

registerCreatureEvent(cid, "PlayerPokeDeath")

registerCreatureEvent(cid, "LogoutPoke")

doPlayerSay(cid, poke_name .. " eu escolho você!!")

doSendMagicEffect(getCreaturePosition(creature), 188)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2531, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

if action_id ~= 0 then

doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(poke_name) - action_id)))

else

doCreatureAddHealth(creature, getPokemonMaxLife(poke_name))

end

else

for _, pid in ipairs(summons) do

if (table.maxn(summons) >= 1) then

doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1]))

doSendMagicEffect(getCreaturePosition(getCreatureSummons(cid)[1]), 188)

doPlayerSay(cid,"Back, "..poke_name.."")

doRemoveCreature(pid)

doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1)

doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", poke_name .." Pokeball")

end

end

end

return true

end

 

 

 

REP ++

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...