diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 201c4ca..947708d 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -417,7 +417,7 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi } calcEffectiveness(context, type) { - effectiveness = 1 + var effectiveness = 1 effectiveness *= effectivenessChart[type][context.system.type1] diff --git a/system.json b/system.json index 099ffb6..9dfbf6a 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.1.11", + "version": "0.1.12", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index 289f56b..5ccdc00 100644 Binary files a/system.zip and b/system.zip differ