jendave
8f924e2ff4
- Ability Cost wasn't taking changeCost into account.
2011-08-06 08:23:47 +00:00
jendave
fdb014d1f9
- Added better support for Tokens and new Color handling
...
- Bugfix: Added color into copyStats since tokens use that to multiply.
2011-08-06 08:23:11 +00:00
jendave
7d2ade4524
- Created a GainLife function instead of needing two lines everywhere life gaining happened.
2011-08-06 08:22:54 +00:00
jendave
00de8efa38
- Added the "World rule".
...
- Added the World supertype to Concordant Crossroads.
- Converted Serra Aviary to stPump.
2011-08-06 08:22:25 +00:00
jendave
a5125dd00b
- Moving EOT command inside the Resolve function to "lock in" the timestamp of each activation of color changers.
...
- Manlands and other color changers now change color back to colorless at the end of the turn after multiple activations.
2011-08-06 08:20:55 +00:00
jendave
77b569c8d7
Cleaned up CardFactory.java.
2011-08-06 08:19:16 +00:00
jendave
f40ca331cb
Doubling Season is completely handled in CardFactoryUtil.makeToken
2011-08-06 08:18:42 +00:00
jendave
0199a90316
*Fixed equipment not falling off of lands that were previously animated by Lifespark Spellbomb.
2011-08-06 08:17:53 +00:00
jendave
99f1685aa9
- Added Color.java and Card_Color.java
...
- Added a separate monitoring of a cards color, that handles color changing
- Tokens now set Color when created. In general, tokens don't have mana costs and we'll need to remove setting of mana costs except in a few circumstances.
- Updated Painter's Servant, Disciple of Kangee, and Wild Mongrel
- A few things are still needed overall for this to work going forward, but it seems to be at a point to get this in.
2011-08-06 08:17:47 +00:00
jendave
420bcc03ca
update spMakeToken to respect Doubling Season
2011-08-06 08:16:58 +00:00
jendave
03f97f470c
more updates to spMakeToken
2011-08-06 08:16:46 +00:00
jendave
cf92e22966
updates to spMakeToken
2011-08-06 08:16:40 +00:00
jendave
972a3bb072
add keyword: spMakeToken
2011-08-06 08:16:21 +00:00
jendave
7e06fb0040
add Tumble Magnet (from Scars of Mirrodin)
2011-08-06 08:16:16 +00:00
jendave
2b0f1ce47f
Made Urborg Uprising and other spRaiseDead spells with "Some" playable even when there are no creatures in the graveyard.
2011-08-06 08:15:40 +00:00
jendave
a2cad65a64
updated CardFactory.main to use CARDSFOLDER (not used unless called directly)
2011-08-06 08:13:55 +00:00
jendave
5029706d80
Fixes issue 40
...
Added CardList.getTargetableCards.
Replaced the redundant filter code for the DestroyTgt and BounceTgt effects. Added this method in the CanPlayAI and the ETB command which chooses the target.
2011-08-06 08:13:50 +00:00
jendave
7c443dc6b6
1) added a new keyword: CARDNAME enters the battlefield tapped unless you control two or fewer other lands.
...
2) tweaked and moved similar code for "enters the battlefield tapped unless" closer
2011-08-06 08:11:21 +00:00
jendave
61ff44c7d1
add An-Zerrin Ruins (from Homelands)
2011-08-06 08:10:34 +00:00
jendave
55c055d878
added etbBounceTgt keyword.
2011-08-06 08:07:52 +00:00
jendave
b5d71ea731
add Ring of Gix (from Urza's Legacy)
2011-08-06 08:07:31 +00:00
jendave
6563c6bde9
- Added Fading keyword. Placed into postFactoryKeywords.
...
- Changed Blastoderm to use Fading keyword
2011-08-06 08:06:35 +00:00
jendave
6a30a45cd5
- Moved Vanishing to postFactoryKeywords. This removes the need for it to be in each CardFactory file.
...
- Removed unneeded Vanishing code blocks.
- Updated Aven Riftwatcher and Calciderm to use Vanishing.
2011-08-06 08:06:27 +00:00
jendave
7e21d262a9
SVars are set by ReadCard - SVar is not a keyword. - TODO: Remove SVar keyword handler from CardFactory.
2011-08-06 07:29:15 +00:00
jendave
85d98b0229
* bugfixes spDamageAll, Teferi Puzzle Box
2011-08-06 07:27:59 +00:00
jendave
79f08e9904
- Added Ability_Cost and Target to Activated Ability to constructor.
...
- Changed keywords that use abCost to send in cost and target on creation instead of forcing the code to set it afterwards.
2011-08-06 07:27:53 +00:00
jendave
6e6ecce3fb
added Jester's Cap (from Ice Age) - not implemented for AI
2011-08-06 07:21:24 +00:00
jendave
ecc3e7580d
- Little AI improvements for spPumpTgtCurse targeting Indestructible creatures.
...
- Added a BuffedBy SVar to Harbor Serpent.
2011-08-06 07:21:16 +00:00
jendave
70d888282a
- Changed SubCounter to be consistent with other abCosts
...
- Changed Discard to be consistent with other abCosts
- Discard second parameter is now: Hand, Random, Any, or a <ValidType>
- Added Skyshroud Vampire
2011-08-06 07:20:11 +00:00
jendave
f9527723a3
- Fixed a rare bug with the keyword: When CARDNAME enters the battlefield, return a land you control to its owner's hand.
...
- Added Noggle Bridgebreaker.
2011-08-06 07:19:53 +00:00
jendave
71513d6b53
Added abDestroyTgt keyword. Uses Ability_Cost and Target objects.
2011-08-06 07:19:03 +00:00
jendave
29101769b4
1) fixed EndOfCombat.executeUntil() never being called
...
2) added a parameter to CardFactoryUtil.revertManland() for original cost
3) added Jade Statue (from original base Alpha)
2011-08-06 07:17:58 +00:00
jendave
04caf69169
- Changed Spike keyword to use Ability_Cost and Target, so targeting happens before Mana Payment.
2011-08-06 07:17:41 +00:00
jendave
d737b60ce0
- Added input_targetValid in Target_Selection for expanded Requirements coverage.
...
- Added V as an additional target parameter for abDamageTgt.
- Added Centaur Archer as a Sample of using abDamageTgtV.
2011-08-06 07:17:15 +00:00
jendave
7985bc0e48
Centralized all milling I could find.
2011-08-06 07:15:57 +00:00
jendave
ad985c158e
- Added untap cost to Ability_Cost.
...
- Added Merrow Grimeblotter as a sample
- Preparation for using Ability_Cost with spells as an additional cost (ex. Harrow)
2011-08-06 07:14:27 +00:00
jendave
b9200fff6c
The AI is now taking damage already dealt into account, when deciding to cast spPumpAllCurse spells.
2011-08-06 07:14:18 +00:00
jendave
6c92cc0884
- The AI is now taking damage already dealt into account when deciding to cast spDamageAll spells.
...
- Changed the targeting of players AI of spDamageTgt to what the comments say.
2011-08-06 07:14:13 +00:00
jendave
6a9f8175df
- Bugfix for spBounceTgt: Removed Drawback$ from the Drawback$ string which caused any spBounceTgt spell to draw X cards along with it's normal Drawback ability.
2011-08-06 07:13:50 +00:00
jendave
658b8a0381
No more cards.txt - now a card-per-file under /res/cardsfolder/
2011-08-06 06:16:16 +00:00
jendave
b4938a68a3
- A few minor edits and StringBuilder mods. Changing "T" to "tap".
2011-08-06 06:15:45 +00:00
jendave
198a0519b3
added abTapDestroyTgt keyword. Same Options as spDestroyTgt
2011-08-06 06:15:15 +00:00
jendave
9bd6e30c09
added AI for Mirror Universe
2011-08-06 06:14:35 +00:00
jendave
41814bff14
add Mirror Universe (from Legends). Note: Supposed to be limited to Upkeep step, but we can't do that now. So, It's limited to Main1.
2011-08-06 06:14:30 +00:00
jendave
617a9ff511
- Added Afflict, Bewilder, Constricting Tendrils, Darkblast, Dizzy Spell, Drag Down, Feeding Frenzy, Fleeting Distraction, Irradiate, Last Gasp, Lose Hope, Pull Under and Stabbing Pain.
...
- Added Curse option to Disorient.
2011-08-06 06:14:18 +00:00
jendave
7783fb0295
add Recurring Nightmare from Exodus. Note: not implemented for AI (RemAIDeck:True)
2011-08-06 06:14:07 +00:00
jendave
b99c986393
- Added PayLife as a new kind of Ability_Cost
...
- Pulled targeting from Ability_Cost into it's own class.
- Added Player info to PlayerLife
- Added Reckless Assault as a sample of PayLife<> cost.
2011-08-06 06:13:55 +00:00
jendave
86a1929c6f
- Added the option Curse to spPumpTgt.
...
- Added Disfigure.
2011-08-06 06:13:42 +00:00
jendave
092318653d
Added ThirdFromTopOfLibrary to possible destinations of spTutor.
2011-08-06 06:12:13 +00:00
jendave
35c342ee25
Fixed bug in spDiscard for "UnlessDiscardType" clause.
2011-08-06 06:11:39 +00:00