✨
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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.12",
|
||||
"version": "0.1.13",
|
||||
"id": "pokemon",
|
||||
"title": "Pokémon TTRPG",
|
||||
"description": "A Pokémon TTRPG",
|
||||
|
||||
BIN
system.zip
BIN
system.zip
Binary file not shown.
Reference in New Issue
Block a user