Commit Graph

1592 Commits

Author SHA1 Message Date
Myrd
4b98b8d715 Fix: bestowed enchantments should animate into creatures when the enchanted permanent leaves the battlefield. 2015-01-21 04:50:23 +00:00
Myrd
4a90436589 Better error message to debug an exception. 2015-01-21 04:15:28 +00:00
drdev
265f7f52df Prevent Card.getType() from depending on view being updated 2015-01-20 02:11:18 +00:00
elcnesh
24680c4aef Fix owner of token to be its initial controller. 2015-01-18 21:11:33 +00:00
elcnesh
b1d41c1336 Fix creature required to attack a nonexisting GameEntity. 2015-01-18 21:06:06 +00:00
Agetian
fd7d644eec - Attempt to fix Lim-Dul's Vault by allowing the activating player of AF DigEffect to see the cards even if they're not actually moved. 2015-01-18 20:34:21 +00:00
Sol
6f8d674cad - Creatures without a name can't have the same name as other creatures without a name (Bile Blight + Morph) 2015-01-18 17:10:43 +00:00
drdev
d2108e26c0 Fix Momir Vig crash 2015-01-18 17:09:48 +00:00
Sol
e576dbcf93 - AI will no longer cast Bolster with no creatures on the BF
- Manifest Ability can't be activated if the original card isn't a creature
2015-01-18 17:00:03 +00:00
Agetian
59a4c0ec2a - Fixed NPE related to Devour. 2015-01-18 13:52:42 +00:00
swordshine
9d022fb318 - Updated scripts according to Fate Reforged Update Bulletin 2015-01-18 07:21:53 +00:00
swordshine
711290ad31 - Added Hungering Yeti 2015-01-17 03:40:38 +00:00
drdev
d36b59b9b7 Fix issue with Phasing 2015-01-16 23:07:27 +00:00
elcnesh
f1745fae72 Fix bug in method body (my fault, nonfunctional) 2015-01-16 21:19:51 +00:00
Sol
7a41b061df - FRF: Added Ghastly Conscription 2015-01-16 16:55:18 +00:00
Sol
d8e44a62bd - FRF: Added Dark Deal and Write Into Being 2015-01-16 16:09:56 +00:00
Agetian
4596afe9b7 - A better fix for the issue with keywords not being cleared - it seems like this part of the issue is remedied with a previously missed state update call. 2015-01-16 15:57:57 +00:00
swordshine
5d8054200f - FRF: Fixed Monastery Siege 2015-01-16 12:07:30 +00:00
Agetian
e5c25f1cab - Second attempt at fixing the keywords lingering longer than necessary, looks like there were actually two related problems - the data about equipments being copied over to a temporary copy that then became a card going to graveyard *and* the keywords from enchantments and such staying on the card (even the copied one, without any enchantment info being hard-copied) when going to graveyard.
- A better fix for the second problem would be to actually find *why* (and where in the code) those keywords are not cleaned up and clean them up there, but I can't find where it is for now. Please review and update as necessary.
2015-01-16 10:44:15 +00:00
Agetian
12688a1bb1 - Do not copy equippedBy/enchantedBy/fortifiedBy information when copying a card (because two cards can't really be enchanted/equipped by the same card anyway, so it should be unique). This fixes a bug with keywords lingering longer than necessary. 2015-01-16 08:06:18 +00:00
swordshine
a27bd64d5d - FRF: Added Channel Harm 2015-01-16 07:26:08 +00:00
drdev
72a33daf87 Prevent mobile app crashing on startup 2015-01-16 03:58:13 +00:00
swordshine
f3a490db3d - Tweaked "TriggeredDefendingPlayer" 2015-01-15 13:46:02 +00:00
swordshine
9483a889f1 - Fixed a possible ClassCastException when Septic Rats attacks a planeswalker 2015-01-15 13:10:10 +00:00
swordshine
cee0eb27f6 - FRF: Added #97-100 by Marek14 and Kapoue (tweaked CopyAttacking for Flamerush Rider) 2015-01-15 12:11:24 +00:00
Sol
d4b74ddc31 - For some reason hasFizzled didn't have any checks to make sure spells are still on the stack 2015-01-13 00:29:01 +00:00
swordshine
ed444c2705 - FRF: Added Grim Contest 2015-01-12 14:14:18 +00:00
swordshine
ed2bfcc295 - FRF: Added Soulfire Grand Master 2015-01-09 04:21:01 +00:00
Agetian
cf718c48fa - Removed an extra empty line. 2015-01-08 11:28:15 +00:00
Agetian
4305ad0612 - Visualize the information about the outcome of Scry in the log (because this info is supposed to be public - you can see whether your opponent scries to the top or to the bottom of the library). The only minor problem is that this outcome appears right before the announcement of the ability in the log (in the reverse order), not sure how to fix. 2015-01-08 11:20:06 +00:00
Chris
cfe726e14a update poms to 1.5.33 2015-01-08 03:25:07 +00:00
Myrd
2853af3a10 Support saving/restoring game state that has creature tokens. 2015-01-03 19:15:44 +00:00
Sol
06801023b5 - Adding Manifest effect 2015-01-02 22:48:47 +00:00
Myrd
51571c667d Oops, real fix for canBeTargetted. 2014-12-31 22:28:14 +00:00
swordshine
1634c04313 - Fixed canBeTargetedBy 2014-12-31 05:16:00 +00:00
Myrd
cee81da6ee Forgot to commit this. 2014-12-31 04:28:06 +00:00
Myrd
c57af8efc5 More use of visitor pattern to avoid allocations. 2014-12-31 04:10:21 +00:00
Myrd
6d7c7fe63c Use other method name here too. 2014-12-31 03:58:30 +00:00
Myrd
c2904fa2aa More visitors for keywords and merge duplicate keyword amount methods. 2014-12-31 03:57:16 +00:00
Myrd
35a1daf116 Fix a bug and more visiting. 2014-12-31 03:33:47 +00:00
Myrd
ea9f1f3ecf Fix error from my last commit. 2014-12-31 03:23:07 +00:00
Myrd
648756d1b8 More use of Visitor pattern - allowing iteration over all cards in the game without allocating a temporary collection. 2014-12-31 03:19:41 +00:00
Myrd
1f5cca02dd Optimize hasKeyword() to not need to allocate and concatenate a bunch of lists together.
Instead, makes it use the visitor pattern which allows traversing all the keywords without (usually) needing to allocate any  temporary lists.
2014-12-31 00:38:45 +00:00
Myrd
46a870a0ea Optimize more temporary allocations. 2014-12-30 22:19:54 +00:00
Myrd
b39a7d310c Use game.getCardsInGame() rather than duplicating logic in a less efficient way. 2014-12-30 21:55:54 +00:00
Myrd
4096643769 Optimization to avoid excessive allocations. 2014-12-30 21:30:25 +00:00
swordshine
32f52f6880 - FRF: Added Soulflayer 2014-12-30 13:03:24 +00:00
swordshine
2cd0919d29 - FRF: Added Sandsteppe Mastodon 2014-12-30 12:27:42 +00:00
swordshine
ff26173d64 - FRF: Added Kolaghan, the Storm's Fury (Keyword: Dash) 2014-12-30 10:54:52 +00:00
swordshine
3d2156b429 - Fixed an NPE 2014-12-29 05:05:07 +00:00