Ir para conteúdo

[Talkaction]Evoluçao Pokemon Via Talkaction


caotic

Posts Recomendados

Bem gente muita gente queria esse sistema e a evoluçao por talkaction ou seja se voce tiver o level certo e falar a talk pronto seu pokemon evoluira

Crie um arquivo chamada evo.lua e colocque isso

 

 

 

 

local fotos = {

["Bulbasaur"] = {fotopoke = 2377},

["Ivysaur"] = {fotopoke = 2378},

["Venusaur"] = {fotopoke = 2379},

["Charmander"] = {fotopoke = 2380},

["Charmeleon"] = {fotopoke = 2381},

["Charizard"] = {fotopoke = 2382},

["Squirtle"] = {fotopoke = 2383},

["Wartortle"] = {fotopoke = 2384},

["Blastoise"] = {fotopoke = 2385},

["Caterpie"] = {fotopoke = 2386},

["Metapod"] = {fotopoke = 2387},

["Butterfree"] = {fotopoke = 2388},

["Weedle"] = {fotopoke = 2389},

["Kakuna"] = {fotopoke = 2390},

["Beedrill"] = {fotopoke = 2391},

["Pidgey"] = {fotopoke = 2392},

["Pidgeotto"] = {fotopoke = 2393},

["Pidgeot"] = {fotopoke = 2394},

["Rattata"] = {fotopoke = 2395},

["Raticate"] = {fotopoke = 2396},

["Spearow"] = {fotopoke = 2397},

["Fearow"] = {fotopoke = 2398},

["Ekans"] = {fotopoke = 2399},

["Arbok"] = {fotopoke = 2400},

["Pikachu"] = {fotopoke = 2401},

["Raichu"] = {fotopoke = 2402},

["Sandshrew"] = {fotopoke = 2403},

["Sandslash"] = {fotopoke = 2404},

["Nidoran Female"] = {fotopoke = 2405},

["Nidorina"] = {fotopoke = 2406},

["Nidoqueen"] = {fotopoke = 2407},

["Nidoran Male"] = {fotopoke = 2408},

["Nidorino"] = {fotopoke = 2409},

["Nidoking"] = {fotopoke = 2410},

["Clefairy"] = {fotopoke = 2411},

["Clefable"] = {fotopoke = 2412},

["Vulpix"] = {fotopoke = 2413},

["Ninetales"] = {fotopoke = 2414},

["Jigglypuff"] = {fotopoke = 2415},

["Wigglytuff"] = {fotopoke = 2416},

["Zubat"] = {fotopoke = 2417},

["Golbat"] = {fotopoke = 2418},

["Oddish"] = {fotopoke = 2419},

["Gloom"] = {fotopoke = 2420},

["Vileplume"] = {fotopoke = 2421},

["Paras"] = {fotopoke = 2422},

["Parasect"] = {fotopoke = 2423},

["Venonat"] = {fotopoke = 2424},

["Venomoth"] = {fotopoke = 2425},

["Diglett"] = {fotopoke = 2426},

["Dugtrio"] = {fotopoke = 2427},

["Meowth"] = {fotopoke = 2428},

["Persian"] = {fotopoke = 2429},

["Psyduck"] = {fotopoke = 2430},

["Golduck"] = {fotopoke = 2431},

["Mankey"] = {fotopoke = 2432},

["Primeape"] = {fotopoke = 2433},

["Growlithe"] = {fotopoke = 2434},

["Arcanine"] = {fotopoke = 2435},

["Poliwag"] = {fotopoke = 2436},

["Poliwhirl"] = {fotopoke = 2437},

["Poliwrath"] = {fotopoke = 2438},

["Abra"] = {fotopoke = 2439},

["Kadabra"] = {fotopoke = 2440},

["Alakazam"] = {fotopoke = 2441},

["Machop"] = {fotopoke = 2442},

["Machoke"] = {fotopoke = 2443},

["Machamp"] = {fotopoke = 2444},

["Bellsprout"] = {fotopoke = 2445},

["Weepinbell"] = {fotopoke = 2446},

["Victreebel"] = {fotopoke = 2447},

["Tentacool"] = {fotopoke = 2448},

["Tentacruel"] = {fotopoke = 2449},

["Geodude"] = {fotopoke = 2450},

["Graveler"] = {fotopoke = 2451},

["Golem"] = {fotopoke = 2452},

["Ponyta"] = {fotopoke = 2453},

["Rapidash"] = {fotopoke = 2454},

["Slowpoke"] = {fotopoke = 2455},

["Slowbro"] = {fotopoke = 2456},

["Magnemite"] = {fotopoke = 2457},

["Magneton"] = {fotopoke = 2458},

["Farfetchd"] = {fotopoke = 2459},

["Doduo"] = {fotopoke = 2460},

["Dodrio"] = {fotopoke = 2461},

["Seel"] = {fotopoke = 2462},

["Dewgong"] = {fotopoke = 2463},

["Grimer"] = {fotopoke = 2464},

["Muk"] = {fotopoke = 2465},

["Shellder"] = {fotopoke = 2466},

["Cloyster"] = {fotopoke = 2467},

["Gastly"] = {fotopoke = 2468},

["Haunter"] = {fotopoke = 2469},

["Gengar"] = {fotopoke = 2470},

["Onix"] = {fotopoke = 2471},

["Drowzee"] = {fotopoke = 2472},

["Hypno"] = {fotopoke = 2473},

["Krabby"] = {fotopoke = 2474},

["Kingler"] = {fotopoke = 2475},

["Voltorb"] = {fotopoke = 2476},

["Electrode"] = {fotopoke = 2477},

["Exeggcute"] = {fotopoke = 2478},

["Exeggutor"] = {fotopoke = 2479},

["Cubone"] = {fotopoke = 2480},

["Marowak"] = {fotopoke = 2481},

["Hitmonlee"] = {fotopoke = 2482},

["Hitmonchan"] = {fotopoke = 2483},

["Lickitung"] = {fotopoke = 2484},

["Koffing"] = {fotopoke = 2485},

["Weezing"] = {fotopoke = 2486},

["Rhyhorn"] = {fotopoke = 2487},

["Rhydon"] = {fotopoke = 2488},

["Chansey"] = {fotopoke = 2489},

["Tangela"] = {fotopoke = 2490},

["Kangaskhan"] = {fotopoke = 2491},

["Horsea"] = {fotopoke = 2492},

["Seadra"] = {fotopoke = 2493},

["Goldeen"] = {fotopoke = 2494},

["Seaking"] = {fotopoke = 2495},

["Staryu"] = {fotopoke = 2496},

["Starmie"] = {fotopoke = 2497},

["Mr Mime"] = {fotopoke = 2498},

["Scyther"] = {fotopoke = 2499},

["Jynx"] = {fotopoke = 2500},

["Electabuzz"] = {fotopoke = 2501},

["Magmar"] = {fotopoke = 2502},

["Pinsir"] = {fotopoke = 2503},

["Tauros"] = {fotopoke = 2504},

["Magikarp"] = {fotopoke = 2505},

["Gyarados"] = {fotopoke = 2506},

["Lapras"] = {fotopoke = 2507},

["Ditto"] = {fotopoke = 2508},

["Eevee"] = {fotopoke = 2509},

["Vaporeon"] = {fotopoke = 2510},

["Jolteon"] = {fotopoke = 2511},

["Flareon"] = {fotopoke = 2512},

["Porygon"] = {fotopoke = 2513},

["Omanyte"] = {fotopoke = 2514},

["Omastar"] = {fotopoke = 2515},

["Kabuto"] = {fotopoke = 2516},

["Kabutops"] = {fotopoke = 2517},

["Aerodactyl"] = {fotopoke = 2518},

["Snorlax"] = {fotopoke = 2519},

["Articuno"] = {fotopoke = 2520},

["Zapdos"] = {fotopoke = 2521},

["Moltres"] = {fotopoke = 2522},

["Dratini"] = {fotopoke = 2523},

["Dragonair"] = {fotopoke = 2524},

["Dragonite"] = {fotopoke = 2525},

["Mewtwo"] = {fotopoke = 2526},

["Mew"] = {fotopoke = 2527},

["Elder Charizard"] = {fotopoke = 2528},

["Crystal Onix"] = {fotopoke = 2529},

["Shiny Charizard"] = {fotopoke = 2528},

["ShinyMagikarp"] = {fotopoke = 102},

["ShinyRattata"] = {fotopoke = 107},

["ShinyOddish"] = {fotopoke = 111},

["ShinyZubat"] = {fotopoke = 112},

["ShinyParas"] = {fotopoke = 113},

["ShinyAbra"] = {fotopoke = 145},

["Shiny Arcanine"] = {fotopoke = 146},

["Shiny Venomoth"] = {fotopoke = 147},

["Shiny Raichu"] = {fotopoke = 148},

["Elite Hitmonchan"] = {fotopoke = 149},

["Elite Hitmonlee"] = {fotopoke = 150},

["ShinyVoltorb"] = {fotopoke = 151},

["ShinyHorsea"] = {fotopoke = 152},

["Shiny Tentacruel"] = {fotopoke = 153},

["ShinyGrowlithe"] = {fotopoke = 154},

["ShinyVenonat"] = {fotopoke = 155},

["Shiny Blastoise"] = {fotopoke = 156},

["Shiny Raticate"] = {fotopoke = 157},

["Shiny Electrode"] = {fotopoke = 158},

["ShinyDratini"] = {fotopoke = 159},

["Shiny Electabuzz"] = {fotopoke = 160},

["Shiny Kingler"] = {fotopoke = 161},

["Shiny Muk"] = {fotopoke = 162},

["ShinyTentacool"] = {fotopoke = 163},

["Shiny Seadra"] = {fotopoke = 164},

["Shiny Parasect"] = {fotopoke = 165},

["Shiny Beedril"] = {fotopoke = 166},

["Shiny Gyarados"] = {fotopoke = 167},

["Shiny Scyther"] = {fotopoke = 168},

["Shiny Jynx"] = {fotopoke = 169},

["ShinyKrabby"] = {fotopoke = 170},

["ShinyGrimer"] = {fotopoke = 171},

["Shiny Farfetchd"] = {fotopoke = 172},

["Shiny Butterfree"] = {fotopoke = 173},

["Shiny Venusaur"] = {fotopoke = 174},

}

local pokes = {

["Bulbasaur"] = {level = 40, evolution = "Ivysaur", maxh = 2900, count = 0, stoneid = 0, stoneid2 = 0},

["Ivysaur"] = {level = 85, evolution = "Venusaur", maxh = 5200, count = 0, stoneid = 0, stoneid2 = 0},

["Charmander"] = {level = 40, evolution = "Charmeleon", maxh = 2900, count = 0, stoneid = 0, stoneid2 = 0},

["Charmeleon"] = {level = 85, evolution = "Charizard", maxh = 5200, count = 0, stoneid = 0, stoneid2 = 0},

["Squirtle"] = {level = 40, evolution = "Wartortle", maxh = 2900, count = 0, stoneid = 0, stoneid2 = 0},

["Wartortle"] = {level = 85, evolution = "Blastoise", maxh = 5200, count = 0, stoneid = 0, stoneid2 = 0},

["Caterpie"] = {level = 15, evolution = "Metapod", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Metapod"] = {level = 30, evolution = "Butterfree", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Weedle"] = {level = 15, evolution = "Kakuna", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Kakuna"] = {level = 25, evolution = "Beedrill", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Pidgey"] = {level = 20, evolution = "Pidgeotto", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Pidgeotto"] = {level = 65, evolution = "Pidgeot", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Rattata"] = {level = 25, evolution = "Raticate", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Spearow"] = {level = 50, evolution = "Fearow", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Ekans"] = {level = 35, evolution = "Arbok", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Pikachu"] = {level = 50, evolution = "Raichu", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Sandshrew"] = {level = 55, evolution = "Sandslash", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Nidoran Female"] = {level = 30, evolution = "Nidorina", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Nidorina"] = {level = 65, evolution = "Nidoqueen", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Nidoran Male"] = {level = 30, evolution = "Nidorino", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Nidorino"] = {level = 65, evolution = "Nidoking", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Clefairy"] = {level = 45, evolution = "Clefable", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Vulpix"] = {level = 70, evolution = "Ninetales", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Jigglypuff"] = {level = 45, evolution = "Wigglytuff", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Zubat"] = {level = 35, evolution = "Golbat", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Oddish"] = {level = 25, evolution = "Gloom", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Gloom"] = {level = 50, evolution = "Vileplume", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Paras"] = {level = 50, evolution = "Parasect", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Venonat"] = {level = 50, evolution = "Venomoth", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Diglett"] = {level = 35, evolution = "Dugtrio", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Meowth"] = {level = 30, evolution = "Persian", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Psyduck"] = {level = 55, evolution = "Golduck", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Mankey"] = {level = 50, evolution = "Primeape", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Growlithe"] = {level = 80, evolution = "Arcanine", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Poliwag"] = {level = 25, evolution = "Poliwhirl", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Poliwhirl"] = {level = 65, evolution = "Poliwrath", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Abra"] = {level = 45, evolution = "Kadabra", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Kadabra"] = {level = 80, evolution = "Alakazam", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Machop"] = {level = 45, evolution = "Machoke", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Machoke"] = {level = 70, evolution = "Machamp", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Bellsprout"] = {level = 25, evolution = "Weepinbell", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Weepinbell"] = {level = 50, evolution = "Victreebel", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Tentacool"] = {level = 75, evolution = "Tentacruel", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Geodude"] = {level = 40, evolution = "Graveler", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Graveler"] = {level = 70, evolution = "Golem", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Ponyta"] = {level = 55, evolution = "Rapidash", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Slowpoke"] = {level = 45, evolution = "Slowbro", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Magnemite"] = {level = 40, evolution = "Magneton", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Doduo"] = {level = 45, evolution = "Dodrio", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Seel"] = {level = 65, evolution = "Dewgong", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Grimer"] = {level = 45, evolution = "Muk", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Shellder"] = {level = 60, evolution = "Cloyster", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Gastly"] = {level = 45, evolution = "Haunter", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Haunter"] = {level = 80, evolution = "Gengar", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Drowzee"] = {level = 55, evolution = "Hypno", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Krabby"] = {level = 40, evolution = "Kingler", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Voltorb"] = {level = 35, evolution = "Electrode", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Exeggcute"] = {level = 55, evolution = "Exeggutor", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Cubone"] = {level = 55, evolution = "Marowak", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Koffing"] = {level = 35, evolution = "Weezing", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Rhyhorn"] = {level = 75, evolution = "Rhydon", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Horsea"] = {level = 45, evolution = "Seadra", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Goldeen"] = {level = 35, evolution = "Seaking", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Staryu"] = {level = 15, evolution = "Starmie", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Magikarp"] = {level = 85, evolution = "Gyarados", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Omanyte"] = {level = 80, evolution = "Omastar", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Kabuto"] = {level = 80, evolution = "Kabutops", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Dratini"] = {level = 60, evolution = "Dragonair", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Dragonair"] = {level = 100, evolution = "Dragonite", maxh = 1400, count = 0, stoneid = 0, stoneid2 = 0},

["Hitmonlee"] = {level = 100, evolution = "Elite Hitmonlee", maxh = 16500, count = 0, stoneid = 0, stoneid2 = 0},

["Hitmonchan"] = {level = 100, evolution = "Elite Hitmonchan", maxh = 17500, count = 0, stoneid = 0, stoneid2 = 0},

['ShinyMagikarp'] = {level = 120, evolution = "Shiny Gyarados", maxh = 18000, count = 0, stoneid = 0, stoneid2 = 0},

}

 

function onSay(cid, words, param, channel)

if #getCreatureSummons(cid) == 0 then

doPlayerSendCancel(cid, "You need a pokemon.")

return true

end

setPlayerStorageValue(cid,12466,getCreatureName(getCreatureSummons(cid)[1]))

setPlayerStorageValue(cid,12468,getThingPos(getCreatureSummons(cid)[1]))

local monster = getPlayerStorageValue(cid, 12466)

setPlayerStorageValue(cid, 61209, getCreatureMaxHealth(getCreatureSummons(cid)[1]))

setPlayerStorageValue(cid, 61210, getCreatureHealth(getCreatureSummons(cid)[1]))

local sle = pokes[monster].evolution

local levell = pokes[monster].level

local evo = pokes[monster].evolution

local pkcmpos = getThingPos(getCreatureSummons(cid)[1])

if pokes[monster] then

local pk = getCreatureSummons(cid)[1]

if getPlayerLevel(cid) < pokes[monster].level then

return doPlayerSendCancel(cid, " ")

end

doPlayerSendTextMessage(cid,27, "O que meu "..monster.." esta evoluindo." )

doRemoveCreature(getCreatureSummons(cid)[1])

local pokeball = getPlayerSlotItem(cid, 8)

local description = "Contains a "..evo.."."

doItemSetAttribute(pokeball.uid, "poke", "This is "..evo.."'s pokeball. HP = ["..pokes[monster].maxh.."/"..pokes[monster].maxh.."]")

doItemSetAttribute(pokeball.uid, "description", "Contains a "..evo.." Level "..getPlayerLevel(cid)..".")

pk = doSummonCreature(getItemAttribute(pokeball.uid, "poke"):match("This is (.-)'s pokeball."), pkcmpos)

doConvinceCreature(cid, pk)

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

setCreatureMaxHealth(pk, (getPlayerStorageValue(cid, 61209)))

doCreatureAddHealth(pk, (getPlayerStorageValue(cid, 61209)))

doCreatureAddHealth(pk, (getPlayerStorageValue(cid, 61210))-(getPlayerStorageValue(cid, 61209)))

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

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

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

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

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

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

doPlayerSendTextMessage(cid,27, "Meu "..monster.." evoluiu para um "..evo.."." )

registerCreatureEvent(pk, "DiePoke")

registerCreatureEvent(pk, "Exp")

return TRue

 

end

return FALSE

end

 

 

 

 

 

Crie uma tag no talkaction assim:

 

 

<talkaction words="/evolve" case-sensitive="no" event="script" value="evo.lua"/>

 

 

 

Bem e isso e so falar /evolve e se o player estiver level certo booow evolui o pokemon XD

 

 

Script feito por minha autoria

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

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...