- The engine will now stop many places to allow for Priority for both players.
- The AI now as an entry point, ComputerAI_General.stackResponse(), for responding to things the player does.
- Most changes outside of Input and Phase classes had to do with condensing code for simpler language
- Added ActivationLimit to SA_Restriction (once AF_Pump is ready we can replace a lot of the hard-coded ActivationLimits with this)
- Added Locust Swarm, Quirion Ranger, Wirewood Symbiote
- Updated Volrath's Dungeon with abCost and Restrictions
- Updated Feral Hydra with AnyPlayer
- Setting ActivatingPlayer before canPlay is checked for Restrictions
- Fixed bugs in Cost_Payment related to Pay Life and AnyPlayer
- GameAction.GetSpellCostChange() now takes mana cost as a parameter (to prevent overwriting of AltCost)
- Added Fireblast
- Converted Bringer of the Blue/Green/White Dawn to use AltCost
This updates all code that relies on Constant.Player.Human/Computer.
Player specific methods in GameAction.java are marked as deprecatred and redirected to Player.java.
TODO:
1. Incendiary Command needs some looking at. I couldn't comletely fix it.
2) There is a TODO in the WheneverKeyword code with a very small, specific section commented out.
Everything else has been converted to the best of my knowledge.
Due to previously using Strings everywhere, this may introduce some bugs, especially NullPointerExceptions.
Everything uses the object except for the String[][] in Phase.java. There is a hack in place to make it work, but that shuold probably be converted to a different data structure.
See the Developer's Forum thread for more complete info.
- Added isTargetStillValid which checks the Target class, Auras, and canTarget()
- Added check for TgtZone in Ability_Factory. This will be necessary for targeting cards not on the battlefield.
- Removed unused GameAction.canTarget(player)
"Prevent all combat damage that would be dealt to CARDNAME." keywords - Added Fog Bank, Guard Gomazoa and Urbog Phantom (ability text on the latter looks a bit funky)