Skip to content

Commit

Permalink
Fix Summon Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Oxdeception committed May 6, 2018
1 parent d2eba02 commit e216b3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions classes/classes/Scenes/Camp/CampMakeWinions.as
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ package classes.Scenes.Camp {
outputText(text);
var buttons: ButtonDataList = new ButtonDataList();
buttons.add("Summon", summoningSubmenu)
.disableIf(player.statusEffectv1(StatusEffects.SummonedElementals) < maxSizeOfElementalsArmy(), "You have too many elementals summoned!")
.disableIf(player.statusEffectv1(StatusEffects.SummonedElementals) >= maxSizeOfElementalsArmy(), "You have too many elementals summoned!")
.disableIf(!player.hasPerk(PerkLib.JobElementalConjurer), "You're not quite sure how to summon anything yet.");
buttons.add("Rank Up", rankUpSubmenu)
.disableIf(!player.hasPerk(PerkLib.ElementalContractRank1));
Expand Down Expand Up @@ -111,8 +111,7 @@ package classes.Scenes.Camp {
.requireMana(100)
.requireFatigue(50);
}

addButton(14, "Back", accessSummonElementalsMainMenu);
buttons.submenu(accessSummonElementalsMainMenu);
}


Expand Down

0 comments on commit e216b3a

Please sign in to comment.