Skip to content

Commit

Permalink
Fix a bug when gaining powers without playtest powers.
Browse files Browse the repository at this point in the history
2d72935 completely broke gaining
powers when playtest powers were disabled.
  • Loading branch information
pyrrhicPachyderm committed Oct 22, 2023
1 parent e4f1afd commit a4ec311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,8 @@ function getPlaytestCount(params)
return math.max(1, math.floor(count / 3))
elseif playtestPowers == 2 then
return math.max(1, math.floor(count / 2))
else
return 0
end
end
function SetupPlaytestPowerDeck(deck, name, option, callback)
Expand Down

0 comments on commit a4ec311

Please sign in to comment.