Skip to content

Commit

Permalink
Merge pull request #146 from pyrrhicPachyderm/fix-non-playtest
Browse files Browse the repository at this point in the history
Fix a bug when gaining powers without playtest powers.
  • Loading branch information
iakona authored Oct 22, 2023
2 parents e4f1afd + a4ec311 commit 5735be3
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 5735be3

Please sign in to comment.