This commit is contained in:
Nikolaj
2025-08-05 11:32:58 +02:00
parent 72dc4a5005
commit c922666747
7 changed files with 51 additions and 10 deletions

View File

@@ -103,6 +103,14 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
effectiveness *= this.effectivenessChart[type][context.system.type2] ?? 1;
}
if (effectiveness == 0.5) {
effectiveness = "½";
}
if (effectiveness == 0.25) {
effectiveness = "¼";
}
return effectiveness
}