Commit Graph

6795 Commits

Author SHA1 Message Date
Sloth
06eb8e3e43 - Added a new AI SVar "NonStackingAttachEffect". 2013-06-21 21:39:55 +00:00
Maxmtg
68d3a7cdb2 more blocking-related keywords replaced with CanBeBlockedBy+expression 2013-06-21 19:13:23 +00:00
Maxmtg
fa443cea0d Text for CantBeBlockedBy is composed in runtime 2013-06-21 18:14:52 +00:00
Sloth
da1645c353 - Fixed Skymark Roc. 2013-06-21 14:51:01 +00:00
Maxmtg
1d498a5ba3 "can be blocked only by creatures with defender" now also uses a common keyword 2013-06-21 14:47:44 +00:00
Maxmtg
f3876079a9 CantBeBlockedBy - attempts to build keyword description 2013-06-21 14:08:30 +00:00
Maxmtg
09edb071ff removed keyword CARDNAME can't be blocked by red creatures 2013-06-21 13:38:48 +00:00
Maxmtg
b92eaa14a5 Redirect added. M13 is complete. 2 unimplemented cards in T2 remaining. 2013-06-21 12:41:21 +00:00
Maxmtg
1834182d2e add comment, remove unused variable, make simple overload to chooseSingleSpellAbility in AI part of the effect 2013-06-21 11:49:59 +00:00
Maxmtg
a395adc2b6 CopySpellAbilityEffect refactored: fixed Precursor Golem (and hopefully all similiar spells), removed calls to isHuman/isComputer
PlayerController: added chooseSingleSpellForEffect
2013-06-21 11:28:16 +00:00
Sloth
5fe795059b - Fixed targeted triggers not being removed from the stack (again). 2013-06-21 10:52:04 +00:00
Maxmtg
292df0c8de TargetChoice clone = added lost field 2013-06-21 06:49:10 +00:00
Maxmtg
c3e752f98f rearrange and update comments 2013-06-21 06:47:33 +00:00
Maxmtg
56737375da Spellskite script uses a general clause 'ChangeSingleTarget', uses 'Defined' to specify new target
SpellAbility.canTarget now also works for SpellAbilities
2013-06-21 06:31:44 +00:00
Maxmtg
3242d396a9 Haunt now resolves, but its trigger won't leave stack 2013-06-21 06:06:55 +00:00
Maxmtg
00ddfed039 spellskite added - please test 2013-06-21 04:16:59 +00:00
Maxmtg
775588b300 applied auto fix layout to deck editor 2013-06-21 01:06:25 +00:00
Maxmtg
8a50df0e06 Gideon from GTC - 1st ability will work 2013-06-20 17:46:47 +00:00
Sloth
ce7a8bb1f1 - Fixed targeted triggers not being removed from the stack. 2013-06-20 14:29:47 +00:00
Maxmtg
90b48b5447 addition 2013-06-20 06:06:13 +00:00
Maxmtg
89be097c3f fixed missing assignment in PumpEffect 2013-06-20 06:03:34 +00:00
Maxmtg
4fdb9ef7f9 fix endless loop for counterspell 2013-06-20 05:52:26 +00:00
Sloth
13615dc15a - Fixed possible NPE in getBlockers. 2013-06-19 20:59:42 +00:00
Sloth
8820a45312 - Improved AI's first land drop decision. 2013-06-19 20:39:23 +00:00
Sloth
b5186a367a - Fixed NPE caused by spells without target. 2013-06-19 20:37:37 +00:00
Sloth
24ee2cba60 - Fixed possible NPE's in doPayment functions. 2013-06-19 16:58:38 +00:00
Maxmtg
ade7bed52f SpellAbility holds separate TargetRestricions and TargetChoices in separate members.
Some APIs might become broken, please report
2013-06-19 14:51:21 +00:00
Sloth
3c3ab8138b - Fixed AttackerUnblocked triggers. 2013-06-19 12:42:08 +00:00
Sloth
85c1fc457c - Cleanup of Card class. 2013-06-19 12:34:05 +00:00
Sloth
9525581631 - Improved Stack description of DestroyAll effects. 2013-06-19 12:11:12 +00:00
Sol
9856588fa8 - AiAttackController will use it's own Random object instead of the primary game one 2013-06-19 01:47:02 +00:00
Sloth
eb85f56534 - Fixed AI not attacking planeswalkers. 2013-06-18 20:44:23 +00:00
Sloth
8cce641e43 - Moved isNegativeCounter to ComputerUtil and improved it. 2013-06-18 18:39:03 +00:00
Sloth
9c7efa9037 - Optional triggers will now grant additional info when the human is prompted. 2013-06-18 15:08:20 +00:00
Maxmtg
b41147b7f6 fixes compile error 2013-06-18 12:56:57 +00:00
Maxmtg
de9c9ff3f3 jsv's fix for problem "I have several gauntlets in progress. No matter which one I select, when I press "Start" it's always the first one in the list that gets loaded." 2013-06-18 11:36:28 +00:00
Maxmtg
74aa0a4917 cleanup in Target constructors 2013-06-18 10:04:18 +00:00
Maxmtg
c39bf4ee34 'Target' class no longer uses card in ctor and fields 2013-06-18 09:09:49 +00:00
Maxmtg
25edd60ac5 Using ITargetable instead of Object to return targets of an ability 2013-06-18 08:21:26 +00:00
Sloth
28a94982fe - Copies of spells will now copy the payment that has been made for the original (rule 706.10). 2013-06-18 08:05:50 +00:00
Maxmtg
7c1adf1c2a Added generic types to Swing components that needed them (with transition to Java 7) 2013-06-18 07:59:39 +00:00
Sloth
bff37b60d5 - Fixed canPlayLand not working with "May be played by your opponent". 2013-06-18 06:21:36 +00:00
swordshine
56de452158 - Fixed Pulmonic Sliver 2013-06-18 04:29:54 +00:00
Sol
7819893f81 - Improve Combat Panel for banding and blockers that have been removed 2013-06-18 00:10:57 +00:00
Sol
7073eb5494 - Convert Balance to script, Simplify Balancing Act
- Add Restore Balance
- Adding a Balance Effect API
2013-06-18 00:06:51 +00:00
Sloth
d2e205a3fc - payManaOptional will now pass on the spellability to payCostDuringAbilityResolve.
- Added support for CostGainLife in payCostDuringAbilityResolve.
2013-06-17 21:48:45 +00:00
Sloth
4105614645 - Added support for Djinn Illuminatus. 2013-06-17 21:02:09 +00:00
Sloth
3753d989b7 - Removed some unnecessary Replicate stuff. 2013-06-17 20:28:36 +00:00
Sloth
fb2d08032d - The AI can now use Delve. 2013-06-17 19:56:26 +00:00
Sloth
1dcd260feb - Fixed Delve description on Death Rattle. 2013-06-17 19:00:33 +00:00