public override void Cancel(Ship ship) { if (activeEffect) { if (!ship.RemoveStatusEffect(activeEffect)) { Debug.LogWarning("tried to cancel a booster effect but it wasn't affecting the target ship"); } } else { Debug.LogWarning("tried to cancel a booster effect that wasn't active"); } activeEffect = null; }