maybe add extra attacks

This commit is contained in:
NilsUeter
2023-05-30 19:27:39 +02:00
parent 683444670d
commit f49f3b8a4c
2 changed files with 34 additions and 4 deletions
-4
View File
@@ -81,10 +81,6 @@ function App() {
if (roster && roster.forces.length > 0) { if (roster && roster.forces.length > 0) {
setRoster(roster); setRoster(roster);
setError(""); setError("");
smartlook("track", "loadRoster", {
name: rosterName,
faction: roster.forces[0].catalog,
});
} }
} else { } else {
setError("No support for game type '" + gameType + "'."); setError("No support for game type '" + gameType + "'.");
+34
View File
@@ -131,6 +131,40 @@ const Weapon = ({ weapon, modelStats, isMelee, className, forceRules }) => {
"One Shoot", "One Shoot",
"The bearer can only shoot with this weapon once per battle." "The bearer can only shoot with this weapon once per battle."
); );
/* replaceAbilityWithType(
[
"Each time the bearer fights, it makes 1 additional attack with this weapon.",
"Each time the bearer fights, it makes 1 additional attack with this weapon",
],
"Extra Attacks 1",
"Each time the bearer fights, it makes 1 additional attack with this weapon."
);
replaceAbilityWithType(
[
"Each time the bearer fights, it makes 2 additional attacks with this weapon.",
"Each time the bearer fights, it makes 2 additional attacks with this weapon",
],
"Extra Attacks 2",
"Each time the bearer fights, it makes 2 additional attacks with this weapon."
);
replaceAbilityWithType(
[
"Each time the bearer fights, it makes 3 additional attacks with this weapon.",
"Each time the bearer fights, it makes 3 additional attacks with this weapon",
],
"Extra Attacks 3",
"Each time the bearer fights, it makes 3 additional attacks with this weapon."
);
replaceAbilityWithType(
[
"Each time the bearer fights, it makes 4 additional attacks with this weapon.",
"Each time the bearer fights, it makes 4 additional attacks with this weapon",
],
"Extra Attacks 4",
"Each time the bearer fights, it makes 4 additional attacks with this weapon."
); */
replaceAbilityWithType(["Plague Weapon.", "Plague Weapon"], "Plague Weapon"); replaceAbilityWithType(["Plague Weapon.", "Plague Weapon"], "Plague Weapon");
replaceAbilityWithType(["Sonic Weapon.", "Sonic Weapon"], "Sonic Weapon"); replaceAbilityWithType(["Sonic Weapon.", "Sonic Weapon"], "Sonic Weapon");
replaceAbilityWithType(["Shuriken.", "Shuriken"], "Shuriken"); replaceAbilityWithType(["Shuriken.", "Shuriken"], "Shuriken");