Commit Graph

3104 Commits

Author SHA1 Message Date
jendave
0cd83a7b74 code cleanup in GameAction.java 2011-08-06 09:29:27 +00:00
jendave
1c53ee1664 more tweaks from converting Player to a class. 2011-08-06 09:29:21 +00:00
jendave
a708df58de forgot a couple UIDs. 2011-08-06 09:29:15 +00:00
jendave
77eebb5272 add Ezuri, Renegade Leader (from Scars of Mirrodin) 2011-08-06 09:29:09 +00:00
jendave
614ce66a03 second pass at moving card damage code to Card.java 2011-08-06 09:29:02 +00:00
jendave
e256ec93ce updating code to call new damage functions in Card.java 2011-08-06 09:28:56 +00:00
jendave
72cc6dc52f updating code to call new damage functions in Card.java 2011-08-06 09:28:50 +00:00
jendave
3581b87313 first pass at moving card damage code to Card.java 2011-08-06 09:28:43 +00:00
jendave
5465010b0e - Fixed Roc Egg. 2011-08-06 09:28:36 +00:00
jendave
dfa71d369e 1) change calls from AllZone.GameAction.addCombatDamage(player, src, num) to player.addCombatDamage(num, src)
2) code cleanup
2011-08-06 09:28:30 +00:00
jendave
65d2ae5380 update GUI zone names to be better in line with current rules. 2011-08-06 09:28:24 +00:00
jendave
be6e9c0e70 make Player class abstract. Create 2 sub-classes AIPlayer and HumanPlayer. They are just bare-bones at this point.
Now, we should be able to move things one by one to the Human/AI subclasses from GameAction.java.
2011-08-06 09:28:18 +00:00
jendave
e64fcb5374 - Added the Panoramas and Wickerbough Elder. 2011-08-06 09:28:11 +00:00
jendave
50bb0e7028 - Restructered and outsourced most parts of isValidCards. 2011-08-06 09:28:01 +00:00
jendave
5a80821690 - Added Tapped paramater for AF_Fetch for cards that ETB Tapped after being fetched.
- Fixed Evolving Wilds and Terramorphic Expanse
2011-08-06 09:27:55 +00:00
jendave
71c493cedd - Added Untap as an AbilityFactory
- 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
2011-08-06 09:27:48 +00:00
jendave
f6a46abdf1 AllZone.GameAction.addDamage -> player.addDamage 2011-08-06 09:27:36 +00:00
jendave
5f605da939 more removeFromGame -> Exile 2011-08-06 09:27:30 +00:00
jendave
4d112ed03e we have two functions that do the same thing. GameAction.exile(c) and GameAction.removeFromGame(c). Exile is the new language, so I left this function and updated all calls to use exile(c) 2011-08-06 09:27:22 +00:00
jendave
aac1e35ff1 add Magistrate's Scepter (from Mercadian Masques) 2011-08-06 09:27:14 +00:00
jendave
92a4d5bf0b Changed how GUI_NewGame.getRandomDeck calculates a random number. 2011-08-06 09:27:06 +00:00
jendave
e7beb75a19 - Added Morbid Hunger. 2011-08-06 09:27:01 +00:00
jendave
17931ac14e - Added Marshaling Cry. 2011-08-06 09:26:53 +00:00
jendave
c91b9b6aa8 delete temp DEBUG code in Card.java 2011-08-06 09:26:47 +00:00
jendave
ff9c12a233 updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places. 2011-08-06 09:26:42 +00:00
jendave
5fd34133e2 updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places. 2011-08-06 09:26:37 +00:00
jendave
ad4d4e8127 updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places. 2011-08-06 09:26:31 +00:00
jendave
a5762af7e3 updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places. 2011-08-06 09:26:25 +00:00
jendave
909b56b6d1 fix Sanity Grinding when numCards > lib.size() 2011-08-06 09:26:20 +00:00
jendave
a04748ef89 updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places. 2011-08-06 09:26:14 +00:00
jendave
3102dc1234 - Added Howling Gale and Volcanic Spray. 2011-08-06 09:26:09 +00:00
jendave
36cc81fccf updating AllZone.GameAction.addDamage(player,src, num) to player.addDamage(num,src) in a few places. 2011-08-06 09:26:02 +00:00
jendave
3c7c94bb03 - Converted Survival of the Fittests and Fauna Shaman to AF_Fetch Ability. 2011-08-06 09:25:56 +00:00
jendave
58181acd5c - Added two new SA_Restrictions (SorcerySpeed, PlayerTurn) and converted Ability.AnyPlayer to Restriction
- 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
2011-08-06 09:25:48 +00:00
jendave
fc679b0751 - Converted Tenza, Godo's Maul to stPump. 2011-08-06 09:25:36 +00:00
jendave
c3da0efdc9 - Added Folk Medicine. 2011-08-06 09:25:31 +00:00
jendave
ecc6f3b1cf - Fixed issues with colorless manlands not sending color in properly. 2011-08-06 09:25:25 +00:00
jendave
a1bc056834 - Added Legendary supertype to Skeleton Ship and Spirit of the Night. 2011-08-06 09:25:19 +00:00
jendave
cd5511c25f - Converted Think Twice to keyword. 2011-08-06 09:25:13 +00:00
jendave
8648231722 - Converted Crush of Wurms and Roar of the Wurm to keyword. 2011-08-06 09:25:06 +00:00
jendave
fda086b051 - Converted Acorn Harvest to keyword. 2011-08-06 09:24:59 +00:00
jendave
b9a2a5c6f0 - Changed all Ability_Hand with Ability_Activated and SA_Restriction. Suspend now a Static Ability
- Deleted Ability_Hand
- Code Cleanup in CardFactories. More Common Keywords are checked in one location after coming back from separated Factories.
- Cloud of Faeries, Ichor Slick, and Street Wraith now have a keyworded cycling ability.
2011-08-06 09:24:51 +00:00
jendave
9bbf0cee64 add Imi Statue (from Champions of Kamigawa) 2011-08-06 09:24:39 +00:00
jendave
ac83f23fb5 - Added Burrenton Bombardier and Mosquito Guard 2011-08-06 09:24:32 +00:00
jendave
0112d55cf2 - Added early stages of SpellAbility_Restriction, which can activate Abilities from different zones.
- Ability_Activated.canPlay() now checks SA_Restriction.canPlay()
- Added Channel ability for Ghost-Lit Redeemer
- Added Ghost-Lit Raider
2011-08-06 09:24:25 +00:00
jendave
7da15f7895 - Converted Beast Attack, Call of the Herd and Elephant Ambush to the Flashback keyword.
- Removed the now un-needed Flashback code from spMakeToken.
2011-08-06 09:24:14 +00:00
jendave
9bbe7c1c4b - Fixed and moved the Flashback keyword and it is now functional.
- Converted Chatter of the Squirrel to the Flashback keyword.
2011-08-06 09:24:06 +00:00
jendave
748ab4609f - Converted Chatter of the Squirrel to keyword. 2011-08-06 09:23:59 +00:00
jendave
a6ab6678d9 - Added LoseLife to AF_AlterLife
- Converted Bile Urchin to AB$LoseLife
- Player class needed to UpdateObservers in a few spots that change life.
2011-08-06 09:23:51 +00:00
jendave
2dc420f95f - Added AltCost SVar to handle cards that have an Alternative Casting Cost.
- 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
2011-08-06 09:23:43 +00:00