mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[CMR] Imoti, Celebrant of Bounty - Give Cascade to X spells (fixes #7409)
This commit is contained in:
parent
7d267061d9
commit
25f929d70e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class GainAbilitySpellsEffect extends ContinuousEffectImpl {
|
||||||
for (StackObject stackObject : game.getStack()) {
|
for (StackObject stackObject : game.getStack()) {
|
||||||
if (stackObject.isControlledBy(source.getControllerId())) {
|
if (stackObject.isControlledBy(source.getControllerId())) {
|
||||||
Card card = game.getCard(stackObject.getSourceId());
|
Card card = game.getCard(stackObject.getSourceId());
|
||||||
if (card != null && filter.match(card, game)) {
|
if (card != null && filter.match(stackObject, game)) {
|
||||||
if (!card.hasAbility(ability, game)) {
|
if (!card.hasAbility(ability, game)) {
|
||||||
game.getState().addOtherAbility(card, ability);
|
game.getState().addOtherAbility(card, ability);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue