forked from External/mage
Updated implementation of Unpredictable Cyclone (#6423)
* updated implementation of Unpredictable Cyclone, refactored drawCard method * fixed another small implementation error * added test for Unpredictable Cyclone * updated Unpredictable Cyclone test
This commit is contained in:
parent
80b7f8493b
commit
378dfbf89a
279 changed files with 465 additions and 378 deletions
|
|
@ -1026,7 +1026,7 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
player.initLife(this.getLife());
|
||||
}
|
||||
if (!gameOptions.testMode) {
|
||||
player.drawCards(startingHandSize, this);
|
||||
player.drawCards(startingHandSize, null, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3021,9 +3021,9 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
}
|
||||
|
||||
@Override
|
||||
public int doAction(MageAction action) {
|
||||
public int doAction(MageAction action, UUID sourceId) {
|
||||
//actions.add(action);
|
||||
int value = action.doAction(this);
|
||||
int value = action.doAction(sourceId, this);
|
||||
// score += action.getScore(scorePlayer);
|
||||
return value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue