// zombie public static float GetZombieSpeedMultiplier(IBoosterState boosterState) { return boosterState.IsActive<ZombieSpeedBooster>() ? boosterState.GetActive<ZombieSpeedBooster>().SpeedMultiplier : 1; }
public static float GetPlayerAttackSpeedMultiplier(IBoosterState boosterState) { return boosterState.IsActive<PlayerAttackSpeedBooster>() ? boosterState.GetActive<PlayerAttackSpeedBooster>().AttackSpeedMultiplier : 1; }
public static float GetZombieDamageRedcutionMultiplier(IBoosterState boosterState) { return boosterState.IsActive<ZombieDamageReductionBooster>() ? boosterState.GetActive<ZombieDamageReductionBooster>().DamageReductionMultiplier : 1; }