forked from External/mage
Trove of Temptation working for Human.
This commit is contained in:
parent
24c2c69a81
commit
5996aa12e6
8 changed files with 45 additions and 38 deletions
|
|
@ -1029,16 +1029,16 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
return game.replaceEvent(GameEvent.getEvent(eventType, this.objectId, ownerId));// controllerId seems to me more logical (LevelX2)
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canAttack(Game game) {
|
||||
return canAttack(null, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canAttack(UUID defenderId, Game game) {
|
||||
if (tapped) {
|
||||
return false;
|
||||
}
|
||||
return canAttackInPrinciple(defenderId, game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canAttackInPrinciple(UUID defenderId, Game game) {
|
||||
if (hasSummoningSickness() && !game.getContinuousEffects().asThough(this.objectId, AsThoughEffectType.ATTACK_AS_HASTE, this.getControllerId(), game)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue