Commit Graph

5753 Commits

Author SHA1 Message Date
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
Maxmtg
d4aaddcaa2 two useless functions in AllZoneUtil less. 2011-09-20 02:52:28 +00:00
Maxmtg
613b5a2bbd contains() added to PlayerZone - that's another AllZoneUtil call eliminated as well as useless copying to arrays with the only purpose of checking 2011-09-20 02:37:44 +00:00
Maxmtg
608c8a4705 Removed CardListFilter creation in AllZoneUtil, re-wired it to CardList.get... - which include both filter creation and filtering. 2011-09-20 02:19:34 +00:00
Maxmtg
b307aae220 fixing another place for NPE 2011-09-20 02:00:46 +00:00
Maxmtg
d326149ba6 moved getPlayersInGame from AllZoneUtil to AllZone (together with getHumanPlayer and getComputerPlayer)
removed getTypeIn() from AllZoneUtil, all ocurrencies use getCardsIn().filter(CardListFilter.type)... does not allocate memory for filter each time.
2011-09-20 01:46:24 +00:00
Maxmtg
035ab8cfb6 Commonly used CardFilters moved to CardListFilter file 2011-09-20 01:26:28 +00:00
Maxmtg
9917121e0c ETB zone fixed 2011-09-20 00:26:07 +00:00
Maxmtg
dd25a45362 Target spell choice for counterspell (and similiar cards) is fixed 2011-09-19 23:02:07 +00:00
Maxmtg
fb26392eda clear triggerHandler moved to FGameState 2011-09-19 19:18:47 +00:00
Maxmtg
c08920bceb just trying to understand things (comment added) 2011-09-19 19:18:05 +00:00
Maxmtg
6595515733 fix for crash when was querying Stack zone from global getCardsIn(List<Zone>) 2011-09-19 19:17:41 +00:00
Sloth
f0e932adea - Fixed Orcish Veteran. 2011-09-19 18:52:26 +00:00
Doublestrike
f03ec1eeae Minor fix 2011-09-19 13:37:23 +00:00
Hellfish
1359fb1278 *Converted Barren Glory to script.
*Reverted properties file.
2011-09-19 11:05:52 +00:00
Doublestrike
3ef325356c Fixed loading bug for old quest.dat files. 2011-09-19 10:54:33 +00:00
Hellfish
58f4b5e7a8 *Changed the counters-property to "counters_<Comparator><Value>_<CounterType>" Where
<Comparator> = LT or LE or EQ or NE or GE or GT
     <Value> = Integer or SVarname
     <CounterType> = Any countertype
     Separating it like this removes the restrictions that only X or Y could be used for SVarNames or single digits for integers.
     Unfortunately it also makes for a massive commit.
*Changed all cards that use the counters-property to the new format.
*Converted Helix Pinnacle to script.
2011-09-19 10:43:23 +00:00
Maxmtg
6bcd32193b removed PlayerIndex, players' stats are keyed by name, allowing multiple uniquely-named players 2011-09-19 09:10:05 +00:00
Hellfish
8c6baf3df9 *Converted Felidar Sovereign and Test of Endurance to script. 2011-09-19 09:02:25 +00:00
Hellfish
bdbdba2dbd *Converted Near-Death Experience to script. 2011-09-19 08:44:21 +00:00
Hellfish
c6f2407841 *Converted Mortal Combat to script. 2011-09-19 08:25:31 +00:00
Maxmtg
2c7759c470 Timetwister was querying Stack from player... had to add, otherwise it would crash 2011-09-19 08:00:17 +00:00
Maxmtg
211f5db12c removed call to global context for local property 2011-09-19 07:59:37 +00:00
Maxmtg
4063692309 untied InputControl from AllZone (mostly, except for display) 2011-09-19 07:59:03 +00:00
Maxmtg
43cc5e45be getManaPool removed from AllZone (manapool already was a player's property) - just removed global refs 2011-09-19 05:14:08 +00:00
Maxmtg
eaad67694e matchState is no longer public and deprecated for that
renamed function finding card's current zone getZone(card) to getZoneOf(card)
2011-09-19 05:03:56 +00:00
Maxmtg
18a7b1b433 ALL_ZONES added to Player, some functions in AllZone now use GameState 2011-09-19 04:52:39 +00:00
Maxmtg
894cd44d0c unused imports removed en-masse. 2011-09-19 02:41:44 +00:00
Maxmtg
8db13b6cd5 Some bughunting: replaced expressions Zone.equals(String_literal) for those equals would return false always, and zone names should not be magic-strings. 2011-09-19 02:39:06 +00:00
ArsenalNut
e6094843f4 Added support for EnchantedPlayer to triggers and defined. Added EnchantedPlayerCtrl as a property test for cards 2011-09-19 02:20:34 +00:00
ArsenalNut
827cbe70ec added STUDY to counter enumerated list for Grimoire of the Dead 2011-09-19 02:16:29 +00:00