jendave
0dcc77620c
updating a bunch of calls to makeToken to pass in the Player instead of a Card.
2011-08-06 09:29:40 +00:00
jendave
e256ec93ce
updating code to call new damage functions in Card.java
2011-08-06 09:28:56 +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
e7beb75a19
- Added Morbid Hunger.
2011-08-06 09:27:01 +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
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
748ab4609f
- Converted Chatter of the Squirrel to keyword.
2011-08-06 09:23:59 +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
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
1cf610c933
delete code for keyworded Sorcery cards.
2011-08-06 09:21:17 +00:00
jendave
431a048aff
"Human" -> Constant.Player.Human; "Computer" -> Constant.Player.Computer
2011-08-06 09:19:36 +00:00
jendave
6b189dea3a
- Converted Life from the Loam and Reinforcements to keyword.
2011-08-06 09:18:44 +00:00
jendave
cea86e746a
Removed Sunlance and Strafe; they are now keyworded.
2011-08-06 09:18:04 +00:00
jendave
e0be0e3da3
- fixed the nullpointer bug with Tithe. (realized that the card is in no way properly implemented).
...
- Converted to keyword: Sunlance and Nameless Inversion.
2011-08-06 09:17:48 +00:00
jendave
a2b531e21c
Added Strafe
2011-08-06 09:17:28 +00:00
jendave
aa388f5bcd
add Winds of Change (from Legends)
2011-08-06 09:14:19 +00:00
jendave
c363c68958
add Dust to Dust (from The Dark)
2011-08-06 09:09:58 +00:00
jendave
481b596714
add Overwhelming Stampede (from Magic 2011)
2011-08-06 09:06:26 +00:00
jendave
cd15b720b4
- Converted Reckless Abandon and Goblin Grenade to use DealDamage Ability Factory
...
- Added Fiery Conclusion, Magma Rift, Shard Volley, Shrapnel Blast, Sonic Burst, Sonic Seizure
2011-08-06 09:02:37 +00:00
jendave
9c853300ba
fix many instances of subtractLife when it should be addDamage (CardFactory_Sorceries.java)
2011-08-06 09:00:21 +00:00
jendave
d348629d27
add Reckless Abandon (from Urza's Destiny) and fix Goblin Grenade to addDamage instead of subtractLife.
2011-08-06 08:59:24 +00:00
jendave
453730e600
- Converted False Mourning and Salvage to the spReturnTgt keyword and deleted the unneeded code block.
2011-08-06 08:56:47 +00:00
jendave
ccc2b8f363
- Converted Elven Cache and Regrowth to spReturnTgt keyword.
...
- Deleted the code block for Elven Cache and Regrowth.
2011-08-06 08:56:03 +00:00
jendave
b0163982e8
- Deleted the unneeded code block for Breath of Life; False Defeat; Resurrection and Zombify.
2011-08-06 08:55:50 +00:00
jendave
7e4f381d3d
- Changed Reanimate to use AI_getBestCreature.
2011-08-06 08:46:51 +00:00
jendave
a406c4cf82
simplify Saproling token creation
2011-08-06 08:45:50 +00:00
jendave
c93786efe6
add Last Stand (from Ravinica: City of Guilds)
2011-08-06 08:44:49 +00:00
jendave
8750bfa6b5
convert Goblin Offensive to spMakeToken keyword
2011-08-06 08:43:20 +00:00
jendave
07b0a0f570
add Sanity Grinding (from Eventide)
2011-08-06 08:42:44 +00:00
jendave
a33c530ba7
color simplifications
2011-08-06 08:39:33 +00:00
jendave
9ce73a11d7
- Added isCreatureType to CardUtil.
...
- Changed isType to use isCreatureType to check for Changelings.
- Added World, Lair, Locus and Fortification to the list of non-creature types.
- Fixed Patriarch's Bidding to only accept creature types and work with changelings.
2011-08-06 08:24:40 +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
5683bc81da
Removed getPlaneswalkerSubtype from GameAction. Wasn't needed.
2011-08-06 08:18:37 +00:00
jendave
643af4ea62
- Added missing ability of Spiritmonger.
...
- Added False Mourning and Salvage.
- Converted Fists of the Demigod to stPump.
2011-08-06 08:18:30 +00:00
jendave
fa8dcf8cc1
- Deleted some keyworded spell entries in CardFactory_Srceries.java.
...
- Set Mind's Desire to be immutable.
2011-08-06 08:18:09 +00:00
jendave
3cc136968e
converting the following cards to spMakeToken keyword:
...
Hunting Pack
Join the Ranks
Raise the Alarm
Reach of Branches
Skittering Invasion
Sound the Call
Spectral Procession
Storm Herd
2011-08-06 08:17:29 +00:00
jendave
f7c4438faa
update Feral Lightning to use spMakeToken keyword
2011-08-06 08:17:05 +00:00
jendave
56317388e2
convert Empty the Warrens to spMakeToken keyword.
2011-08-06 08:16:53 +00:00
jendave
314af3ec90
migrate Dragon Fodder and Howl of the Night Pack to spMakeToken keyword.
2011-08-06 08:16:35 +00:00
jendave
d27c9302ef
add Cerebral Eruption (from Scars of Mirrodin)
2011-08-06 08:14:03 +00:00
jendave
eca3402372
- Reanimate should work only on creatures now.
2011-08-06 08:13:32 +00:00
jendave
440814fc15
- Converted Animate Dead from a Sorcery to an Enchantment Aura.
2011-08-06 08:13:20 +00:00
jendave
2c07ba4d86
add Insurrection (from Onslaught)
2011-08-06 08:10:21 +00:00
jendave
3534de67a7
Added Slave of Bolas.
2011-08-06 08:04:28 +00:00
jendave
b92bd72efa
minor fix to input prompt for Energy Tap
2011-08-06 08:03:55 +00:00
jendave
033db48e56
- Minoe edits to Patriarch's Bidding.
2011-08-06 08:03:37 +00:00
jendave
cf93cdee84
Converted these spells to keyword: Tremor, Needle Storm and Pyroclasm.
2011-08-06 07:29:23 +00:00