mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Rework of "spend mana as though it were mana of" handling.
This commit is contained in:
parent
2c54cacbc3
commit
625aa29d6e
12 changed files with 184 additions and 152 deletions
|
|
@ -1135,7 +1135,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
|
||||
protected boolean playManaHandling(Ability ability, ManaCost unpaid, Game game) {
|
||||
// log.info("paying for " + unpaid.getText());
|
||||
boolean spendAnyMana = game.getContinuousEffects().asThough(ability.getSourceId(), AsThoughEffectType.SPEND_ANY_MANA, ability, ability.getControllerId(), game);
|
||||
boolean spendAnyMana = game.getContinuousEffects().asThough(ability.getSourceId(), AsThoughEffectType.SPEND_OTHER_MANA, ability, ability.getControllerId(), game);
|
||||
ManaCost cost;
|
||||
List<Permanent> producers;
|
||||
if (unpaid instanceof ManaCosts) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue