Commit Graph

6754 Commits

Author SHA1 Message Date
moomarc
7101dc02c4 - Added Scars of the Veteran and Sacred Boon 2013-06-29 18:44:17 +00:00
Maxmtg
8d3067a625 made card recognition insensitive to case of set (will recognize both Cancel|RTR and Cancel|rtr cards in decks and import) 2013-06-29 15:11:20 +00:00
Sloth
5b85dacfa4 - Fixed ChangeZoneAll with origin library. 2013-06-29 13:16:31 +00:00
Sloth
e1fe8c8e28 - AI will now sacrifice creatures for mana before losing control EOT. 2013-06-29 10:12:06 +00:00
Sloth
ec730735bc - Improved ControlGainAi. 2013-06-29 08:24:52 +00:00
swordshine
0e2c6131f6 - Added Heart of Bogardan 2013-06-29 05:34:03 +00:00
Sloth
1172a542fd - Fixed possible NPE in assignAttackersDamage. 2013-06-28 19:47:30 +00:00
moomarc
4b71ea18b8 - Added support for damage prevention shields with effects.
- Added: Candles' Glow, Temper, Test of Faith and Vengeful Archon
2013-06-28 16:56:56 +00:00
Maxmtg
6bd754e6d6 fix NPE in AttachAi.attachAIPumpPreference(AttachAi.java:781) 2013-06-28 08:55:56 +00:00
jsv
c419b8d2a6 Fixed possible IndexOutOfBoundsException in chooseCardsToRevealFromHand. 2013-06-28 08:38:16 +00:00
Sloth
088dc4eb99 - Fixed NPE in attachAIPumpPreference caused by Fortifications. 2013-06-27 11:58:05 +00:00
Maxmtg
82bb17ebf9 fixing NPE in CCombat.getCombatDescription. CCombat is given its own copy of combat that cannot be taken away by a different thread. 2013-06-27 08:39:13 +00:00
Maxmtg
0387d9a82e restore targeting arcs 2013-06-26 21:24:36 +00:00
Sloth
bb22cc6ba9 - Converted the second ability of Fastbond to script. 2013-06-26 21:19:20 +00:00
Sloth
07590fba08 - Fixed more possible NPE's caused by combat == null. 2013-06-26 14:19:33 +00:00
Sloth
f280ba4e05 - Fixed possible NPE in combatTriggerWillTrigger. 2013-06-26 13:44:11 +00:00
swordshine
5fad51e876 - Added Bloodlord of Vaasgoth (scripted by moomarc) 2013-06-26 12:36:13 +00:00
Maxmtg
2c98474e16 Read foiled cards from deck (they mush have a + sign appended right to name, ex: Island+|ZEN) 2013-06-26 07:57:09 +00:00
swordshine
6e2803a614 - Added Herald of Leshrac 2013-06-26 06:24:23 +00:00
Maxmtg
2717c0d494 LKI for defenders (part 2 - final). Abu Ja'far now works as intended 2013-06-25 20:26:40 +00:00
Maxmtg
56ca218826 CombatLki - part 1. 2013-06-25 19:25:47 +00:00
jsv
3f24909423 Fix Master of the Wild Hunt waiting forever in cases when all his wolves have died before damage allocation is complete. 2013-06-25 12:30:42 +00:00
Sloth
3c20f384f5 - Added Joven's Ferrets. 2013-06-25 08:59:39 +00:00
Sloth
f9f4a27c6a - Fixed SacrificeEffect not remembering proper LKI copies. 2013-06-25 08:22:37 +00:00
Sloth
ef8af1a2b6 - Fixed IllegalArgumentException caused by multiple origins in ChangeZoneAll AI. 2013-06-25 08:03:09 +00:00
Maxmtg
78938459b5 fixed 'blocked' variable of AttackingBand for propper Ninjutsu 2013-06-25 05:56:01 +00:00
Sloth
e2ef4b497c - Fixed description of "CantBeBlockedByAmount GT" keyword. 2013-06-24 20:59:09 +00:00
Maxmtg
1908ad7583 added inCombat check to controllerChangeZoneCorrection 2013-06-24 16:10:08 +00:00
Maxmtg
b20da90917 cp.getMatchingForgeCard() hand no owner and belonged to no game - that's why it didn't pass the test invoked by Card.isValid 2013-06-24 16:08:56 +00:00
Maxmtg
69d5be5bd9 getProtectionList static method moved to ProtectEffect.java
ProtectEffect uses game.notifyOfValue to avoid direct calls to Gui
2013-06-24 16:07:57 +00:00
Sloth
8e8ee4bb5c - Fixed prompt of "At the beginning of your upkeep, sacrifice" keywords. 2013-06-24 14:58:04 +00:00
Maxmtg
b074af6d41 correct the choice out of available flip results 2013-06-24 12:53:22 +00:00
Maxmtg
5038d5e838 Removed calls to GUI and to isHuman in ChooseNumber and FlipCoin effects 2013-06-24 12:48:52 +00:00
Maxmtg
6ff8ba6682 moved Combat & CombatUtil to package forge.card.combat Sol has created.
removed EndOfCombat and Cleanup classes as they don't add anything specific to base class. Base class Phase is no longer abstract, also it does not need reference to game instance any longer
2013-06-24 10:54:46 +00:00
Maxmtg
dfc630aa23 orderMultipleBlockers and orderBlockingMultipleAttackers - moved into Combat class.
Combat - adjusted visibility of methods, moved some methods closer to caller
2013-06-24 10:40:56 +00:00
Maxmtg
74059bda82 Combat instance lifespan limited to Combat phase (for the rest combat = null, checks will return 'not attacking', 'not blocking'), the very object is stored in PhaseHandler
Card: removed methods to test if card is attacking/blocking, because these properties are related to combat, not the card itself.
AiAttackController - no longer creates Combat. Instead it uses a provided instance and fills attackers there
ComputerUtilBlock.java became non-static class AiBlockController, also modifies the provided Combat instance
2013-06-24 09:33:19 +00:00
Sol
52a26ba4a5 - Added Urza's Engine, Icatian Skirmishers, Camel 2013-06-23 17:20:44 +00:00
Sloth
9c66737813 - Added Dark Sphere by squee1968. 2013-06-23 13:32:57 +00:00
Sloth
4f159471d7 - Added some AI blocking against creatures with "can't be blocked except by X or more creatures". 2013-06-23 12:15:05 +00:00
Sloth
e63d418b03 - Fixed a NPE in canPlayLand AI. 2013-06-23 12:11:25 +00:00
Sloth
5f3f859b81 - Added Gaea's Touch. 2013-06-23 11:01:35 +00:00
Sloth
770a7d20a8 - Fixed DebuffEffect. 2013-06-23 09:35:31 +00:00
Sloth
6b04ca78f9 - Converted Modular to macro script. 2013-06-23 09:18:55 +00:00
Sloth
e5ad11748f - Fixed modular keyword. 2013-06-23 09:02:52 +00:00
Maxmtg
fa38216eaa a minor brush up (use EnumSet instead of switch-case) 2013-06-23 08:04:41 +00:00
Sol
c94e8a395f - Added Bands with others support
- Add 5 Legends Bands with Other lands, Master of the Hunt, Shelkin Brownie, Tolaria
- Small fixes to Combat and CCombat
2013-06-23 01:09:43 +00:00
swordshine
41827bb653 - some other api with tgtPlayers 2013-06-22 11:09:28 +00:00
swordshine
e7656f3be5 - Additional fix about tgtPlayers 2013-06-22 10:55:21 +00:00
Sloth
17f10cafbc - Fixed not being able to block creatures attacking your Planeswalker. 2013-06-22 10:32:23 +00:00
swordshine
62239488c9 - revert changes in changezoneall effect, complicated situations here 2013-06-22 10:32:12 +00:00