[Knight] Bugfix Puissant & Priest

This commit is contained in:
Zakarik
2021-12-21 00:01:33 +01:00
parent 118a774e87
commit 7b27f19adc
+2 -2
View File
@@ -6239,7 +6239,7 @@ function getStyleContactMod(value, cPrecis, diceDegats, diceViolence, hasArmure,
if (isELourd) {
const type = value.stylePuissantType;
const bonus = value.stylePuissantBonus;
const bonus = +value.stylePuissantBonus;
const malus = 0 - bonus;
exec.push(`{{vMStyleA=${malus}D}}`);
@@ -7908,7 +7908,7 @@ on('change:monk150PG change:monk250PG sheet:opened', async () => {
on('change:priest200PG', async () => {
const attrs = await getAttrsAsync(['priest200PG']);
const PG200 = +attrs.priest200PG;
const PG200 = attrs.priest200PG;
let contactDice = 3;
let distanceDice = 2;