Para Resolver esses bug de atk não dá dano, segredo esta nessa tabela do arquivo 107-main tables
typeTable = {["normal"] = {super = {"none"}, weak = {"rock", "steel"}, non = {"ghost"}, stoneId = 12214, color = 129, effDmg = 8, damageID = NORMALDAMAGE},["fire"] = {super = {"bug", "grass", "ice", "steel"}, weak = {"dragon", "fire", "rock", "water"}, non = {"none"}, stoneId = 12210, color = 192, damageID = FIREDAMAGE},["fighting"] = {super = {"dark", "ice", "normal", "rock", "steel"}, weak = {"bug", "fairy", "flying", "poison", "psychic"}, non = {"ghost"}, stoneId = 12213, color = 127, damageID = FIGHTINGDAMAGE},["water"] = {super = {"fire", "ground", "rock"}, weak = {"dragon", "grass", "water"}, non = {"none"}, stoneId = 12224, color = 10, damageID = WATERDAMAGE},["flying"] = {super = {"bug", "fighting", "grass"}, weak = {"electric", "rock", "steel"}, non = {"none"}, stoneId = 12214, color = 172, damageID = FLYINGDAMAGE},["grass"] = {super = {"ground", "rock", "water"}, weak = {"bug", "dragon", "fire", "flying", "grass", "poison", "steel"}, non = {"none"}, stoneId = 12211, color = 30, effDmg = 7, damageID = GRASSDAMAGE},["poison"] = {super = {"fairy", "grass"}, weak = {"ghost", "ground", "poison", "rock"}, non = {"steel"}, stoneId = 12215, color = 103, effDmg = 8, damageID = POISONDAMAGE},["electric"] = {super = {"flying", "water"}, weak = {"dragon", "electric", "grass"}, non = {}, stoneId = 12220, color = 211, damageID = ELECTRICDAMAGE},["ground"] = {super = {"electric", "fire", "poison", "rock", "steel"}, weak = {"bug", "grass", "flying", "electric"}, non = {"ghost"}, stoneId = 12222, color = 120, damageID = GROUNDDAMAGE},["psychic"] = {super = {"fighting", "poison"}, weak = {"psychic", "steel", "dark"}, non = {}, stoneId = 12221, color = 125, damageID = PSYCHICDAMAGE},["rock"] = {super = {"bug", "fire", "flying", "ice"}, weak = {"fighting", "ground", "steel"}, non = {"none"}, stoneId = 12223, color = 129, damageID = ROCKDAMAGE},["ice"] = {super = {"dragon", "flying", "grass", "ground"}, weak = {"fire", "ice", "steel", "water"}, non = {"none"}, stoneId = 12225, color = 71, damageID = ICEDAMAGE},["bug"] = {super = {"dark", "grass", "psychic"}, weak = {"fairy", "fighting", "fire", "flying", "ghost", "poison", "steel"}, non = {"none"}, stoneId = 12212, color = 30, damageID = BUGDAMAGE},["dragon"] = {super = {"dragon"}, weak = {"steel"}, non = {"fairy"}, stoneId = 12219, color = 175, damageID = DRAGONDAMAGE},["ghost"] = {super = {"ghost", "psychic"}, weak = {"dark"}, non = {"normal"}, stoneId = 12216, color = 77, damageID = GHOSTDAMAGE},["dark"] = {super = {"ghost", "psychic"}, weak = {"dark", "fairy", "fighting"}, non = {"dark"}, stoneId = 12216, color = 53, damageID = DARKDAMAGE},["steel"] = {super = {"fairy", "ice", "rock"}, weak = {"electric", "fire", "steel", "water"}, non = {"none"}, stoneId = 12217, color = 172, damageID = STEELDAMAGE},["fairy"] = {super = {"dark", "dragon", "fighting"}, weak = {"fire", "poison", "steel"}, non = {"none"}, stoneId = 12214, color = 130, damageID = NORMALDAMAGE},}
Fiz o teste com tipo fighting
tirando tipos ("flying", "poison", "psychic") da coluna non (nenhum) para coluna weak (fraco)
["fighting"] = {super = {"dark", "ice", "normal", "rock", "steel"}, weak = {"bug", "fairy", "flying", "poison", "psychic"}, non = {"ghost"}, stoneId = 12213, color = 127, damageID = FIGHTINGDAMAGE},
fiz o teste com Onix e Shiny Onix e quem mais possuir spells tipo ground contra o tipo flying em outras palavras... Pidgeot recebe danos do Shiny Onix....