// If we're below 38 it means we don't have Blizzard III, we need to Transpose when we get below our setting.
new Decorator(r => Core.Player.ClassLevel < 38, new PrioritySelector(
Casting.Cast(r => "Transpose", r => HasAnyAstral && Core.Player.CurrentManaPercent < WindowSettings.BlackMageBlizzardIIIMana, r => Core.Player, r => 2, r => false))));
new Decorator(r => Core.Player.ClassLevel < 38,
new PrioritySelector(
// Blizzard we have no Astral or Umbral (we must have just used Blizzard when we had Astral), then keep using it till we're at least 80% mana.
Casting.Cast(r => "Blizzard", r => (HasAnyUmbral && Core.Player.CurrentManaPercent < 80) || (!HasAnyUmbral && !HasAnyAstral && Core.Player.CurrentManaPercent < 80), r => Core.Player.CurrentTarget, r => 2, r => false),
// Blizzard if we drop below specified mana, we should then Blizzard again to get Umbral Ice
Casting.Cast(r => "Blizzard", r => Core.Player.CurrentManaPercent < WindowSettings.BlackMageBlizzardIIIMana, r => Core.Player.CurrentTarget, r => 2, r => false))));