Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Fala ai galera tudo beleza? então hoje venho compartilhar com vocês o sistema de TM , é bem diferente das quais já temos aqui no tk , ela é bem facil de se editar , então sem mais delongas vamos para  o tutorial + o script xD.

 

1° - Criar um arquivo em data/actions/scripts chamado de :tm.lua , e coloque tudo isso aqui dentro do script \/

idTM = {


[12595] = {tm = "Waterball"},
[12596] = {tm = "Dragon Claw"},
[12597] = {tm = "Water Pulse"},
[12598] = {tm = "Hypnosis"},
[12599] = {tm = "Scary Face"},
[12600] = {tm = "Poison Gas"},
[12601] = {tm = "Draco Meteor"},
[12602] = {tm = "Inferno"},
[12603] = {tm = "Bullet Seed"},
[12604] = {tm = "Rock Blast"},
[12605] = {tm = "Red Fury"},
[12606] = {tm = "Pin Missile"},
[12607] = {tm = "Ice Beam"},
[12608] = {tm = "Blizzard"},
[12609] = {tm = "Hyper Beam"},
[12610] = {tm = "Ancient Power"},
[12611] = {tm = "Power Gem"},
[12612] = {tm = "Aromateraphy"},
[12613] = {tm = "Giga Drain"},
[12614] = {tm = "Tornado"},
[12615] = {tm = "Air Slash"},
[12616] = {tm = "Leaf Blade"},
[12617] = {tm = "Meteor Smash"},
[12618] = {tm = "Thunder Bolt"},
[12619] = {tm = "Thunder"},
[12620] = {tm = "Earthquake"},
[12621] = {tm = "Dark Pulse"},
[12622] = {tm = "X-Scissor"},
[12623] = {tm = "Psychic"},
[12624] = {tm = "Shadow Ball"},
[12625] = {tm = "Rest"},
[12626] = {tm = "Tri-Attack"},
[12627] = {tm = "Reflect"},
[12628] = {tm = "Healarea"},
[12629] = {tm = "Magma Storm"},
[12630] = {tm = "Fire Blast"},
[12631] = {tm = "Rock Throw"},
[12632] = {tm = "War Dog"},
[12633] = {tm = "Icy Wind"},
[12634] = {tm = "Hydropump"},
[12635] = {tm = "Confusion"},
[12636] = {tm = "Stomp"},
[12637] = {tm = "Selfheal"},
[12638] = {tm = "Restore"},
[12639] = {tm = "Absorb"},
[12640] = {tm = "Metronome"},
[12641] = {tm = "Leaf Blade"},
[12642] = {tm = "Confuse Ray"},
[12643] = {tm = "Eruption"},
[12644] = {tm = "Razor Leaf"},


}

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

if not idTM[item.itemid] then return false end
if not isPokeball(item2.itemid) then return false end
TM = idTM[item.itemid]
List = tmList[TM.tm]
if not isInArray(List.pokes, getItemAttribute(item2.uid, "poke")) then
doPlayerSendCancel(cid, "This pokemon don\'t learn "..TM.tm.."!")
return false
end
ID = 1
Have = "not"
Slot = ""
if haveFirstTM(item2) then
if getFirstTMName(item2) == TM.tm then
Have = "yes"
end
ID = ID + 1
end
if haveSecondTM(item2) then
if getSecondTMName(item2) == TM.tm then
Have = "yes"
end
ID = ID + 1
end
if haveThirdTM(item2) then
if getThirdTMName(item2) == TM.tm then
Have = "yes"
end
ID = ID + 1
end
if Have == "yes" then
doPlayerSendCancel(cid, "This pokemon have learned this TM!")
return false
end
if ID == 1 then
Slot = "First"
elseif ID == 2 then
Slot = "Second"
elseif ID == 3 then
Slot = "Third"
end
if haveAllTMs(item2) or ID == 4 or Slot == "" then
doPlayerSendCancel(cid, "This pokemon have number max of TMs!")
return false
end

addTM(item2, TM.tm, ID)
doRemoveItem(item.uid, 1)
doPlayerSendTextMessage(cid, 22, ""..getItemAttribute(item2.uid, "poke").." learn "..TM.tm.." on "..Slot.." Slot!")
return true
end

 

Em todos os numeros dentro de [ ] colocar o id da sua tm ,  vamos agora para o próximo passo .

 

vá em data/lib e cria um arquivo chamado de : tm lib.lua , e dentro dele cole isso aqui \/ :

 

 

tmList = {


["Waterball"] = {number = 01, level = 1, cd = 20, dist = 5, target = 1, f = 65, t = "water", pokes = {"Wartortle", "Blastoise", "Golduck", "Tentacruel", "Slowbro", "Kingler", "Seadra", "Seaking", "Starmie", "Jynx", "Vaporeon", "Omastar", "Croconaw", "Feraligatr", "Azulmarill", "Politoed", "Mantine", "Sneasel", "Delibird", "Slugma", "Smoochum"}},
["Dragon Claw"] = {number = 02, level = 1, cd = 20, dist = 1, target = 1, f = 60, t = "dragon", pokes = {"Sandslash", "Nidoqueen", "Nidoking", "Rhydon", "Kangaskhan", "Magmar", "Croconaw", "Feraligatr", "Gligar", "Sneasel", "Ursaring", "Tyranitar"}},
["Water Pulse"] = {number = 03, level = 1, cd = 20, dist = 1, target = 1, f = 70, t = "dragon", pokes = {"Squirtle", "Wartortle", "Blastoise", "Nidoran Female", "Nidoqueen", "Nidoran Male", "Nidoking", "Clefairy", "Clefable", "Jigglypuff", "Wigglytuff", "Meowth", "Persian", "Psyduck", "Poliwag", "Poliwhirl", "Poliwharth", "Shiny Tentacool", "Shiny Tentacruel", "Kangaskhan", "Shiny Seadra", "Jynx", "Shiny Jynx", "Shiny Gyarados", "Gyarados", "Lapras", "Omastar", "Kabuto", "Kabutops", "Snorlax", "Shiny Snorlax", "Dratini", "Shiny Dratini", "Dragonair", "Shiny Dragonair", "Dragonite", "Shiny Dragonite", "Politoed", "Mantine", "Kingdra", "Blissey", "Miltank", "Tyranitar"}},
["Hypnosis"] = {number = 04, level = 1, cd = 20, dist = 8, target = 1, f = 0, t = "psychic", pokes = {"Golduck", "Mr.Mime", "Starmie", "Jynx", "Shiny Jynx", "Togetic", "Girafarig", "Porygon2", "Lapras"}},
["Scary Face"] = {number = 05, level = 1, cd = 20, dist = 5, target = 0, f = 0, t = "psychic", pokes = {"Venusaur", "Charizard", "Blastoise", "Raticate", "Nidoqueen", "Nidoking", "Golem", "Onix", "Rhydon", "Kangaskhan", "Vaporeon", "Jolteon", "Flareon", "Snorlax", "Dragonite", "Shiny Dragonite", "Shiny Snorlax", "Shiny Onix", "Steelix", "Ursaring", "Tyranitar", "Shiny Blastoise", "Shiny Vaporeon", "Shiny Jolteon", "Shiny Flareon"}},
["Poison Gas"] = {number = 06, level = 1, cd = 20, dist = 3, target = 0, f = 5, t = "poison", pokes = {"Ivysaur", "Venusaur", "Beedrill", "Victreebel", "Tentacrueel", "Shiny Tentacrueel", "Muk", "Shiny Muk", "Pinsir", "Shiny Pinsir", "Ariados", "Shiny Venusaur", "Shiny Beedril"}},
["Draco Meteor"] = {number = 07, level = 1, cd = 20, dist = 3, target = 0, f = 90, t = "dragon", pokes = {"Charizard", "Gyarados", "Aerodactyl", "Dragonair", "Dragonite", "Steelix", "Kingdra", "Shiny Charizard", "Shiny Gyarados", "Shiny Dragonair", "Shiny Dragonite"}},
["Inferno"] = {number = 08, level = 1, cd = 20, dist = 2, target = 1, f = 110, t = "fire", pokes = {"Charizard", "Nitetales", "Arcanine", "Rapidash", "Magmar", "Flareon", "Shiny Flareon", "Shiny Charizard"}},
["Bullet Seed"] = {number = 09, level = 1, cd = 20, dist = 3, target = 1, f = 95, t = "grass", pokes = {"Vileplume", "Parasect", "Victreebel", "Exeggutor", "Tangela", "bayleef", "Meganium", "Bellossom", "Shiny Vileplume", "Shiny Parasect", "Shiny Tanegela"}},
["Rock Blast"] = {number = 10, level = 1, cd = 20, dist = 2, target = 1, f = 90, t = "rock", pokes = {"Sandslash", "dugtrio", "Golem", "Onix", "Cubone", "Omastar", "Kabutops", "Aerodactyl", "Steelix", "Tyranitar", "sudowoodo", "Shiny Onix", "Shiny Cubone", "Marowak", "Shiny Marowak"}},
["Red Fury"] = {number = 11, level = 1, cd = 20, dist = 2, target = 0, f = 35, t = "bug", pokes = {"Raticate", "Shiny Raticate", "Arbok", "Tauros", "Hitmontop", "Shiny Fearow", "Fearow"}},
["Pin Missile"] = {number = 12, level = 1, cd = 20, dist = 2, target = 0, f = 80, t = "bug", pokes = {"Butterfree", "Beedril", "Parasect", "Venomoth", "Scyther", "Pinsir", "Ariados", "Pineco", "Scizor", "Heracross", "Shiny Butterfree", "Shiny Beedril", "Shiny Parasect", "Shiny Venomoth", "Shiny Scyther", "Shiny Pinsir"}},
["Ice Beam"] = {number = 13, level = 1, cd = 20, dist = 2, target = 0, f = 95, t = "ice", pokes = {"Wartortle", "Blastoise", "Clefable", "Wigglytuff", "Tentacruel", "Kingler", "Chansey", "Seadra", "Gyarados", "Vaporeon", "Porygon", "Omastar", "Kabutops", "Dratini", "Dragonair", "Dragonite", "Togetic", "Kingdra", "Jynx", "Shiny Jynx", "Miltank", "Blissey", "Tyranitar", "Shiny Blastoise", "Shiny Tentacruel", "Shiny Kingler", "Shiny Seadra", "Shiny Gyarados", "Shiny Vaporeon", "Shiny Dratini", "Shiny Dragonair", "Shiny Dragonite"}},
["Blizzard"] = {number = 14, level = 1, cd = 20, dist = 2, target = 0, f = 100, t = "ice", pokes = {"Wartortle", "Blastoise", "Clefable", "Wigglytuff", "Tentacruel", "Kingler", "Chansey", "Seadra", "Gyarados", "Vaporeon", "Porygon", "Omastar", "Kabutops", "Dratini", "Dragonair", "Dragonite", "Togetic", "Kingdra", "Jynx", "Shiny Jynx", "Miltank", "Blissey", "Tyranitar", "Shiny Blastoise", "Shiny Tentacruel", "Shiny Kingler", "Shiny Seadra", "Shiny Gyarados", "Shiny Vaporeon", "Shiny Dratini", "Shiny Dragonair", "Shiny Dragonite"}},
["Hyper Beam"] = {number = 15, level = 1, cd = 20, dist = 5, target = 0, f = 100, t = "normal", pokes = {"Venusaur", "Charizard", "Blastoise", "Raticate", "Nidoqueen", "Nidoking", "Golem", "Onix", "Rhydon", "Kangaskhan", "Vaporeon", "Jolteon", "Flareon", "Snorlax", "Dragonite", "Shiny Dragonite", "Shiny Snorlax", "Shiny Onix", "Steelix", "Ursaring", "Tyranitar", "Shiny Blastoise", "Shiny Vaporeon", "Shiny Jolteon", "Shiny Flareon", "Raichu", "Shiny Raichu", "Scizor", "Scyther", "Shiny Scyther", "Lapras", "Chansey", "Blissey", "Alakazam", "Shiny Alakazam", "Gengar", "Shiny Gengar", "Pidgeot", "Shiny Pidgeot"}},
["Ancient Power"] = {number = 16, level = 1, cd = 20, dist = 2, target = 0, f = 100, t = "rock", pokes = {"Sandslash", "dugtrio", "Golem", "Onix", "Cubone", "Omastar", "Kabutops", "Aerodactyl", "Steelix", "Tyranitar", "sudowoodo", "Shiny Onix", "Shiny Cubone", "Marowak", "Shiny Marowak", "Tyranitar", "Tangela", "Shiny Tangela"}},
["Power Gem"] = {number = 17, level = 1, cd = 20, dist = 2, target = 1, f = 90, t = "rock", pokes = {"Magneton", "Rhydon", "Omastar", "Steelix", "Scizor", "Tyranitar", "Electrode", "Shiny Electrode"}},
["Aromateraphy"] = {number = 18, level = 1, cd = 20, dist = 2, target = 1, f = 80, t = "grass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank"}},
["Giga Drain"] = {number = 19, level = 1, cd = 20, dist = 2, target = 1, f = 80, t = "grass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank"}},
["Tornado"] = {number = 20, level = 1, cd = 20, dist = 2, target = 0, f = 80, t = "grass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Air Slash"] = {number = 21, level = 1, cd = 20, dist = 2, target = 1, f = 75, t = "flying", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Leaf Blade"] = {number = 22, level = 1, cd = 20, dist = 2, target = 0, f = 50, t = "gass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Meteor Smash"] = {number = 23, level = 1, cd = 20, dist = 2, target = 0, f = 65, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Thunder Bolt"] = {number = 24, level = 1, cd = 20, dist = 2, target = 1, f = 33, t = "eletric", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Thunder"] = {number = 25, level = 1, cd = 20, dist = 2, target = 0, f = 100, t = "eletric", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Earthquake"] = {number = 26, level = 1, cd = 20, dist = 2, target = 1, f = 10, t = "ground", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Dark Pulse"] = {number = 27, level = 1, cd = 20, dist = 2, target = 1, f = 35, t = "dark", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["X-Scissor"] = {number = 28, level = 1, cd = 20, dist = 2, target = 0, f = 65, t = "bug", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Psychic"] = {number = 29, level = 1, cd = 20, dist = 2, target = 0, f = 90, t = "psychic", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Shadow Ball"] = {number = 30, level = 1, cd = 20, dist = 2, target = 1, f = 60, t = "ghost", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Rest"] = {number = 31, level = 1, cd = 20, dist = 2, target = 1, f = 0, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Tri-Attack"] = {number = 32, level = 1, cd = 20, dist = 2, target = 1, f = 25, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Reflect"] = {number = 33, level = 1, cd = 20, dist = 2, target = 0, f = 0, t = "psychic", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Healarea"] = {number = 34, level = 1, cd = 20, dist = 2, target = 1, f = 0, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Magma Storm"] = {number = 35, level = 1, cd = 20, dist = 2, target = 0, f = 95, t = "fire", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Fire Blast"] = {number = 36, level = 1, cd = 20, dist = 2, target = 0, f = 125, t = "fire", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Rock Throw"] = {number = 37, level = 1, cd = 20, dist = 2, target = 1, f = 55, t = "rock", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["War Dog"] = {number = 38, level = 1, cd = 20, dist = 2, target = 1, f = 0, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Icy Wind"] = {number = 39, level = 1, cd = 20, dist = 2, target = 1, f = 45, t = "ice", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Hydropump"] = {number = 40, level = 1, cd = 20, dist = 2, target = 0, f = 125, t = "water", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Confusion"] = {number = 41, level = 1, cd = 20, dist = 2, target = 0, f = 50, t = "psychic", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Stomp"] = {number = 42, level = 1, cd = 20, dist = 2, target = 1, f = 90, t = "ground", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Selfheal"] = {number = 43, level = 1, cd = 20, dist = 2, target = 0, f = 0, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Restore"] = {number = 44, level = 1, cd = 20, dist = 2, target = 0, f = 0, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Absorb"] = {number = 45, level = 1, cd = 20, dist = 2, target = 1, f = 40, t = "grass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Metronome"] = {number = 46, level = 1, cd = 20, dist = 2, target = 0, f = 0, t = "normal", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Leaf Blade"] = {number = 47, level = 1, cd = 20, dist = 2, target = 0, f = 50, t = "grass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Confuse Ray"] = {number = 48, level = 1, cd = 20, dist = 2, target = 1, f = 65, t = "ghost", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Eruption"] = {number = 49, level = 1, cd = 20, dist = 2, target = 1, f = 75, t = "fire", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
["Razor Leaf"] = {number = 50, level = 1, cd = 20, dist = 2, target = 0, f = 33, t = "grass", pokes = {"Venusaur", "Butterfree", "Arbok", "Golbat", "Vileplume", "Parasect", "Venomoth", "Victreebel", "Tentacruel", "Gengar", "Tangela", "Kabutosp", "Meganium", "Ariados", "Crobat", "Bellosom", "Miltank", "Scyther", "Shiny Scyther", "Alakazam", "Shiny Alakazam", "Jynx", "Shiny Jynx", "Shiny Dragonite", "Dragonite", "Dratini", "Shiny Dratini", "Gyarados", "Shiny Gyarados", "Pikachu", "Raichu", "Shiny Raichu", "Mew", "Shiny Mew", "Mewtwo", "Shiny Mewtwo", "Togetic", "Lapras", "Aerodactyl", "Scizor", "Mantine", "Blissey", "Chasey", "Blastoise", "Shiny Blastoise", "Arcanine", "Shiny Arcanine", "Lugia", "Magmar", "Ursaring", "Electabuzz", "Shiny Electabuzz"}},
}



function isTM(name)
if tmList[name] then
return true
end
return false
end

function haveFirstTM(item)
if not isPokeball(item.itemid) then return false end
if getItemAttribute(item.uid, "tm1") then
return true
end
return false
end
function getFirstTMName(item)
if haveFirstTM(item) then
return getItemAttribute(item.uid, "tm1")
end
return false
end

function haveSecondTM(item)
if not isPokeball(item.itemid) then return false end
if getItemAttribute(item.uid, "tm2") then
return true
end
return false
end
function getSecondTMName(item)
if haveSecondTM(item) then
return getItemAttribute(item.uid, "tm2")
end
return false
end

function haveThirdTM(item)
if not isPokeball(item.itemid) then return false end
if getItemAttribute(item.uid, "tm3") then
return true
end
return false
end
function getThirdTMName(item)
if haveThirdTM(item) then
return getItemAttribute(item.uid, "tm3")
end
return false
end

function haveAllTMs(item)
count = 0
if haveFirstTM(item) then
count = count + 1
end
if haveSecondTM(item) then
count = count + 1
end
if haveThirdTM(item) then
count = count + 3
end
if count == 3 then
return true
end
return false
end

function addTM(item, nameTM, id)
if not isPokeball(item.itemid) or not isTM(nameTM) then return false end
TM = ""
if id == 1 then
TM = "tm1"
elseif id == 2 then
TM = "tm2"
elseif id == 3 then
TM = "tm3"
end
if TM == "" then return false end
doItemSetAttribute(item.uid, TM, nameTM)
return true
end

 

 

agora vá em data/talkaction/script e abra o script move1.lua e apague tudo que contem lá dentro e cole o seguinte \/

 

local function getTXT(table, number, item)


local result = ""
if not table then return "" end
local cd = "move"..number..""
if getCD(item, cd) == 0 or getCD(item, cd) > table.cd + 1 then
result = "ready."
else
result = getCD(item, cd).." seconds."
end
local txt = "\n-"..table.name.." (m"..number.."): "..result..""
return txt
end

local function writeCD(str, item, mypoke)
local txt = str
local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke)
local move = movestable[name].move1
txt = txt..""..getTXT(move, 1, item)..""

move = movestable[name].move2
txt = txt..""..getTXT(move, 2, item)..""

move = movestable[name].move3
txt = txt..""..getTXT(move, 3, item)..""

move = movestable[name].move4
txt = txt..""..getTXT(move, 4, item)..""

move = movestable[name].move5
txt = txt..""..getTXT(move, 5, item)..""

move = movestable[name].move6
txt = txt..""..getTXT(move, 6, item)..""

move = movestable[name].move7
txt = txt..""..getTXT(move, 7, item)..""

move = movestable[name].move8
txt = txt..""..getTXT(move, 8, item)..""

move = movestable[name].move9
txt = txt..""..getTXT(move, 9, item)..""

move = movestable[name].move10
txt = txt..""..getTXT(move, 10, item)..""

move = movestable[name].move11
txt = txt..""..getTXT(move, 11, item)..""

move = movestable[name].move12
txt = txt..""..getTXT(move, 12, item)..""

move = movestable[name].move13
txt = txt..""..getTXT(move, 13, item)..""

move = movestable[name].move14
txt = txt..""..getTXT(move, 14, item)..""

move = movestable[name].move15
txt = txt..""..getTXT(move, 15, item)..""

if getItemAttribute(item.uid, "tm1") then
if getCD(item.uid, movem1) == 0 or getCD(item.uid, movem1) > tmList[getItemAttribute(item.uid, "tm1")].cd + 1 then
result = "ready."
else
result = getCD(item.uid, movem1).." seconds."
end
txt = txt.."\n-"..getItemAttribute(item.uid, "tm1").." (tm1): "..result..""
end

if getItemAttribute(item.uid, "tm2") then
if getCD(item.uid, movem2) == 0 or getCD(item.uid, movem2) > tmList[getItemAttribute(item.uid, "tm2")].cd + 1 then
result = "ready."
else
result = getCD(item.uid, movem2).." seconds."
end
txt = txt.."\n-"..getItemAttribute(item.uid, "tm2").." (tm2): "..result..""
end

if getItemAttribute(item.uid, "tm3") then
if getCD(item.uid, movem3) == 0 or getCD(item.uid, movem3) > tmList[getItemAttribute(item.uid, "tm3")].cd + 1 then
result = "ready."
else
result = getCD(item.uid, movem3).." seconds."
end
txt = txt.."\n-"..getItemAttribute(item.uid, "tm3").." (tm3): "..result..""
end
return txt
end

function onSay(cid, words, param, channel)


if param ~= "" then return true end
if string.len(words) > 3 then return true end

if #getCreatureSummons(cid) == 0 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to check cooldowns.")
return 0
end


local mypoke = getCreatureSummons(cid)[1]

if getCreatureName(mypoke) == "Ditto" then
if not isTransformed(mypoke) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your ditto needs to transform first.")
return true
end
end

local str = getCreatureName(mypoke).." moves:"
local item = getPlayerSlotItem(cid, 8).uid

str = writeCD(str, item, mypoke)

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str)
return true

end

 

 

agora em data/talkaction/talkaction.xml adicione o seguinte \/

<talkaction words="tm1" case-sensitive="no" event="script" value="move1.lua"/>
                <talkaction words="tm2" case-sensitive="no" event="script" value="move1.lua"/>
                <talkaction words="tm3" case-sensitive="no" event="script" value="move1.lua"/>

 

Fim do Tutorial <3 Bjão do Txu , espero que gostem vlw flw 

Meu Ultimo projeto em desenvolvimento!

 

http://www.tibiaking.com/forum/topic/47753-show-off-ultimo-projeto-para-download/

 

 

Grupo do facebook para OtServidores! (Divulgação + Criação de Equipe)

 

https://www.facebook.com/groups/otservidores/

 

Link para o post
Compartilhar em outros sites

Não sei se entende bem mais com essa scripting adicionaria um novo ataque no pokémon com o cd que no caso seria esses?

http://prntscr.com/45wwat 

 

["Waterball"] = {number = 01, level = 1, cd = 20, dist = 5, target = 1, f = 65, t = "water", pokes = {"Wartortle", "Blastoise", 

Em vermelho id do cd?certo?  :facepalm: 

Link para o post
Compartilhar em outros sites

Sim então , esse sistema adiciona mais 3 moves ao seu pokemon , agora tendo até o m15 mas ao invés de usar o m13 etc.. você terá que usar o tm1 , tm2 e tm3 para executar a tm adicionada ao seu pokémon. 

 

Não sei se entende bem mais com essa scripting adicionaria um novo ataque no pokémon com o cd que no caso seria esses?

http://prntscr.com/45wwat 

 

["Waterball"] = {number = 01, level = 1, cd = 20, dist = 5, target = 1, f = 65, t = "water", pokes = {"Wartortle", "Blastoise", 

Em vermelho id do cd?certo?  :facepalm: 

 

 

Não sei se entende bem mais com essa scripting adicionaria um novo ataque no pokémon com o cd que no caso seria esses?

http://prntscr.com/45wwat 

 

["Waterball"] = {number = 01, level = 1, cd = 20, dist = 5, target = 1, f = 65, t = "water", pokes = {"Wartortle", "Blastoise", 

Em vermelho id do cd?certo?  :facepalm: 

 

o CD ai seria o tempo até usar novamente o ataque .

Meu Ultimo projeto em desenvolvimento!

 

http://www.tibiaking.com/forum/topic/47753-show-off-ultimo-projeto-para-download/

 

 

Grupo do facebook para OtServidores! (Divulgação + Criação de Equipe)

 

https://www.facebook.com/groups/otservidores/

 

Link para o post
Compartilhar em outros sites

Sim então , esse sistema adiciona mais 3 moves ao seu pokemon , agora tendo até o m15 mas ao invés de usar o m13 etc.. você terá que usar o tm1 , tm2 e tm3 para executar a tm adicionada ao seu pokémon. 

 

 

 

 

o CD ai seria o tempo até usar novamente o ataque .

Certo vlw irei tentar aqui Reputado / Bem que poderia fazer um vídeo ou ate mesmo explicar melhor no tópico para outras pessoas que nem eu não terem mais duvidas posteriormente 

Link para o post
Compartilhar em outros sites

Sempre terá uma pessoa com duvida mesmo se o topico for excelente ou Não!

https://www.facebook.com/PokemonSkyLineBrasil?fref=ts

Meu Projeto

 

Futuros Post:

 

-Centurion Editado Open Source

-Dash 10.0

-Erondino v.18 Beta

-Erondino  v.18 Open source

 

Sistemas:

 

*Sistema de carro

*Sistema de teleport novo!

 

 

 

 

Link para o post
Compartilhar em outros sites

creditos seria bom né gabriel? voce n perdeu a mania de pegar os scripts dos outros e falar que é seu? quem compartilhou esse script foi eu, eu postei ele no tibiaking, então favor colocar os creditos (DinoAdmin)

Link para o post
Compartilhar em outros sites

Se fosse seu eu colocaria os creditos como não é 2 bjos ... 

Meu Ultimo projeto em desenvolvimento!

 

http://www.tibiaking.com/forum/topic/47753-show-off-ultimo-projeto-para-download/

 

 

Grupo do facebook para OtServidores! (Divulgação + Criação de Equipe)

 

https://www.facebook.com/groups/otservidores/

 

Link para o post
Compartilhar em outros sites

Participe da conversa

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

Visitante
Responder

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

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

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

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

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.


  • Conteúdo Similar

    • Por Bagon
      Bom, hoje venho trazer á vocês um sistema de Pet System DIFERENCIADO de alguns presentes no fórum. Este sistema tem diversos comandos diferenciados, como: 
       
      !pet nomedopet este comando irá sumonar o pet. 
      !remove irá remover o pet.
      !fale eu sou lindo o pet falará "eu sou lindo"
      !conversar o pet irá conversar com vc. 
       
      Então sem mais delongas vamos ao script.
       
      OBS: SCRIPT TESTADO SOMENTE EM TFS 0.4/0.3, e este script foi feito com a intenção de ser vendido no site do ot ou em poderá usar como quest usando o item selecionado como premio. fique ao seu critério.
       
      Primeiro vá até a pasta talkaction/script e crie um arquivo chamado petsystem.lua, depois coloque o seguinte script:
       
       
      Agora em talkactions/talkactions.xml adicione a seguinte tag:
       
      <talkaction words="!pet;!remove;!fale;!conversar" event="script" value="petsystem.lua" />  
      EXPLICAÇÂO:
      As partes em Negrito, são os pets. Você pode alterar ou criar monstros para fazer eles como pets. (Recomendo criar um monstro para que seja somente pet.)
       
      Exemplo: ["dog"]= {stor=78552},      
       
       
      Lembrando que é necessário mudar esta parte no script do monstro colocado a cima.
       
      <flag attackable="1" /> para :
       
      <flag attackable="0" />  
      agora vá em action/script e crie um arquivo chamado pet com o seguinte script:
       
       
      e vá em action.xml e adiciona a seguinte tag:
       
      <action itemid="10063" script="pet.lua"/> Explicação: Na tag da action o itemid é o item que deverá ser usado para ganhar a storage 78552, e assim podera sumonar o monstro com esta storage.
       
                                              
                                                         CRIE UMA ACTION COM A TAG A CIMA PARA CADA MONSTRO COLOCADO NA TALKACTION,
                                                         BASTA VC ALTERAR A STORAGE DO SCRIPT DA ACTION
                                                         EXEMPLO: em action altere as storage que estão em vermelho, como mostra abaixo
       
                                                              if getPlayerStorageValue(cid, 78552) < 1 then
                                                              setPlayerStorageValue(cid, 78552, 1)
       
                                                         aonde tem 78552 altere para 78553 que no caso é a storage do cyclops escolhido lá no script da talkaction
                                                         e assim susecivelmente.
       
       
       
      CREDITOS:
      Mulizeu
      Smartbox
      Bagon 
       
    • Por Imperius
      Olá, pessoal! Acabei encontrando um script que tinha feito a um tempo atrás. Estou compartilhando aqui para quem quiser usar ou melhorar.
       
      É bem parecido com os outros sistemas de roleta, igual deste tópico: https://tibiaking.com/forums/topic/101557-action-cassino-roleta-de-items/
       
      Como funciona?
       
      O "Treasure Chest" é um item custom, onde o jogador têm a possibilidade de ganhar itens raros ou bem meia boca. Tudo dependerá da sorte.
       
      O jogador precisa tacar o treasure chest na bancada e acionar a alavanca. O treasure chest irá se transformar em vários itens de forma randômica no qual o jogador poderá ou não ganhar. No final, apenas um item é entregue ao jogador.
       
      Para entender melhor o seu funcionamento, segue o GIF abaixo:
       

       
       
      em data > actions > actions.xml
       
       
      em data > actions > scripts > crie um arquivo chamado leverTreasureChest.lua
       
       
      no banco de dados do servidor, adicione o seguinte código em "SQL":
       
       
       

      Também estou disponibilizando uma página PHP, para quem quiser usar no site do servidor. Na página tem informações sobre o funcionamento, quais são os possíveis prêmios e a lista de jogadores que ganharam os itens raros.
       

       
       
      Espero ter ajudado de alguma forma! : )
       
      treasure_chest.php
    • Por chateadoagr
      Servidor baseado em jogos e series: Resident Evil, TWD, Jurassic World, Jurassic Park, entre outros.
       
      O Inicio:
      Em 1993, em uma ilha remota, um rico empresário monta um parque temático com dinossauros vivos, criados a partir de DNA pré-histórico. Antes de abri-lo ao público, ele convida um conceituado paleontologista e sua namorada paleobotânica, um renomado matemático e também seus dois netos para conhecerem o parque - e ajudarem a acalmar investidores ansiosos. Mas a visita não é nem um pouco tranquila, já que os predadores pré-históricos escapam e começam a caçar os habitantes da ilha, no final do ano de 1993, foi isolada a ilha, exterminados os animais e ninguém mais explorou a ilha temática.
       
      Em 1998, quando crimes bizarros começam a assolar a pequena Raccoon City. As vítimas, normalmente andarilhos e excursionistas que passam pela floresta nos arredores da cidade, são brutalmente assassinadas e seus corpos apresentam sinais de canibalismo e violência extrema. O departamento de polícia de Raccoon decide enviar seu time de elite, os S.T.A.R.S. (Special Tactics and Rescue Service, Serviço de Táticas Especiais e de Resgate) para cuidar do caso. A primeira equipe enviada é a Bravo, que perdeu contato com a delegacia minutos após entrar na área da floresta. Após 24 horas sem contato via rádio, a equipe Alpha é enviada, e se surpreendem ao encontrar o helicóptero da outra equipe completamente abandonado. Enquanto checavam os arredores em busca de pistas sobre a localização dos policiais desaparecidos, Joseph Frost, um dos membros da equipe Alpha, é atacado por cães selvagens, que aparentam estado de decomposição avançada. Abandonados por Brad Vickers, piloto da equipe, que foge levando o helicóptero, os oficiais sobreviventes se veem sem opção a não ser se refugiar em uma mansão que é avistada de longe.[...]
       
       
       
       
      Após o fracasso do parque temático e o apocalipse, os sobreviventes foram levados para uma nova ilha que se tornou uma cidade com muitos recursos recuperados pelo apocalipse. Anos se passaram e a humanidade cresceu relativamente. Novos médicos, cientista e estudantes vieram a tona, mas um deles se destacou, o Dr Edward Kirk.
      O Dr Edward Kirk, um cientista, que assumiu as empresas Umbrella Corporation e as empresas Weskers, assim que seus diretores foram mortos nos ataques de Reccoon City. Dr Kirk mudou o nome das empresas para Healthy Life(vida saudável), com seu principal projeto: Terceira energia, esse projeto consiste num sistema em que cria energia limpa e barata.
      Porem o Governo, não quis patrocinar esse projeto então o Dr, retornou ao seu antigo projeto "O Fim da Extinção". Esse projeto teve ajuda de vários empresários que investiram muito nesse projeto que era trazer animais que foram extinto de volta a vida, pegando DNAs de fosseis e transformando eles a vida novamente, também teve ajuda do Dr Albert wesker.[...[
      Continua...
       
       
       
       



       

       

       
      Mapa:
       
       




      A ideia é deixar assim uma das ilhas:

      Será na versão 8.6 
      Cliente OTC
      O que estou precisando:
      Spriters de dinossauros, personagens, itens(arma e equipamentos), etc.
      Programadores pra ajudar a desenvolver alguns sistemas que estão faltando.
      Mapper para ajuda a termina o mapa.
      Doações, sugestões e ajuda:
      Entre em contato pelo whatsapp:
      42 9 88067789
      Nome: Itamar Vinicius
       
       
       
    • Por Gabrieltxu
      Prometi a mim mesmo não ajudar mais a comunidade, porem com os acontecimentos em cima dessa base me deixou com raiva e vim compartilhar a mesma com vocês, o servidor foi feito em cima da base vasada do Psoul, onde Walox e outro que não sei o nick trabalharam, porem como já de costume Walox melhorou a interface assim como a Mytology e a ZRing, e para não perder o costume anunciou a venda do mesmo, onde algumas pessoas chegaram a pagar bem caro pela base, quase 2 mil reais. 
      Até ai tudo bem, porem não contente começou a vender ainda mais copias do servidor, e quem comprava também vendia a copia do servidor, algo que acho totalmente errado.
      Enfim para acabar com essa palhaçada hoje estou postando a base.
       
      Ressalvo que NÃO IREI DAR SUPORTE A ESSA BASE, BASE CONTEM MUITOS BUGS, OQUE TEM DE MELHOR É A INTERFACE MESMO 
       
      Algumas Imagens do servidor:
       
      Scans
       
      Link para Download (Contem tudo, Client, server etc..): https://mega.nz/file/6dIwRaxT#y2nRFVckLLTLFSBRRtEUJVb-KBAwVPfMhqxyTEEv4Cs
      Mediafire: https://www.mediafire.com/file/d89t3ol1beq8129/poke+jornadas+completo+++src.rar/file
      Senha do Winrar: naoetrote1234567890@
       
      Créditos:  - Criadores da base Psoul
                       - Walox (Wave) e equipe
       
       
      É isso, espero que essa pratica de venda de servidores desenfreados acabe, desejo boa sorte a todos com a base e façam bom proveito.      
       
       
    • Por Linus
      Você  pode configurar se quer que o preço aumente a cada reset, se quer que o level pra resetar aumente e se vc quer que a vida resete junto (e quanto % da vida atual será a vida após resetar).
       
       
      Testado em tfs 1.1, Versão 10.77
       
       
       
       
      Vá em data/npc/lib/ crie npc_resets.lua :
       



       
      Você pode editar mexendo aqui. no script acima :
      config = { minlevel = 150, --- Level inical para resetar price = 10000, --- Preço inicial para resetar newlevel = 20, --- Level após reset priceByReset = 0, --- Preço acrescentado por reset percent = 30, ---- Porcentagem da vida/mana que você terá ao resetar (em relação à sua antiga vida total) maxresets = 50, ---- Maximo de resets levelbyreset = 0 --- Quanto de level vai precisar a mais no próximo reset } agora em data/npc/ crie reseter.XML :
       



       
       
       
      Agora em data/npc/scripts crie reseter.lua :
       



       
       
       
      Img : 
       

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo