fix chat card label on non x5 weapon tests

This commit is contained in:
TheLastScrub
2022-09-04 18:39:01 -07:00
parent 636f44a82d
commit 4229048e77
+2 -2
View File
@@ -597,14 +597,14 @@ export class DeltaGreenActorSheet extends ActorSheet {
targetVal = this.actor.system.statistics.cha.x5;
}
else{
label = game.i18n.localize("DG.Skills." + targetVal).toUpperCase() + "x5";
label = game.i18n.localize("DG.Skills." + targetVal).toUpperCase();
targetVal = this.actor.system.skills[targetVal].proficiency;
}
}
else if(dataset.target === "statistic.x5"){
let stat = this.actor.system.statistics[key];
targetVal = stat.x5;
label = game.i18n.localize("DG.Attributes." + key).toUpperCase();
label = game.i18n.localize("DG.Attributes." + key).toUpperCase() + "x5";
}
else if(rollType === "sanity"){
targetVal = this.actor.system.sanity.value;