jendave
0431fdb57c
- Converting all LimitedAbility cards to SA_Restriction.ActivationLimit
2011-08-06 10:01:22 +00:00
jendave
d1460dc725
- Mishra's Factory now uses AF_Pump
...
- Goldmeadow Lookout, Oran-Rief, Magosi updated to use Ability_Activated
2011-08-06 10:00:31 +00:00
jendave
c2e91bedd0
Major Phase Overhauling.
...
- 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
2011-08-06 10:00:15 +00:00
jendave
3a490108d3
1) move majority of discard code to Player classes
...
2) update calls to use move functions
3) changed code calls from Player.subtractLife to Player.loseLife (and made subtractLife private)
2011-08-06 09:59:28 +00:00
jendave
fdd466d250
Fixed minor description with Scourge of kher ridges
2011-08-06 09:58:38 +00:00
jendave
5d380f7835
- Conversion to StringBuilder. This finishes CardFactory_Creatures. :)
2011-08-06 09:48:45 +00:00
jendave
121b5545f6
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:48:31 +00:00
jendave
157c6e8cc5
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:48:18 +00:00
jendave
048d9a8789
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:47:49 +00:00
jendave
96fa1d8902
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:47:43 +00:00
jendave
8817790c4c
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:47:37 +00:00
jendave
270c2fc87d
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:47:32 +00:00
jendave
9cdd6cca71
- Conversion to StringBuilder. Still working on CardFactory_Creatures.
2011-08-06 09:47:26 +00:00
jendave
5c8c2b5e59
- Conversion to StringBuilder. Still working on CardFactory_Creatures. This class will take some time to finish, sorry for the disruption.
2011-08-06 09:47:20 +00:00
jendave
f4aaae6fa3
- Conversion to StringBuilder. Now working on CardFactory_Creatures. I will have to finish this class sometime tomorrow.
2011-08-06 09:46:45 +00:00
jendave
3371e2305c
add Leveler (from Mirrodin)
2011-08-06 09:44:21 +00:00
jendave
1dbb681306
add Seasinger (from Fallen Empires)
2011-08-06 09:43:07 +00:00
jendave
97da909cad
add Ragnar (from Legends)
2011-08-06 09:40:10 +00:00
jendave
0982034515
- Corrected Macabre Waltz.
...
- Fixed Voja color.
- Converted Karmic Guide to keyword.
- Added Crypt Angel, Izzet Chronarch and Leonin Squire.
2011-08-06 09:39:48 +00:00
jendave
281be1452c
updating calls to GameAction.shuffle (part 3)
2011-08-06 09:38:51 +00:00
jendave
54f96f92ee
updating drawCard calls (part 5)
2011-08-06 09:37:52 +00:00
jendave
c740374bb4
updating drawCard calls (part 3)
2011-08-06 09:37:40 +00:00
jendave
0d8cb152cc
add Well-Laid Plans (from Invasion)
2011-08-06 09:36:36 +00:00
jendave
20cc60a0a1
consolidating Doubling Season code (part 1/2)
2011-08-06 09:34:01 +00:00
jendave
ac65654080
- Added Moriok Scavenger, Scrivener, Tilling Treefolk and Treasure Hunter.
...
- Converted Strongarm Thug.
2011-08-06 09:33:53 +00:00
jendave
072d42eec8
- Converted these cards to keyword: Anarchist, Cartographer, Eternal Witness, Sanctum Gargoyle, Sharuum the Hegemon, Auramancer, Monk Idealist, Cadaver Imp, Corpse Cur, Gravedigger and Mnemonic Wall.
2011-08-06 09:33:36 +00:00
jendave
1d814ac738
update calls that get cards from zones to more standard functions.
2011-08-06 09:33:24 +00:00
jendave
7ec8ecd0cb
Fix Gwafa Hazid, Profiteer ability description
2011-08-06 09:30:59 +00:00
jendave
dcc6400139
code cleanup related to tokens
2011-08-06 09:29:54 +00:00
jendave
1a02e4fa30
updating a bunch of calls to makeToken to pass in the Player instead of a Card.
2011-08-06 09:29:48 +00:00
jendave
c12b17affb
more code cleanup for Zones.
2011-08-06 09:29:33 +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
e256ec93ce
updating code to call new damage functions in Card.java
2011-08-06 09:28:56 +00:00
jendave
5465010b0e
- Fixed Roc Egg.
2011-08-06 09:28:36 +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
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
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
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
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
4206cb3855
delete code for keyworded Creatures.
2011-08-06 09:21:23 +00:00
jendave
b9313c577e
"Human" -> Constant.Player.Human; "Computer" -> Constant.Player.Computer
2011-08-06 09:19:31 +00:00
jendave
0085f1d879
- Keyworded Mindless Automaton.
...
- Fixed type of Workhorse and keyworded the etbcounter ability.
2011-08-06 09:18:35 +00:00
jendave
f8fe1e703d
Added:
...
Adamaro, first to desire
Masumaro, first to live
Quagnoth
Kavu Titan
Vampiric Dragon
Emperor Crocodile
Seedborn Muse
2011-08-06 09:16:47 +00:00
jendave
d5216506d1
Added:
...
Triskevalus (not fully functional)
Palinchron
Great Whale
Thopter Squadron
Mistform Ultimus
2011-08-06 09:16:04 +00:00
jendave
fe74a54b33
Updating Thalakos Drifters,
...
Adding Sunscape and Nightscape Master
2011-08-06 09:15:48 +00:00
jendave
8c8951263b
- Added AF_Combat for Fog. The first iteration of the Fog ability is for Preventing All of Combat Damage. The Fog ability is used in many different circumstances, so we can add each one as we go.
...
- Converted Spike Weaver to keyword
- Added Dawnstrider
2011-08-06 09:14:03 +00:00