Fixed bug with type analysis, was counting weaknesses/resistances strangely