more faction colors and keywords

This commit is contained in:
NilsUeter
2023-05-13 09:44:12 +02:00
parent 6834825241
commit ab65c78639
3 changed files with 19 additions and 25 deletions
+8
View File
@@ -125,6 +125,7 @@ const Weapon = ({ weapon, modelStats, isMelee, className, forceRules }) => {
);
replaceAbilityWithType(["Plague Weapon.", "Plague Weapon"], "Plague Weapon");
replaceAbilityWithType(["Sonic Weapon.", "Sonic Weapon"], "Sonic Weapon");
replaceAbilityWithType(["Shuriken.", "Shuriken"], "Shuriken");
replaceAbilityWithType(
["Turret Weapon.", "Turret weapon.", "Turret Weapon", "Turret weapon"],
"Turret Weapon"
@@ -162,6 +163,9 @@ const Weapon = ({ weapon, modelStats, isMelee, className, forceRules }) => {
abilities?.includes(
"Each time an attack is made with this weapon, subtract 1 from that attack's hit roll."
) ||
abilities?.includes(
"Each time an attack is made with this weapon, subtract 1 from that attack's hit roll"
) ||
abilities?.includes(
"Each time an attack is made with this weapon profile, subtract 1 from that attack's hit roll."
) ||
@@ -181,6 +185,10 @@ const Weapon = ({ weapon, modelStats, isMelee, className, forceRules }) => {
"Each time an attack is made with this weapon, subtract 1 from that attack's hit roll.",
""
)
.replaceAll(
"Each time an attack is made with this weapon, subtract 1 from that attack's hit roll",
""
)
.replaceAll(
"Each time an attack is made with this weapon profile, subtract 1 from that attack's hit roll.",
""