Spending/Upgrades/AutoWeapon/MultishotAmountUpgrade.cs
namespace PlanetMeat;

[Title( "Multishot Upgrade - Amount" )]
public sealed class MultishotAmountUpgrade : IntAggregateUpgrade<AutoWeapon>
{
	protected override ValueAggregator<int> FindAggregate => TargetComponent?.AggregateMultishotAmount;

	protected override void OnRankChanged()
	{
		base.OnRankChanged();
		TargetComponent?.ApplyMultishotAmount();
	}
}