mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Fixed adouble calss name.
This commit is contained in:
parent
797ee3d945
commit
98bfd16680
2 changed files with 10 additions and 11 deletions
|
@ -80,7 +80,7 @@ public class DomriRade extends CardImpl {
|
|||
// -2: Target creature you control fights another target creature.
|
||||
LoyaltyAbility ability2 = new LoyaltyAbility(new FightTargetsEffect(), -2);
|
||||
ability2.addTarget(new TargetControlledCreaturePermanent());
|
||||
ability2.addTarget(new TargetOtherCreaturePermanent());
|
||||
ability2.addTarget(new DomriRadeTargetOtherCreaturePermanent());
|
||||
this.addAbility(ability2);
|
||||
|
||||
// -7: You get an emblem with "Creatures you control have double strike, trample, hexproof and haste."
|
||||
|
@ -153,13 +153,13 @@ class DomriRadeEmblem extends Emblem {
|
|||
}
|
||||
}
|
||||
|
||||
class TargetOtherCreaturePermanent extends TargetCreaturePermanent {
|
||||
class DomriRadeTargetOtherCreaturePermanent extends TargetCreaturePermanent {
|
||||
|
||||
public TargetOtherCreaturePermanent() {
|
||||
public DomriRadeTargetOtherCreaturePermanent() {
|
||||
super();
|
||||
}
|
||||
|
||||
public TargetOtherCreaturePermanent(final TargetOtherCreaturePermanent target) {
|
||||
public DomriRadeTargetOtherCreaturePermanent(final DomriRadeTargetOtherCreaturePermanent target) {
|
||||
super(target);
|
||||
}
|
||||
|
||||
|
@ -172,8 +172,8 @@ class TargetOtherCreaturePermanent extends TargetCreaturePermanent {
|
|||
}
|
||||
|
||||
@Override
|
||||
public TargetOtherCreaturePermanent copy() {
|
||||
return new TargetOtherCreaturePermanent(this);
|
||||
public DomriRadeTargetOtherCreaturePermanent copy() {
|
||||
return new DomriRadeTargetOtherCreaturePermanent(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -430,7 +430,7 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
boolean result = checkIfGameIsOver();
|
||||
return result;
|
||||
} else {
|
||||
logger.debug("game.gameOver -> player leaves " + playerId );
|
||||
logger.debug("Game over for player Id: " + playerId + " gameId " + getId());
|
||||
leave(playerId);
|
||||
return true;
|
||||
}
|
||||
|
@ -455,7 +455,7 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
end();
|
||||
for (Player player: state.getPlayers().values()) {
|
||||
if (!player.hasLeft() && !player.hasLost()) {
|
||||
logger.debug(new StringBuilder("game.checkIfGameIsOver ->Player ").append(player.getName()).append(" won the game ").append(this.getId()));
|
||||
logger.debug(new StringBuilder("Player ").append(player.getName()).append(" has won gameId: ").append(this.getId()));
|
||||
player.won(this);
|
||||
}
|
||||
}
|
||||
|
@ -820,16 +820,15 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
}
|
||||
|
||||
protected UUID findWinnersAndLosers() {
|
||||
logger.debug(new StringBuilder("GameImpl.findWinnersAndLosers start gameId ").append(this.getId()));
|
||||
UUID winnerIdFound = null;
|
||||
for (Player player: state.getPlayers().values()) {
|
||||
if (player.hasWon()) {
|
||||
logger.debug(new StringBuilder("GameImpl.findWinnersAndLosers playerHasWon ").append(player.getId()));
|
||||
logger.debug(player.getName() + " has won gameId: " + getId());
|
||||
winnerIdFound = player.getId();
|
||||
break;
|
||||
}
|
||||
if (!player.hasLost() && !player.hasLeft()) {
|
||||
logger.debug(new StringBuilder("GameImpl.findWinnersAndLosers player ").append(player.getId()));
|
||||
logger.debug(player.getName() + " has not lost so he won gameId: " + this.getId());
|
||||
player.won(this);
|
||||
winnerIdFound = player.getId();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue