Skip to content

Commit

Permalink
added handle when all skills are max upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKun21 committed Dec 22, 2023
1 parent 404561a commit d39295a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ class AutoSkillUpgrade @Inject constructor(
{
checkIfWillUpgradeSkill(targetLevel = targetLevel, index = skillNumber)
} to { locations.enhancementClick.click() },
// case when all skills are level up returning to the main menu
{ isServantEmpty() } to { throw EnhancementException(EnhancementExitReason.TargetLevelMet)}
)

performSkillUpgradeLoop(
Expand Down

0 comments on commit d39295a

Please sign in to comment.