forked from External/mage
Drain Power fix for Rhystic Cave (#4894)
This commit is contained in:
parent
3e180267ed
commit
d03fd6eea3
1 changed files with 2 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ class DrainPowerEffect extends OneShotEffect {
|
|||
TargetPermanent target = null;
|
||||
|
||||
while (true) {
|
||||
targetPlayer.setPayManaMode(true);
|
||||
manaAbilitiesMap.clear();
|
||||
for (Permanent permanent : game.getBattlefield().getAllActivePermanents(filter, targetPlayer.getId(), game)) {
|
||||
if (!ignorePermanents.contains(permanent)) {
|
||||
|
|
@ -138,6 +139,7 @@ class DrainPowerEffect extends OneShotEffect {
|
|||
}
|
||||
}
|
||||
}
|
||||
targetPlayer.setPayManaMode(false);
|
||||
|
||||
// 106.12. One card (Drain Power) causes one player to lose unspent mana and another to add “the mana lost this way.” (Note that these may be the same player.)
|
||||
// This empties the former player’s mana pool and causes the mana emptied this way to be put into the latter player’s mana pool. Which permanents, spells, and/or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue