Commit Graph

5679 Commits

Author SHA1 Message Date
Sol
de0348592b - Add an extra Restriction Matrix to handle Celestial Dawn for Mana Conversion
- Added Celestial Dawn
2014-02-10 03:22:19 +00:00
Maxmtg
804a8801e5 Moved ai to dedicated module, fix api dictionary 2014-02-09 21:12:26 +00:00
Maxmtg
dd34a3aa9b remove AI class from ApiType 2014-02-09 21:01:34 +00:00
Maxmtg
0f37de9627 removed another ai hook 2014-02-09 20:25:47 +00:00
Maxmtg
14a0e6e3ac by adding a bit ugly method to player controller, I've removed last isHuman check and the last reference from api executor to AI 2014-02-09 20:22:15 +00:00
Maxmtg
2f2d24eb3e move some ai-classes to right package 2014-02-09 20:15:58 +00:00
Maxmtg
06484f81f6 Separate AI decision making from SpellAbility classes 2014-02-09 20:05:05 +00:00
drdev
81c5912add Remove unused imports 2014-02-09 19:07:10 +00:00
Hellfish
767524fb57 *More overzealous rename refactoring done away with 2014-02-09 17:44:00 +00:00
Hellfish
40f7d164bf *Fix overzealous rename refactoring 2014-02-09 17:38:39 +00:00
Hellfish
1ff23dcc56 *Apparently the reintroduced TriggerReplacementBase was never added. It is now! 2014-02-09 17:33:14 +00:00
Hellfish
50c40311a7 *Reintroduced TriggerReplacementBase as a specialized subclass of CardTraitBase 2014-02-09 16:03:27 +00:00
Hellfish
c4e1552b8b *StaticAbility shares some functionality with Trigger and ReplacementEffect, extend their base instead of duplicating code 2014-02-09 14:42:39 +00:00
Hellfish
94783575cc *Prettied up TriggerReplacementBase 2014-02-09 14:14:08 +00:00
Hellfish
a54a0ba985 *Moved common functionality of Trigger and ReplacementEffect into base class. 2014-02-09 13:56:04 +00:00
swordshine
e9da0ec519 - Fixed Fact or Fiction 2014-02-09 11:19:54 +00:00
swordshine
85d967e5a5 - Fixed Eureka so these cards actually start with the activator when resolving 2014-02-09 10:39:48 +00:00
swordshine
453bf76d63 - Added Fearsome Temper 2014-02-09 10:36:23 +00:00
swordshine
6230b6f28b - Converted "CARDNAME enters the battlefield tapped unless you control a" keyword to an ETBtapped replacement effect. 2014-02-09 10:28:35 +00:00
swordshine
0f5228259a - Fixed Mistbind Clique 2014-02-09 10:18:46 +00:00
Maxmtg
1ad1714388 fix hybrids payment {2/C} 2014-02-09 07:22:08 +00:00
Sol
c8eed79a2a - Initial checkin for Additive Mana Conversion Static Ability (Restrictive Conversions currently not 100% correct)
- Added Mycosynth Lattice
- Fixed Sunglasses of Urza
2014-02-09 02:37:09 +00:00
Sol
537f95c79d - Fixed infinite loop caused by Max's trigger fixes when no triggers are on the stack 2014-02-09 02:10:19 +00:00
Maxmtg
c923a7d976 fix comile erre 2014-02-08 22:49:56 +00:00
Maxmtg
b0939aeed8 bug fix 2014-02-08 21:10:23 +00:00
Maxmtg
a7d359fa10 loop until nothing added to stack, AP is turn owner 2014-02-08 20:52:02 +00:00
Maxmtg
1eeab52cdf all player will add their triggers to stack when ANY player has priority 2014-02-08 20:24:35 +00:00
Agetian
b221b7eaab - Added a method to add a color replacement to ManaPool.
- Fixed a mistype in method name.
2014-02-08 16:04:54 +00:00
Maxmtg
337f5b7320 clean up code style 2014-02-08 15:01:46 +00:00
Maxmtg
676fee32c6 renamed add/subtract methods, fixed bug with colorless payment 2014-02-08 12:56:54 +00:00
Maxmtg
715ee1f9ab color conversion routine for mana implemented 2014-02-08 12:21:55 +00:00
Maxmtg
c5a791f361 more paths require manapool 2014-02-08 11:33:17 +00:00
Maxmtg
1ec656f2ed ManaCostBeingPaid no longer be built from string, its "pay" methods require reference to manaPool (which is to hold color replacement rules) 2014-02-08 11:26:27 +00:00
Chris
bfe48d2611 [maven-release-plugin] prepare for next development iteration 2014-02-07 17:25:48 +00:00
Chris
3c08718b4b [maven-release-plugin] prepare release forge-1.5.12 2014-02-07 17:25:37 +00:00
Maxmtg
2f5799f453 routed all checks like 'can pay for this shard with mana of certain color' through either player's manapool, or a method in ManaCostBeingPaid. Will add a color conversion matrix at these 2 points later. This change is a prerequisite to implement cards like Daxos of Meletis 2014-02-06 04:55:30 +00:00
Sol
a11e7bbcb8 - Introduce PhaseIn and PhaseOut triggers
- Added Teferi's Imp (as an example of both)
2014-02-06 03:01:21 +00:00
Sloth
02353704ca - Fixed Seize the Soul and friends. 2014-02-05 16:35:14 +00:00
Sloth
2bde0ac099 - Fixed lands with "May be played by your opponent" being playable by the owner. 2014-02-05 16:11:59 +00:00
Maxmtg
d01c22b5f9 Change zone - only the choose card left inside if condition 2014-02-05 08:15:56 +00:00
swordshine
08896bdb8e - Converted "When CARDNAME is dealt damage, destroy it." keyword to script 2014-02-05 06:28:17 +00:00
swordshine
9437ea5d90 - Converted Fastbond and Naya to script
- Missing file for Felhide Spiritbinder
2014-02-05 06:23:45 +00:00
Sloth
acfe00d6db - Fixed a bug in ChooseSourceAi. 2014-02-04 19:55:45 +00:00
Maxmtg
926bdc1d5a Fix wrong filtering in 2 piles effect 2014-02-04 18:13:45 +00:00
Sloth
9df1102514 - Added a space to message. 2014-02-04 14:24:06 +00:00
Sloth
8eaa535d6b - The AI will no longer kill itself with Mogis, God of Slaughter. 2014-02-04 13:59:44 +00:00
swordshine
f4db8078b8 - Converted Chains of Mephistopheles to script (it's a normal replacement effect, the original hardcoded script is not correct) 2014-02-04 08:13:50 +00:00
swordshine
21db65e9ab - Update state-based actions (704_5r now fire remove counter triggers, Brother Yamazaki now work correctly with Humility) 2014-02-04 08:09:25 +00:00
swordshine
1d0b60427d - Fixed ETBtapped effect
- Converted Transmute to script
2014-02-04 08:06:01 +00:00
Sloth
bc851d0b51 - Fixed spells cast by AF Play effects (like Isochron Scepter) not triggering cast spell triggers (like storm). 2014-02-03 20:08:25 +00:00