mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
* Celestial Dawn - Fixed that it was not possible to pay colorless costs with non white mana.
This commit is contained in:
parent
989250c7f6
commit
45818f3a51
5 changed files with 77 additions and 10 deletions
|
|
@ -40,6 +40,15 @@ import mage.players.ManaPoolItem;
|
|||
public interface AsThoughManaEffect extends AsThoughEffect {
|
||||
|
||||
// return a mana type that can be used to pay a mana cost instead of the normally needed mana type
|
||||
/**
|
||||
*
|
||||
* @param manaType type of mana with which the player wants to pay the cost
|
||||
* @param mana mana pool item to pay from the cost
|
||||
* @param affectedControllerId
|
||||
* @param source
|
||||
* @param game
|
||||
* @return
|
||||
*/
|
||||
ManaType getAsThoughManaType(ManaType manaType, ManaPoolItem mana, UUID affectedControllerId, Ability source, Game game);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ public class ManaPool implements Serializable {
|
|||
return false;
|
||||
}
|
||||
if (autoPayment && autoPaymentRestricted && !wasManaAddedBeyondStock() && manaType != unlockedManaType) {
|
||||
// if automatic restricted payment and there is laready mana in the pool
|
||||
// if automatic restricted payment and there is already mana in the pool
|
||||
// and the needed mana type was not unlocked, nothing will be paid
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue