New "Produce$ Any" feature for AbilityMana
I finally got some time to work on the adding this feature. I needed rework the AI logic for paying mana costs to account for any color sources. In the process I uncovered some other bugs/problems with paying mana costs. Because there were some big changes, I created a branch in the repository so I could check in changes without breaking the trunk. I believe the code is back to a playable state but I am going to play test for a while before I merge the changes back into the trunk.
Here's what I have added and fixed
1) added support for "Produced$ Any" in Mana AF scripting (Issue 266)
2) converted a small set of cards for testing (City of Brass, Mox Opal, Glimmervoid)
3) added new card Manamorphose that is now scriptable
4) fixed infinite mana bug (Issue 83 and 306 in bug tracker)
5) fixed an issue where AI wouldn't play a card because of the order sources were used (Issue 408)
6) fixed AI issues with snow mana
7) fix issue with GUI not always giving choice when multiple mana abilities on source can be used to pay a cost (Issue 409)
Known issues
1) There are some functions related to draft mode games that won't handle the keyword correctly yet.
2) There are some minor issues with the AI logic related to cards that use "ManaNeededToAvoidNegativeEffect"
3) Manamorphose will cause is issues if the AI tries to use it
I would also like feedback on how the color choice is handled for the human player. Right now the user always gets asked to choose a color.
If you want to help playtesting, you can point your development workspace to "http://svn.slightlymagic.net/forge/branches/Issue_0000266"
Please post an issues/comments found in this thread
Here's what I have added and fixed
1) added support for "Produced$ Any" in Mana AF scripting (Issue 266)
2) converted a small set of cards for testing (City of Brass, Mox Opal, Glimmervoid)
3) added new card Manamorphose that is now scriptable
4) fixed infinite mana bug (Issue 83 and 306 in bug tracker)
5) fixed an issue where AI wouldn't play a card because of the order sources were used (Issue 408)
6) fixed AI issues with snow mana
7) fix issue with GUI not always giving choice when multiple mana abilities on source can be used to pay a cost (Issue 409)
Known issues
1) There are some functions related to draft mode games that won't handle the keyword correctly yet.
2) There are some minor issues with the AI logic related to cards that use "ManaNeededToAvoidNegativeEffect"
3) Manamorphose will cause is issues if the AI tries to use it
I would also like feedback on how the color choice is handled for the human player. Right now the user always gets asked to choose a color.
If you want to help playtesting, you can point your development workspace to "http://svn.slightlymagic.net/forge/branches/Issue_0000266"
Please post an issues/comments found in this thread