forked from External/mage
* Some rework/fixes/optimizations of calculation of available mana.
This commit is contained in:
parent
e71c54593e
commit
fdddbbbbe6
5 changed files with 190 additions and 29 deletions
|
|
@ -2647,6 +2647,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
available.addMana(manaAbilities, game);
|
||||
}
|
||||
for (Abilities<ActivatedManaAbilityImpl> manaAbilities : sourceWithCosts) {
|
||||
available.removeDuplicated();
|
||||
available.addManaWithCost(manaAbilities, game);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue