public static void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising,
ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
{
Item item = GetWing(player);
if (item == null)
{
return;
}
item.modItem?.VerticalWingSpeeds(ref ascentWhenFalling, ref ascentWhenRising, ref maxCanAscendMultiplier,
ref maxAscentMultiplier, ref constantAscend);
foreach (var hook in HookVerticalWingSpeeds)
{
hook(item, ref ascentWhenFalling, ref ascentWhenRising,
ref maxCanAscendMultiplier, ref maxAscentMultiplier, ref constantAscend);
}
}