Commit Graph

3184 Commits

Author SHA1 Message Date
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
jendave
df7d912c9f - Converted Beast Attack to keyword. 2011-08-06 09:23:32 +00:00
jendave
104f193796 - Fixed a player string/object bug in the whenever keyword with the DealsDamage trigger. 2011-08-06 09:23:25 +00:00
jendave
0887c34977 - Added Rootrunner. 2011-08-06 09:23:19 +00:00
jendave
1ee7bcc779 Convert player to a class: Player.java
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.
2011-08-06 09:23:10 +00:00
jendave
61161b3142 - Converted Elephant Ambush to keyword.
- Added rarity and LQ pic url to Combust.
2011-08-06 09:22:21 +00:00
jendave
9aaa3e26f2 - Added Armillary Sphere, Dreamscape Artist and Planar Portal.
- Converted Terramorphic Expanse and Evolving Wilds to keyword.
2011-08-06 09:22:13 +00:00
jendave
083817ab57 - Added Altar of Bone, Crop Rotation, Diabolic Intent and Skyshroud Claim.
- Converted 3 cards from spTutor to SP$Fetch.
2011-08-06 09:22:03 +00:00
jendave
ddcd7ce92d - Minor fix to Jace, the Mind Sculptor. 2011-08-06 09:21:53 +00:00
jendave
7ca430ad69 - Added the Flashback code to the end of the spMakeToken keyword.
- Converted Call of the Herd to keyword.
2011-08-06 09:21:47 +00:00
jendave
0ea28adabf - Adding updated Python script that will update each cards data file with the three letter abbreviation of each set the card appears in. 2011-08-06 09:21:40 +00:00
jendave
a3fa34d018 *Added Combust 2011-08-06 09:21:35 +00:00
jendave
e513873dea - Fixed the HQ pic URL for To Arms!. 2011-08-06 09:21:29 +00:00
jendave
4206cb3855 delete code for keyworded Creatures. 2011-08-06 09:21:23 +00:00
jendave
1cf610c933 delete code for keyworded Sorcery cards. 2011-08-06 09:21:17 +00:00
jendave
c300b1a248 consolidate abilties of Ali from Cairo, Worship, Fortune Thief and Sustaining Spirit. 2011-08-06 09:21:12 +00:00
jendave
16e09d6ef2 - Fixed the YouCtrl issue with abTap and abUntap. 2011-08-06 09:21:06 +00:00
jendave
672ef6c453 - Added Seek the Horizon and Gaea's Bounty.
- Converted 3 spTutor spells to SPFetch (because the AI is better).
2011-08-06 09:21:01 +00:00
jendave
ee5b7736a5 add Venser's Journal (from Scars of Mirrodin) 2011-08-06 09:20:52 +00:00
jendave
e6e20fb28b added some temporary debug code in Card.isValidCard methods since myself and at least 1 other person has been bit by:
1) YouCtrl/YouDontCtrl not being checked
2) "Artifact,Creature,Land" only recognizing Artifacts as valid.
2011-08-06 09:20:45 +00:00
jendave
5545df9495 comment fix in abUntapAll keyword 2011-08-06 09:20:39 +00:00