mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2025-01-08 15:39:35 +01:00
- ReplaceProduceMana: check the root ability for tap cost (in case the mana ability is a subability), fixes interaction of mana replacement effects (e.g. Mana Reflection) with cards that tap in the root ability (e.g. Nykthos, Shrine to Nyx).
git-svn-id: http://svn.slightlymagic.net/forge/trunk@35743 269b9781-a132-4a9b-9d4e-f004f1b56b58
This commit is contained in:
parent
3b66b5255a
commit
f3013b3f9b
@ -32,7 +32,7 @@ public class ReplaceProduceMana extends ReplacementEffect {
|
||||
//Check for tapping
|
||||
if (!mapParams.containsKey("NoTapCheck")) {
|
||||
final SpellAbility manaAbility = (SpellAbility) runParams.get("AbilityMana");
|
||||
if (manaAbility == null || manaAbility.getPayCosts() == null || !manaAbility.getPayCosts().hasTapCost()) {
|
||||
if (manaAbility == null || manaAbility.getRootAbility().getPayCosts() == null || !manaAbility.getRootAbility().getPayCosts().hasTapCost()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user