diff --git a/Knight/knight.html b/Knight/knight.html index dd2a98b017..8cdbca4aef 100644 --- a/Knight/knight.html +++ b/Knight/knight.html @@ -16635,7 +16635,7 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { exec.push(`{{vBourreau=${i18n_bourreau} ${eBourreauV} ${i18n_inclus}}}`); } - if (eCadence && eCadenceActif === 0) { + if (eCadence && eCadenceActif === '0') { autresEffets.push(`${i18n_cadence} ${eCadenceV}`); } else if (eCadence && eCadenceActif === 1) { isCadence = true; @@ -16648,7 +16648,7 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { exec.push(`{{chocCondition=${i18n_chocCondition}}}`); } - if (eConviction !== 0) { + if (eConviction !== '0') { autresEffets.push(i18n_conviction); } @@ -16687,7 +16687,7 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { exec.push(`{{esperanceConditionV=${i18n_esperanceConditionV}}}`); } - if (eExcellence) { + if (eExcellence !== '0') { isConditionnelD = true; isConditionnelV = true; @@ -16956,8 +16956,8 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { } if (aPointeurLaser !== '0') { - exec.push('{{vMPLaser=+1}}'); - bonus.push(1); + isConditionnelA = true; + exec.push(`{{pointeurLaserValue=[[3D6]]}} {{pointeurLaser=${i18n_pointeurLaser}}} {{pointeurLaserCondition=${i18n_pointeurLaserCondition}}}`); } if (aSystemeRefroidissement !== '0') { diff --git a/Knight/pug/js/rolls/pj/druid.js b/Knight/pug/js/rolls/pj/druid.js index 2b4e2a04c7..31e54bef6f 100644 --- a/Knight/pug/js/rolls/pj/druid.js +++ b/Knight/pug/js/rolls/pj/druid.js @@ -656,7 +656,7 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { exec.push(`{{vBourreau=${i18n_bourreau} ${eBourreauV} ${i18n_inclus}}}`); } - if (eCadence && eCadenceActif === 0) { + if (eCadence && eCadenceActif === '0') { autresEffets.push(`${i18n_cadence} ${eCadenceV}`); } else if (eCadence && eCadenceActif === 1) { isCadence = true; @@ -669,7 +669,7 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { exec.push(`{{chocCondition=${i18n_chocCondition}}}`); } - if (eConviction !== 0) { + if (eConviction !== '0') { autresEffets.push(i18n_conviction); } @@ -708,7 +708,7 @@ on('clicked:repeating_armeDruidLion:combatdruidroll', async (info) => { exec.push(`{{esperanceConditionV=${i18n_esperanceConditionV}}}`); } - if (eExcellence) { + if (eExcellence !== '0') { isConditionnelD = true; isConditionnelV = true;