Fix Everflame Eidolon when it's an aura. Fix #2178

This commit is contained in:
Plopman 2017-02-14 23:01:59 +01:00
parent b648295dbd
commit 998abc526d

View file

@ -98,7 +98,7 @@ class EverflameEidolonEffect extends OneShotEffect {
Permanent sourceObject = game.getPermanentOrLKIBattlefield(source.getSourceId()); Permanent sourceObject = game.getPermanentOrLKIBattlefield(source.getSourceId());
if (sourceObject != null) { if (sourceObject != null) {
if (sourceObject.getSubtype(game).contains("Aura")) { if (sourceObject.getSubtype(game).contains("Aura")) {
new BoostEnchantedEffect(1, 0, Duration.EndOfTurn).apply(game, source); game.addEffect(new BoostEnchantedEffect(1, 0, Duration.EndOfTurn), source);
} else { } else {
game.addEffect(new BoostSourceEffect(1, 0, Duration.EndOfTurn), source); game.addEffect(new BoostSourceEffect(1, 0, Duration.EndOfTurn), source);
} }