From 683444670d89b94e3c083f5ae3531b2e856e6eeb Mon Sep 17 00:00:00 2001 From: NilsUeter Date: Tue, 30 May 2023 19:16:54 +0200 Subject: [PATCH] add one shot rule --- index.html | 24 +++--------------------- src/Weapons.jsx | 8 ++++++++ 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 8ddd28d..58b5a0f 100644 --- a/index.html +++ b/index.html @@ -14,27 +14,9 @@ href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800;900&display=swap" rel="stylesheet" /> - diff --git a/src/Weapons.jsx b/src/Weapons.jsx index ace907a..80b19b1 100644 --- a/src/Weapons.jsx +++ b/src/Weapons.jsx @@ -123,6 +123,14 @@ const Weapon = ({ weapon, modelStats, isMelee, className, forceRules }) => { "Indirect Fire", "This weapon can target units that are not visible to the bearer." ); + replaceAbilityWithType( + [ + "The bearer can only shoot with this weapon once per battle.", + "The bearer can only shoot with this weapon once per battle", + ], + "One Shoot", + "The bearer can only shoot with this weapon once per battle." + ); replaceAbilityWithType(["Plague Weapon.", "Plague Weapon"], "Plague Weapon"); replaceAbilityWithType(["Sonic Weapon.", "Sonic Weapon"], "Sonic Weapon"); replaceAbilityWithType(["Shuriken.", "Shuriken"], "Shuriken");