public void ApplyPlanAsFarAsPossible() { int effectiveLevel = LevelUpController.GetEffectiveLevel(this.Unit.Unit); while (this.Preview.Progression.CharacterLevel < effectiveLevel && this.HasNextLevelPlan) { this.ApplyLevelUpPlan(true); this.Commit(); } }