mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
parent
65ace87a83
commit
bbe6809ed1
1 changed files with 3 additions and 2 deletions
|
@ -81,9 +81,10 @@ class WheelOfMisfortuneEffect extends OneShotEffect {
|
|||
if (player == null) {
|
||||
continue;
|
||||
}
|
||||
if (entry.getValue() >= maxValue) {
|
||||
if (entry.getValue() == maxValue) {
|
||||
player.damage(maxValue, source.getSourceId(), source, game);
|
||||
} else if (entry.getValue() > minValue) {
|
||||
}
|
||||
if (entry.getValue() != minValue) {
|
||||
player.discard(player.getHand(), false, source, game);
|
||||
player.drawCards(7, source, game);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue