Files
forge/forge-ai
Hans Mackowiak 282d9860c7 Mana convert refactor (#3718)
* ~ cleanup applyManaColorConversion with only one Parameter

* remove ManaConvert Keyword and Vizier of the Menagerie

* remove other ManaConvert Keyword

* ~ fix scripts

* ManaConvention on GainedActivatedAbility

* ~ fix scripts

* rework Celestial Dawn and nonWhite restriction

* * update AI to apply matrix instead of hardcoded ignoreType and ignoreColor

* store Mana Matrix in PaymentDecision instead of CostPartMana

* ~ move Mana Matrix to more methods

* ManaConversionMatrix: add for Unless and Optional Cost

* Clean up AI

* Remove some calls that should be unneeded but make debugging annoying

* After paying with mana ability the old matrix should apply again

* Move matrix restore because AI needs it too

* Only human needs extra matrix on effect payments

* fix checks

* Update ComputerUtilMana.java

more !effect checks

* Story by CardPlayOption

* Fix North Star

* Remove obsolete code

* ~ ignoreType > ignoreColor

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-08 18:09:03 +03:00
..