✨
This commit is contained in:
@@ -419,10 +419,10 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
|
||||
calcEffectiveness(context, type) {
|
||||
var effectiveness = 1
|
||||
|
||||
effectiveness *= effectivenessChart[type][context.system.type1]
|
||||
effectiveness *= this.effectivenessChart[type][context.system.type1]
|
||||
|
||||
if (context.system.type2 != "") {
|
||||
effectiveness *= effectivenessChart[type][context.system.type2]
|
||||
effectiveness *= this.effectivenessChart[type][context.system.type2]
|
||||
}
|
||||
|
||||
return effectiveness
|
||||
|
||||
Reference in New Issue
Block a user