mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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) {
|
if (player == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (entry.getValue() >= maxValue) {
|
if (entry.getValue() == maxValue) {
|
||||||
player.damage(maxValue, source.getSourceId(), source, game);
|
player.damage(maxValue, source.getSourceId(), source, game);
|
||||||
} else if (entry.getValue() > minValue) {
|
}
|
||||||
|
if (entry.getValue() != minValue) {
|
||||||
player.discard(player.getHand(), false, source, game);
|
player.discard(player.getHand(), false, source, game);
|
||||||
player.drawCards(7, source, game);
|
player.drawCards(7, source, game);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue