Skip to content

Commit

Permalink
Fix back in level up screen with Character Creation
Browse files Browse the repository at this point in the history
  • Loading branch information
r-e-d committed Jul 1, 2019
1 parent 4e0fcbf commit cd57659
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions EEUITweaks/menu/lefreutCharacterGen/ChargenProficienciesMenu1.menu
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,20 @@ menu
text "BACK_BUTTON"
action
"
for k,v in pairs(chargen.proficiency) do
while plusButtonClickable(k) do
local points = chargen.extraProficiencySlots
createCharScreen:OnProficiencyPlusMinusButtonClick(v.id, true)
if points == chargen.extraProficiencySlots then break end
end
end
for k,v in pairs(chargen.thief_skill) do
while createCharScreen:IsThiefSkillPlusMinusButtonClickable() do
local points = chargen.extraSkillPoints
createCharScreen:OnThiefSkillPlusMinusButtonClick(v.id, true)
if points == chargen.extraSkillPoints then break end
end
end
createCharScreen:OnCancelButtonClick()
"
}
Expand Down
14 changes: 14 additions & 0 deletions EEUITweaks/menu/lefreutCharacterGen/ChargenProficienciesMenu2.menu
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,20 @@ menu
text "BACK_BUTTON"
action
"
for k,v in pairs(chargen.proficiency) do
while plusButtonClickable(k) do
local points = chargen.extraProficiencySlots
createCharScreen:OnProficiencyPlusMinusButtonClick(v.id, true)
if points == chargen.extraProficiencySlots then break end
end
end
for k,v in pairs(chargen.thief_skill) do
while createCharScreen:IsThiefSkillPlusMinusButtonClickable() do
local points = chargen.extraSkillPoints
createCharScreen:OnThiefSkillPlusMinusButtonClick(v.id, true)
if points == chargen.extraSkillPoints then break end
end
end
createCharScreen:OnCancelButtonClick()
"
}
Expand Down
14 changes: 14 additions & 0 deletions EEUITweaks/menu/lefreutCharacterGen/ChargenProficienciesMenu3.menu
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,20 @@ menu
text "BACK_BUTTON"
action
"
for k,v in pairs(chargen.proficiency) do
while plusButtonClickable(k) do
local points = chargen.extraProficiencySlots
createCharScreen:OnProficiencyPlusMinusButtonClick(v.id, true)
if points == chargen.extraProficiencySlots then break end
end
end
for k,v in pairs(chargen.thief_skill) do
while createCharScreen:IsThiefSkillPlusMinusButtonClickable() do
local points = chargen.extraSkillPoints
createCharScreen:OnThiefSkillPlusMinusButtonClick(v.id, true)
if points == chargen.extraSkillPoints then break end
end
end
createCharScreen:OnCancelButtonClick()
"
}
Expand Down

0 comments on commit cd57659

Please sign in to comment.