Astra Militarum fixes

This commit is contained in:
NilsUeter
2023-05-09 18:00:00 +02:00
parent fe4abe956b
commit f2b89b606b
3 changed files with 17 additions and 7 deletions
+11
View File
@@ -97,6 +97,17 @@ const Weapon = ({ weapon, modelStats, isMelee, className }) => {
type = "Plague Weapon";
}
}
if (abilities?.toLowerCase().includes("turret weapon")) {
abilities = abilities
.replaceAll("Turret weapon.", "")
.replaceAll("Turret Weapon", "")
.replaceAll("Turret weapon", "");
if (type) {
type += ", Turret weapon";
} else {
type = "Turret weapon";
}
}
/* if (
abilities?.includes(
"Each time an attack made with this weapon targets an enemy within half range, that attack has a Damage characteristic of D6+2."