swordshine
061779ddac
- DTK:Added Enduring Scalelord
2015-03-08 05:17:06 +00:00
swordshine
443cd81a1b
- DTK:Added Foe-Razer Regent
2015-03-08 04:38:10 +00:00
Sol
8980493dc9
- When copying Triggers for a new card, don't copy the ID (Fixes token clone double triggers)
2015-03-07 14:20:18 +00:00
swordshine
0236900f10
- DTK:Added Silumgar Assassin
2015-03-04 22:37:45 +00:00
Sloth
92290eef60
- Fixed possible NPE.
2015-03-04 13:02:56 +00:00
swordshine
badf7e50b5
- DTK:Added Stratus Dancer
2015-03-03 13:00:45 +00:00
swordshine
0ae7fd8d9d
- DTK:Added Sidisi, Undead Vizier
2015-03-03 10:11:09 +00:00
Sloth
478d1e83cb
- Added AI support for Mox Diamond.
2015-03-01 11:38:03 +00:00
Myrd
3430877613
Fix copying game with permanents changed to creatures in AI simulation.
2015-02-28 15:42:13 +00:00
Myrd
be6e7f0a17
Fix NPE starting tiny leaders game.
2015-02-28 05:25:25 +00:00
Sol
d972a7de36
- Fix Ghastly Conscription not calculating the correct Mana Cost for cards it manifests
2015-02-27 17:02:49 +00:00
Agetian
ab6b3e2960
- Make sure the full description is shown on "cards" representing temporary effects.
2015-02-27 13:33:34 +00:00
elcnesh
805bed02c7
Revert TriggerHandler to r28873; accidentally committed some experimental code that evidently wasn't working.
2015-02-25 22:09:34 +00:00
elcnesh
4a38b0d817
Huge update to the GUI codebase.
...
- Make match screen in gui-desktop non-singleton, allowing multiple games to be played simultaneously.
- Separate global gui commands (IGuiBase) from game-specific gui commands (IGuiGame), allowing games to send their commands to the correct gui.
2015-02-17 08:47:55 +00:00
Myrd
95f145a1cd
Fix NPE in combat code that was caused by AI being confused when planning its blockers (i.e. planning how to block own attackers).
2015-02-16 02:13:03 +00:00
Myrd
3ecb80f8d2
Slightly better fix for make canceling Delve refund exiled cards. I think this fixes a bug in the previous fix where AI would never exile the cards they chose to delve.
2015-02-15 20:41:31 +00:00
Sol
babfd2f8bb
- Fixing Flamebreak using the wrong parameter
2015-02-15 20:29:23 +00:00
Agetian
aca4e04d8e
- Experimental fix for Suspend keyworded ability. This switches the internal SVars used by Suspend from random UUIDs (which do not work correctly across zones, it seems) to fixed SVar names. Note the following:
...
* if there was a reason to use randomized SVars for Suspend, then there might be something else wrong with it now - please review and correct if my implementation is wrong.
* the AI has issues targeting with (some?) suspended cards (e.g. Rift Bolt used by the AI will always fizzle, the AI never targets correctly), please assist if possible.
2015-02-15 19:26:28 +00:00
drdev
edaa52b507
Support restricting card pool at deck format level
2015-02-15 01:53:14 +00:00
drdev
2b4a509b78
Start fleshing out UI support for Tiny Leaders format
2015-02-14 23:01:35 +00:00
Agetian
c256b29ce6
- Fix the triggered abilities still visually appearing when suppressed (e.g. with Humility).
2015-02-14 11:21:04 +00:00
Hellfish
25da751464
*Added a few provisions for Tiny Leaders
2015-02-14 09:54:14 +00:00
Hellfish
8e62e17f65
*Made Delved cards not exile until cost is fully paid
2015-02-14 09:09:04 +00:00
elcnesh
a6bcd59819
Fix static abilities not removing triggers.
2015-02-14 08:26:27 +00:00
Myrd
35881d5cf0
Switch ConcurrentSkipListMap to TreeMap, as ConcurrentSkipListMap.isEmpty() showed up in profiles and these collections aren't meant to be manipulated concurrently.
2015-02-14 07:34:22 +00:00
Myrd
b9d9678e56
Avoid double look up in map.
2015-02-14 07:18:03 +00:00
Myrd
9f03746360
Optimize static effect checks even more based on profiling.
2015-02-14 07:09:05 +00:00
Myrd
5d6f5912e3
Cache trigger constructor instead of looking it up each time createTrigger is called. This was showing up in profiles of simulation code.
2015-02-14 06:57:15 +00:00
Hellfish
0c45c6ce09
*AFAICT fixed Delve-ing other players' cards.
2015-02-12 23:00:18 +00:00
Sloth
042a49aef6
- Fixed Layer of static abilities granting hidden keywords (part 3).
2015-02-09 18:46:22 +00:00
Sloth
286d065913
- Fixed Layer of static abilities granting hidden keywords (part 2).
2015-02-09 08:17:44 +00:00
Myrd
457636f2e3
Make simulated AI ignore temp power/toughness boosts in certain cases when evaluating. (Initial version - can be made quite a bit smarter based on this later.)
2015-02-08 19:43:40 +00:00
Myrd
ff18cb74c8
Fix dumping and restoring game state with morphed creatures.
2015-02-08 17:43:09 +00:00
Sloth
019a241184
- Fixed Layer of static abilities granting hidden keywords.
2015-02-08 14:37:34 +00:00
Sloth
b5dd19867a
- Cleanup and NPE protection.
2015-02-08 13:36:17 +00:00
Hellfish
8eede91c88
*Fixed leaving planes.
2015-02-06 22:13:37 +00:00
Myrd
8d5706b36e
Fix copying game with static effects to not double count them along with expanded tests for this.
2015-02-03 04:43:40 +00:00
Hellfish
9e1633fec9
*Fixed Planechase Phenomenon brokenness.
2015-02-01 17:52:26 +00:00
Maxmtg
36bc0d08e1
removed the FCollection from forge-core
2015-02-01 03:13:08 +00:00
Agetian
783f9c094c
- Recreate default card properties and spell abilities for cards returning to hand (fixes e.g. Genju of the Fields unplayable after returning from graveyard, Far // Away and other splits not allowing to choose another ability if mana payment was canceled, etc.).
2015-01-29 16:55:54 +00:00
Myrd
e22029463d
Commit initial version of experimental AI simulation code.
...
It's disabled by default. Set SpellAbilityPicker.USE_SIMULATION = true to enable.
It's nowhere near complete and there are still tons of issues to work out, but it works a lot of the time.
2015-01-29 00:27:02 +00:00
Myrd
f083b9055d
Fix a NPE.
2015-01-29 00:24:49 +00:00
Myrd
b9005faf1c
Missed a space.
2015-01-28 03:39:46 +00:00
Myrd
ee5549c489
Disambiguate triggered vs. activated abilities in game log.
2015-01-28 02:23:26 +00:00
Agetian
86b2ff054b
- A little further fix for AB RemoveCounter.
2015-01-27 18:57:43 +00:00
Agetian
16100096a7
- Fixed the AB RemoveCounter not correctly remembering multiple instances of removed counters of the same type (fixes Give // Take, Delaying Shield and possibly other similar cards).
2015-01-27 18:01:34 +00:00
elcnesh
5f08b5710f
Use a List rather than a Set for storm count so that the same card can be counted twice.
2015-01-27 14:47:31 +00:00
elcnesh
28a92e34df
Fix Grim Haruspex plus some cleanup.
2015-01-27 14:29:31 +00:00
elcnesh
f9b473c8fd
- Move changed card colors to the Card rather than CardState
...
- Fix Kusari-Gama
2015-01-27 14:28:54 +00:00
elcnesh
4a74fe87fc
Fix some possible issues with attack constraints and how the AI handles them.
2015-01-27 14:22:03 +00:00