From f49f3b8a4c3da7baaca9349231a2d65d625bd323 Mon Sep 17 00:00:00 2001 From: NilsUeter Date: Tue, 30 May 2023 19:27:39 +0200 Subject: [PATCH] maybe add extra attacks --- src/App.jsx | 4 ---- src/Weapons.jsx | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 336bc4b..47374d3 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -81,10 +81,6 @@ function App() { if (roster && roster.forces.length > 0) { setRoster(roster); setError(""); - smartlook("track", "loadRoster", { - name: rosterName, - faction: roster.forces[0].catalog, - }); } } else { setError("No support for game type '" + gameType + "'."); diff --git a/src/Weapons.jsx b/src/Weapons.jsx index 80b19b1..f9c9e3a 100644 --- a/src/Weapons.jsx +++ b/src/Weapons.jsx @@ -131,6 +131,40 @@ const Weapon = ({ weapon, modelStats, isMelee, className, forceRules }) => { "One Shoot", "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(["Sonic Weapon.", "Sonic Weapon"], "Sonic Weapon"); replaceAbilityWithType(["Shuriken.", "Shuriken"], "Shuriken");