mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix for Darkbarony plane (1 life)
This commit is contained in:
parent
96472332a4
commit
bc77b825cb
2 changed files with 5 additions and 5 deletions
|
@ -1078,7 +1078,7 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
if (gameOptions.planeChase) {
|
||||
Plane plane = Plane.getRandomPlane();
|
||||
plane.setControllerId(startingPlayerId);
|
||||
addPlane(plane, null, getActivePlayerId());
|
||||
addPlane(plane, null, startingPlayerId);
|
||||
state.setPlaneChase(this, gameOptions.planeChase);
|
||||
}
|
||||
}
|
||||
|
@ -1565,14 +1565,14 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
}
|
||||
state.addCommandObject(newPlane);
|
||||
informPlayers("You have planeswalked to " + newPlane.getLogName());
|
||||
|
||||
|
||||
// Fire off the planeswalked event
|
||||
GameEvent event = new GameEvent(GameEvent.EventType.PLANESWALK, newPlane.getId(), null, newPlane.getId(), 0, true);
|
||||
if (!replaceEvent(event)) {
|
||||
GameEvent ge = new GameEvent(GameEvent.EventType.PLANESWALKED, newPlane.getId(), null, newPlane.getId(), 0, true);
|
||||
fireEvent(ge);
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,9 +66,9 @@ public class TheDarkBaronyPlane extends Plane {
|
|||
this.setName("Plane - The Dark Barony");
|
||||
this.setExpansionSetCodeForImage("PCA");
|
||||
|
||||
// Whenever a nonblack card is put into a player's graveyard from anywhere, that player loses 2 life
|
||||
// Whenever a nonblack card is put into a player's graveyard from anywhere, that player loses 1 life
|
||||
Ability ability = new PutCardIntoGraveFromAnywhereAllTriggeredAbility(Zone.COMMAND,
|
||||
new LoseLifeTargetEffect(2), false, filter, TargetController.ANY, SetTargetPointer.PLAYER);
|
||||
new LoseLifeTargetEffect(1), false, filter, TargetController.ANY, SetTargetPointer.PLAYER);
|
||||
this.getAbilities().add(ability);
|
||||
|
||||
// Active player can roll the planar die: Whenever you roll {CHAOS}, each player dicards a card
|
||||
|
|
Loading…
Reference in a new issue