Commit Graph

10862 Commits

Author SHA1 Message Date
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
Chris
d7aab4c56f - Added a Description$ for the alt cost to the five Bringer of the {color} Dawn cards. 2011-09-19 20:01:50 +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
ab038841b3 - Fixed Gibbering Hyenas. 2011-09-19 18:58:35 +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
ArsenalNut
c0f62d4f62 added Mandatory to Castigate 2011-09-19 12:44:55 +00:00
Hellfish
1359fb1278 *Converted Barren Glory to script.
*Reverted properties file.
2011-09-19 11:05:52 +00:00
Sloth
ec763829dc - Added Invigorate. 2011-09-19 11:03:39 +00:00
Chris
3161b70597 - Added the recent commit logs to changes.txt. 2011-09-19 10:56:52 +00:00
Doublestrike
3ef325356c Fixed loading bug for old quest.dat files. 2011-09-19 10:54:33 +00:00
Chris
5d5da12c10 - Ran oracle script. 2011-09-19 10:53:33 +00:00
Chris
8821f93dea - Ran set info script. 2011-09-19 10:52:25 +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
ArsenalNut
f0532e8f24 Added check for null string to fix crash (Issue# 312) 2011-09-19 02:12:45 +00:00
Sloth
2ce4e24b6a - Added the cost "OppGainLife".
- Added Reverent Silence.
2011-09-18 20:25:43 +00:00
Hellfish
4ad21d31a6 *Converted Sylvan Library to using a Trigger object rather than a hardcoded function (Last of the old drawCardEffect cards in GameActionUtil! Woo!)
*Converted Standstill to script.
*Moved (OPTIONAL)-marking of stack items to after their number.
2011-09-18 18:34:23 +00:00
Maxmtg
4322f5e2ca PlayerZones Moved into Player class
ZoneNames are listed in enum
Removed lots of calls to AllZoneUtil
2011-09-18 18:10:51 +00:00
Sloth
529944606a - Fixed AI paying life costs twice. 2011-09-18 15:02:29 +00:00
Sloth
663be65c77 - Made the Ned Flanders 1 deck less powerful. 2011-09-18 14:28:39 +00:00
Sloth
ea7256cf67 - Little code simplifications in TriggerHandler class. 2011-09-18 13:01:19 +00:00
Sloth
8ef92577ca - Fixed Animate Artifact. 2011-09-18 12:23:45 +00:00
Sloth
9e4dbf61a0 - Little fix for last commit. 2011-09-18 12:02:00 +00:00
Sloth
20d132e12d - Added Humility. 2011-09-18 12:00:27 +00:00
Doublestrike
d1bf8a4b14 In quest mode, "Quests" universally renamed to "Challenges".
Quest mode now features events, such as duels and challenges.
2011-09-18 11:28:27 +00:00
Sloth
1041925211 - Fixed Opalescence. 2011-09-18 11:16:12 +00:00
Sloth
afaeba6be7 - Converted Titania's Song to continuous static ability.
- Commented out the stAnimate keyword.
2011-09-18 11:10:11 +00:00
Chris
cf17979a97 - Added the recent commit logs to changes.txt. 2011-09-18 10:59:48 +00:00
Chris
3a2e7c88f0 - Ran oracle script. 2011-09-18 10:58:29 +00:00
Chris
037d118e55 - Ran set info script. 2011-09-18 10:57:24 +00:00