mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-29 06:43:17 -05:00
closes #249 run speed (firing) not shown for roller brush
This commit is contained in:
@@ -486,7 +486,7 @@ export default function useAbilityEffects({
|
||||
const shootEffect = getEffect(highMidLowShoot, amount);
|
||||
const moveSpeed = buildWeaponData.mMoveSpeed;
|
||||
|
||||
return [
|
||||
const result = [
|
||||
{
|
||||
title: t`Run speed`,
|
||||
effect: `${parseFloat(
|
||||
@@ -514,6 +514,12 @@ export default function useAbilityEffects({
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
if (weapon.includes("brush") || weapon.includes("Roller")) {
|
||||
return [result[0]];
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
function calculateSSU(amount: number) {
|
||||
|
||||
Reference in New Issue
Block a user