lib/configuration.lua, procure nas tabelas de moveset dos pokémons pela passive que deseja transformar em spell. Tomemos como exemplo o Psyduck,
Você talvez encontrará algo assim:
["Psyduck"] = {move1 = {name = "Water Gun", level = 9, cd = 15, dist = 1, target = 0, f = 55, t = "water"},
move2 = {name = "Aqua Tail", level = 10, cd = 15, dist = 1, target = 1, f = 50, t = "water"},
move3 = {name = "Confusion", level = 13, cd = 25, dist = 1, target = 0, f = 50, t = "psychic"},
move4 = {name = "Headbutt", level = 15, cd = 15, dist = 1, target = 1, f = 70, t = "normal"},
passive1 = {name = "Stunning Confusion", level = 1, cd = 0, dist = 6, target = 0, f = 10, t = "psychic"},
},
["Psyduck"] = {move1 = {name = "Water Gun", level = 9, cd = 15, dist = 1, target = 0, f = 55, t = "water"},
move2 = {name = "Aqua Tail", level = 10, cd = 15, dist = 1, target = 1, f = 50, t = "water"},
move3 = {name = "Confusion", level = 13, cd = 25, dist = 1, target = 0, f = 50, t = "psychic"},
move4 = {name = "Headbutt", level = 15, cd = 15, dist = 1, target = 1, f = 70, t = "normal"},
move5 = {name = "Stunning Confusion", level = 1, cd = 15, dist = 1, target = 0, f = 10, t = "psychic"},
},
Assim, o Stunning Confusion seria o m5/move5.
["Stunning"] = {
["Golduck"] = 20,
["Psyduck"] = 15,
["Santa Psyduck"] = 17,
["Wobbuffet"] = 26,
},if passivesChances["Stunning"][getCreatureName(cid)] and math.random(1, 100) <= passivesChances["Stunning"][getCreatureName(cid)] then docastspell(cid, "Stunning Confusion") end






info
Grupo: Visconde
Registrado: 08/06/13
Posts: 274
Reputação: +13
Existe akele passive que chama stunning confusion eu queria transformalo em um spell um atack do poke e queria removelo dps disso e claro rep+ pra quem ajuda