forked from External/mage
Added comments that need to be addressed for card draw.
This commit is contained in:
parent
2f0d31e734
commit
cbbfe5906a
2 changed files with 3 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ public class MageDrawAction extends MageAction {
|
|||
int numDrawn = 0;
|
||||
int score = 0;
|
||||
GameEvent event = new DrawCardsEvent(this.player.getId(), source, this.originalDrawEvent, this.amount);
|
||||
// TODO: This needs a better description of how it works. Why "amount < 2"?
|
||||
if (amount < 2 || !game.replaceEvent(event)) {
|
||||
amount = event.getAmount();
|
||||
for (int i = 0; i < amount; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue