mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[KHM] fixed Old-Growth Troll rollback error (fixes #7453)
This commit is contained in:
parent
a373d326e5
commit
c1719d06d1
1 changed files with 4 additions and 4 deletions
|
@ -177,7 +177,7 @@ class OldGrowthTrollContinuousEffect extends ContinuousEffectImpl {
|
||||||
troll.addAbility(new EnchantAbility(auraTarget.getTargetName()));
|
troll.addAbility(new EnchantAbility(auraTarget.getTargetName()));
|
||||||
|
|
||||||
// add the activated ability
|
// add the activated ability
|
||||||
troll.addAbility(makeAbility());
|
troll.addAbility(makeAbility(), source.getSourceId(), game);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -201,11 +201,11 @@ class OldGrowthTrollContinuousEffect extends ContinuousEffectImpl {
|
||||||
Cost cost = new SacrificeSourceCost();
|
Cost cost = new SacrificeSourceCost();
|
||||||
cost.setText("sacrifice this land");
|
cost.setText("sacrifice this land");
|
||||||
activatedAbility.addCost(cost);
|
activatedAbility.addCost(cost);
|
||||||
Ability ability=new SimpleStaticAbility(new GainAbilityAttachedEffect(new SimpleManaAbility(
|
Ability ability = new SimpleStaticAbility(new GainAbilityAttachedEffect(new SimpleManaAbility(
|
||||||
Zone.BATTLEFIELD, Mana.GreenMana(2), new TapSourceCost()),AttachmentType.AURA
|
Zone.BATTLEFIELD, Mana.GreenMana(2), new TapSourceCost()), AttachmentType.AURA
|
||||||
).setText("enchanted Forest has \"{T}: Add {G}{G}\""));
|
).setText("enchanted Forest has \"{T}: Add {G}{G}\""));
|
||||||
ability.addEffect(new GainAbilityAttachedEffect(
|
ability.addEffect(new GainAbilityAttachedEffect(
|
||||||
activatedAbility,AttachmentType.AURA
|
activatedAbility, AttachmentType.AURA
|
||||||
).setText("and \"{1}, {T}, Sacrifice this land: Create a 4/4 green Troll Warrior creature token with trample.\""));
|
).setText("and \"{1}, {T}, Sacrifice this land: Create a 4/4 green Troll Warrior creature token with trample.\""));
|
||||||
return ability;
|
return ability;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue