mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fix Everflame Eidolon when it's an aura. Fix #2178
This commit is contained in:
parent
b648295dbd
commit
998abc526d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue