* Instill Energy - Fixed that the enchanted creature could not attack (but should be able) the turn it came into play.

This commit is contained in:
LevelX2 2017-07-09 15:32:52 +02:00
parent 2b94ed232a
commit 37ffeac23d
4 changed files with 9 additions and 16 deletions

View file

@ -7,6 +7,7 @@ package mage.constants;
public enum AsThoughEffectType {
ATTACK,
ATTACK_AS_HASTE,
ACTIVATE_HASTE,
BLOCK_TAPPED,
BLOCK_SHADOW,

View file

@ -1037,7 +1037,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
if (tapped) {
return false;
}
if (hasSummoningSickness()) {
if (hasSummoningSickness() && !game.getContinuousEffects().asThough(this.objectId, AsThoughEffectType.ATTACK_AS_HASTE, this.getControllerId(), game)) {
return false;
}
//20101001 - 508.1c