Commit Graph

6561 Commits

Author SHA1 Message Date
Maxmtg
cc799addb3 Missing cards calculation is attached on top of CardDb.ctor 2013-06-05 21:19:58 +00:00
Maxmtg
c108d462c2 experimental parameter "OneOff" for triggers - fixes chandra_the_firebrand.txt 2013-06-05 20:41:45 +00:00
Maxmtg
dd615480a1 CardDb recieves editions in special order, and adds newest editions first. Thus the values of MapOfLists<String, PaperCard> allCardsByName are arranged - newest prints come first 2013-06-05 20:09:12 +00:00
Maxmtg
f05d8e9b80 renamed again... previous name was too similiar to cardsfolder 2013-06-05 19:42:25 +00:00
Maxmtg
df07e57f77 Sidereal's change to gauntlets from http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=10605
(i've never tested it)
2013-06-05 19:28:25 +00:00
Maxmtg
15390c4d10 Boosters collection now uses data from cardeditions/setname.txt
BoosterTemplate.java class turned unneeded
2013-06-05 19:03:01 +00:00
Maxmtg
ae6454383c Workaround to make cards unassigned to any set avaliable for tests 2013-06-05 16:41:05 +00:00
Maxmtg
045cd2b0fb CardDb moved to forge.card package,
CardDb is initialized with list of CardRules and CardEditions.
Rules no longer aware of sets they were issued in
2013-06-05 15:34:26 +00:00
Sloth
956e7e9293 - Some fixes for Possibility Storm. 2013-06-05 13:34:47 +00:00
Maxmtg
f7b8821945 Class rename, as voted on http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=9700 2013-06-05 06:58:32 +00:00
Maxmtg
0573fe257d PlayerController - added chooseSinglePlayerForEffect , removed more calls to ishuman/iscomputer 2013-06-04 21:41:17 +00:00
Maxmtg
42b9da42cd chooseSingleCardForEffect - moved implementations to SpellAbilityAi descendants, closer to the rest of AI code regarding each ability 2013-06-04 20:38:40 +00:00
Maxmtg
03816aa47a GameLog: quest listener is registered in MatchClass, Mulligan logs from events
PhaseHandler - half-measures to handle close window during turn-based actions (like declare combatants)
getAllPossibleAbilites method moved from game to card
removed 5 calls to isHuman/Computer
2013-06-04 20:25:25 +00:00
Maxmtg
be41dd7fff Better UI updates - CCombat 2013-06-04 13:51:21 +00:00
Sloth
ab55af70bd - Fixed static abilities causing NPE. 2013-06-04 13:44:13 +00:00
Sloth
fda88dcabf - Improved AI chump-blocking Tramplers. 2013-06-04 13:18:07 +00:00
Maxmtg
ea5a00a2dd Totem Armor turned into replacement effect for Destroy.
PhaseHandler - renamed methods to fix typo
SpellAbility - getType removed, 2 flags used instead
2013-06-04 13:16:54 +00:00
Sloth
22bd56f4c8 - Enabled Reap Intellect for the AI. 2013-06-04 11:58:39 +00:00
Sloth
ddce2bb584 - Fixed triggers on clones leaving the battlefield not firing. 2013-06-04 08:48:35 +00:00
Maxmtg
73223667ee Replacement effects use same reflection-based mechanism as triggers to create and copy instances 2013-06-04 08:18:09 +00:00
Maxmtg
a6ed6d7600 SLayoutIO Will catch more general exceptions - not just the ones related to malformed xml.
FControl.mayShowCard - will show card anyway wihout further checks if game has no human player
2013-06-04 06:15:38 +00:00
Sol
a3c453cb8e - Upgrading Sideboarding to M14 Rules for real this time (Constructed Sideboard can be 0-15 cards instead of 0 or 15 cards, no longer sideboard 1:1) 2013-06-04 02:13:25 +00:00
swordshine
1646f855b9 - Minor update "SearchedLibrary"
- Added Melee
2013-06-04 00:47:36 +00:00
Maxmtg
1f28e96583 filestreams closed on save too 2013-06-03 22:59:21 +00:00
Maxmtg
1bca2ac7ac file deletion now works 2013-06-03 22:51:29 +00:00
Maxmtg
6418060d5f Trying to reload default layout after a failure with user preferred one 2013-06-03 22:28:43 +00:00
Sloth
0f535e4541 - Fixed BecomesTarget sometimes not triggering. 2013-06-03 21:18:17 +00:00
Sloth
d28eacdcf0 - Fixed triggers on tokens leaving the battlefield not firing. 2013-06-03 20:36:54 +00:00
Maxmtg
1001ad7ab9 Reset layout buttons 2013-06-03 20:30:45 +00:00
Hellfish
76a012c716 *Added Archive Trap 2013-06-03 18:47:29 +00:00
Maxmtg
2c6cdc518b must have used constant from matching class, not literal 2013-06-03 13:52:14 +00:00
Sloth
bc389221bf - Added Chain Stasis. 2013-06-03 13:51:52 +00:00
Sloth
74a281035d - Fixed Chain Lightning copies being cast (the spell is copied onto the stack). 2013-06-03 13:17:43 +00:00
Maxmtg
a1d3ba8841 image keys of emblems for planeswalkers needed a prefix 2013-06-03 10:22:41 +00:00
moomarc
7a09e9abb2 - Added Thran Turbine 2013-06-03 09:47:34 +00:00
Maxmtg
49889eb7c9 bugfix: Omnath, Locus of Mana now prevents green mana from being burnt at end of phase 2013-06-03 08:32:49 +00:00
moomarc
21d46db987 - Won't be asked to select/order cards to play from opening hand if there are none to play 2013-06-03 06:06:40 +00:00
swordshine
c3f999bc29 - Skip the "Choose cards to activate from opening hand" step if I have no cards with these effects
- Added Odric, Master Tactician for test
2013-06-03 05:47:21 +00:00
Maxmtg
5b44514fd4 handleLeylinesAndChancellors - scripted all actions performed from opening hand
now you may execute actions from opening hand in any order (rule 103.5)
2013-06-02 22:21:46 +00:00
Maxmtg
eed6f21adb DeclareCombatantsEffect - added until param 2013-06-02 18:26:28 +00:00
Maxmtg
d44a379e8f re-enable buttons for playback input 2013-06-02 18:15:20 +00:00
Maxmtg
809234fda8 DeclareCombatants tested and debugged 2013-06-02 17:42:54 +00:00
Maxmtg
ff489765e2 DeclaresCombatants effect 2013-06-02 17:22:49 +00:00
Sol
9675fef15e - Convert Sapling of Colfenor to script
- Reveal inside Dig still needs to reveal to the controlling player
2013-06-02 16:44:56 +00:00
Maxmtg
0052257edd PhaseHandler - exracted declareBlockersTurnBaseActions and declateAttackTurnBasedActions, inlined all methods from PhaseUtil 2013-06-02 16:01:37 +00:00
Maxmtg
11061585da 2ns ability of Sovereigns of Lost Alara scripted. Thank you, Swordshine 2013-06-02 15:34:47 +00:00
Maxmtg
bf5bd91e9a GameLog - attack and block are powered by events.
Combat - renamed some methods, extracted aside blocker costs
2013-06-02 15:08:37 +00:00
Sloth
620e1ac0cf - Fixed Cleanup Phase Triggers not firing. 2013-06-02 09:37:36 +00:00
Maxmtg
46a249a238 temporarily inlined PhaseUtil.handleDeclareAttackers and handleAttackingTriggers,
fixed multiple triggering for Souverigns of the Lost Alara, extracted method for their 2nd ability
2013-06-02 09:25:57 +00:00
Maxmtg
4e48eb476f play lands from devmode 2013-06-02 07:28:14 +00:00