Commit Graph

5983 Commits

Author SHA1 Message Date
Sloth
5ce48e46ec - Added the player keyword "Prevent all damage that would be dealt to you".
- Added Personal Sanctuary.
2011-09-25 11:22:40 +00:00
Hellfish
487e2483cf *Minor fix to the new Home Screen(nice and understandable code); Picking random deck for the AI causes it to echo the deck chosen for the human. 2011-09-25 09:32:46 +00:00
Sloth
f60f0b52c9 - Cleanup of stAnimate. 2011-09-25 08:13:00 +00:00
Sloth
38b6e1453d - copyCard will now copy remembered objects (this could make some more use of ClearRemembered CleanUp necessary).
- Fixed Admonition Angel.
2011-09-25 08:11:51 +00:00
Rob Cashwalker
1d756d74ea Change the absolute path to relative path for graphics. 2011-09-24 20:10:22 +00:00
Sloth
d9ef87e149 - Disabled the use of AF ChooseColor for the AI. 2011-09-24 19:42:50 +00:00
Sloth
3ace3d25e7 - Completed the fix for delayed triggers. 2011-09-24 18:10:29 +00:00
Rob Cashwalker
b40c3d1b2a Adds first draft of HomeScreen gui. Requires an environmental variable to be present in order to enable it.
Move ManaSymbol initialization from OldGuiNewGame to ApplicationView.
2011-09-24 17:44:15 +00:00
Rob Cashwalker
fd55737978 Add CustomPool property to deck file for filtering from HomeScreen's deck list. 2011-09-24 16:43:14 +00:00
Rob Cashwalker
c064acf9e4 Removed a few commented references of OldGuiNewGame. 2011-09-24 16:32:51 +00:00
Sloth
8d4592e2cf - Changed generateDuels to the old system (ending with one very hard and two hard opponents). 2011-09-24 12:39:12 +00:00
Sloth
a70dbe64e2 - Fixed the possible crash in assembleDuelUniquedata. 2011-09-24 12:25:40 +00:00
Sloth
c8f344491d - Fixed delayedTriggers. 2011-09-24 11:51:55 +00:00
Sloth
a370b638bf - Fixed Oblivion Ring (by changing getCardState to search all zones for the card). 2011-09-24 11:30:24 +00:00
Sloth
5e857f9ecc - Little AI improvements in AF ChangeZone Hidden. 2011-09-24 10:25:30 +00:00
Sloth
d1f3b3164b - Fixed destroyPlaneswalkers checking non-Planeswalker types (so two Artifact Planeswalker won't destroy each other). 2011-09-24 07:18:12 +00:00
Sloth
9daacbae6b - Added a Planeswalker check to AbilityFactory.playReusable to make the AI use the abilities each turn (without random factor). 2011-09-23 19:11:29 +00:00
Sol
a45e8a8c74 Improve error message in CardRules 2011-09-23 14:40:16 +00:00
Hellfish
c9f585f38c *Partially converted Venser, the Sojourner to script. 2011-09-23 12:27:00 +00:00
Sloth
65d519c59b - Added the parameter "AtRandom" to AF ChangeZone Hidden.
- Added Ghoulraiser.
2011-09-23 10:40:40 +00:00
ArsenalNut
7070a2d4db added Morbid to GameActionUtil.specialConditionsMet to support etbCounter 2011-09-23 02:06:15 +00:00
Hellfish
6cae7c4c26 *Fixed a stupid oversight in the ManaNeededToAvoidNegativeEffect code. 2011-09-22 14:51:23 +00:00
Hellfish
ec65b5d300 *Fixed ThisTurnEntered 2011-09-22 14:26:08 +00:00
Hellfish
d495b687f4 *Added ManaSpent & ManaNotSpent restrictions to Triggers. Triggers with ManaSpent$ Green for instance will only go off if Green mana was spent to cast the host card.
*New AI SVar; "ManaNeededToAvoidNegativeEffect". This is a comma-separated list of colors the AI will try to use to pay for the cost, but only if it actually has a source for that color mana.
*Added Plaxmanta.
2011-09-22 13:42:16 +00:00
Hellfish
44c5f1188d *Added Radiance parameter to AF_PreventDamage & AF_Protection.
*Added StackDescription handling of Radiance for all affected AFs (DealDamage,Destroy,PreventDamage,Protection & Pump)
*Added
	Bathe in Light
	Wojek Apothecary
2011-09-22 11:42:11 +00:00
Hellfish
795c4cbead *Added Radiance parameter to AF_Destroy.
*Converted Leave No Trace to Radiance parameter.
2011-09-22 09:23:03 +00:00
Maxmtg
5e464d1753 issue 322 2011-09-22 04:31:01 +00:00
Maxmtg
c84bbb9751 DeckImport is transferring cards to deckeditor. The whole deckediting still needs improvement. 2011-09-22 01:53:14 +00:00
Maxmtg
bbab59e766 refactored and a bit improved DeckImport 2011-09-21 15:27:17 +00:00
Hellfish
98aefb5a6b *Added initial Radiance parameter to AF_DealDamage.
*Converted Wojek Embermage to script.
*Converted Cleansing Beam to Radiance parameter.
*Fixed one of the Haunt triggers, previously it would bug the AIs ETB trigger evaluation.
*Added Count$DamageDoneThisTurn
*Added Brightflame
2011-09-21 14:19:09 +00:00
Hellfish
676e60cfa7 *Separated targeted cards to pump from untargeted cards to pump. Fixes the example where a black creature with Prot White doesn't get pumped when Wojek Siren targets another black creature. I will attempt to insert this basic structure into the other AFs that Radiance cards can use. 2011-09-21 07:49:37 +00:00
Maxmtg
d742205910 some tuning for deckimport appearance 2011-09-21 04:45:47 +00:00
ArsenalNut
b1eb571296 Added partial RememberSacrificed support to Sacrifice. Cannot remember Human choices because of game actions in GUI 2011-09-21 04:34:28 +00:00
Maxmtg
b270e744ef DeckImport - wip 2011-09-21 04:00:53 +00:00
Maxmtg
33ce88cb56 Deck recognition (work in progress)
Card.isSick returned
some DeckEditor-related classes renamed
2011-09-21 01:14:42 +00:00
Sol
ffe83b0af3 - Added support for Attaching to Players on Auras ETB Indirectly. 2011-09-21 00:37:12 +00:00
Maxmtg
0f6fbfe728 DeckAnalysis moved to package with deckeditors, Default deckeditor has a button to invoke interactive deck import. 2011-09-20 23:05:42 +00:00
Hellfish
470b64e453 *Fixed the mouse hover on the stack cardpanels.
*Fixed Simian Brawler
2011-09-20 21:43:41 +00:00
Hellfish
f27e85bd83 *Added Radiance parameter to AF_Pump
*Added
	Incite Hysteria
	Surge of Zeal
	Wojek Siren
2011-09-20 18:20:08 +00:00
Hellfish
75221cacbb *Added Haunt keyword
*Added
	Absolver Thrull
	Belfry Spirit
	Benediction of Moons
	Blind Hunter
	Cry of Contrition
	Exhumer Thrull
	Graven Dominator
	Orzhov Euthanist
	Seize the Soul
2011-09-20 16:16:52 +00:00
Maxmtg
7bf5ccc6e9 isSick removed from Card in favour of hasSickness 2011-09-20 15:58:29 +00:00
Maxmtg
71f00b3c8d Renamed attachCard => attachCardByMindsDesire because it's the only way the field is uses. Hope someone will refactor the whole spell. 2011-09-20 15:31:21 +00:00
Maxmtg
f451e59add just a couple of comments 2011-09-20 14:50:23 +00:00
Sloth
286c9650c6 - Cleanup in two CardFactories. 2011-09-20 09:05:27 +00:00
Sloth
cdb24d72de - Converted Echoing Courage to script. 2011-09-20 08:50:47 +00:00
Sloth
3d552dcaf3 - Cleanup (mostly in CardFactory_Creatures). 2011-09-20 08:34:46 +00:00
Sloth
e44820b3db - Made getAffectedCards in StaticAbility_Continuous compatible with the new AllZoneUtil.getCardsIn function. 2011-09-20 08:28:49 +00:00
Sol
578ec40032 XPaid can now be used with XMath
Converted Banshee to Script
2011-09-20 03:27:10 +00:00
Maxmtg
7fc425fb0a isCardInPlayerGraveyard no longer there. 2011-09-20 03:23:21 +00:00
Maxmtg
165b6eb47e getPlayerTypeIn from AllZoneUtil removed in favour of player.getCardsIn(zone).getType(type) 2011-09-20 03:13:48 +00:00