Maxmtg
c3c847c5ff
* Zone classes cleanup, they now have reference to game, can contain only cards, used shared code to add cards, generate GameEventZone
2013-07-03 10:45:01 +00:00
Maxmtg
2e4ec0e402
added UI updates in PumpEffect and on Attachment changes
2013-07-03 08:44:01 +00:00
jsv
cca6e94a71
Fixed morphs causing an NPE in AiController.getSpellAbilityToPlay.
2013-07-03 07:07:20 +00:00
Maxmtg
2a49c009c0
Removed MyObservable, components now recieve updates from game event bus.
...
Please report UI not updating on time
2013-07-02 23:30:26 +00:00
Sloth
ae21ba28c7
- Fixed Legion's Initiative.
2013-07-02 18:39:45 +00:00
Agetian
ba3bb79b52
- Set the default foil chance in booster to 16% (approximately 1/6) which seems to be the average for the majority of sets. Can be overridden in edition definition files via FoilChanceInBooster option. Not currently used by the booster generator.
2013-07-02 17:09:26 +00:00
Sloth
4aed00d954
- Fixed cards moving to the library not creating CombatLKI's.
2013-07-02 15:29:00 +00:00
Maxmtg
6d30afb166
fix npe parsing quest challenges without difficulty
2013-07-02 10:55:54 +00:00
Sloth
4d9b270d3a
- Fixed confirmTrigger sometimes revealing hidden information.
2013-07-01 16:43:41 +00:00
Sloth
86bf9f2a28
- Fixed paying mana with Elvish Spirit Guide.
2013-07-01 16:31:55 +00:00
Sloth
4d7749e265
- Fixed AI attacking with a single Hero of Bladehold twice.
2013-07-01 16:25:13 +00:00
Agetian
368e3c36b9
- fixed the way the foil overlay is drawn over the card picture panel, simplified the related code a little bit.
2013-07-01 14:13:20 +00:00
Agetian
ef44922aa6
- potential NPE prevention.
2013-07-01 12:16:56 +00:00
Agetian
b3b54ffe00
- Foil cards will now show up as foil in the card picture panel during the match (but not in the deck editor, at least for now).
2013-07-01 10:05:54 +00:00
Agetian
43dae4915f
- A more appropriate name for the field representing foil chance in booster packs.
2013-07-01 07:36:33 +00:00
Agetian
990f93a34e
- Changed the way foil rate in booster packs is represented in edition definition files (now it's an integer that represents a chance of a foil appearing in a booster pack out of 100%).
2013-07-01 07:24:11 +00:00
Agetian
17b1d4004a
- Added preliminary support for metadata that defines if boosters for a particular edition may contain foils.
2013-07-01 03:54:31 +00:00
Sloth
9a3282285c
- Fixed possible combat == null NPE in CloneAi.
2013-06-30 21:21:23 +00:00
Sloth
2ad63e7d7f
- Fixed Djinn Illuminatus giving Replicate to all spells.
2013-06-30 21:18:17 +00:00
Agetian
a16b8e3ffc
- Updated the loading progress bar to account for the extra foil sprite sheet, part 2.
2013-06-30 17:09:01 +00:00
Agetian
fdebee9011
- Foil cards will now be drawn with black border no matter what edition they are from (this currently has the side effect of drawing early core set foils with a black border around a thin white border already present in the picture - will probably be remedied later in one way or another).
...
- Updated the loading progress bar to account for the extra foil sprite sheet.
2013-06-30 16:50:43 +00:00
Agetian
00d76439b2
- Card foiling now defaults to modern foil style if the card edition file does not specify the foil type (this re-enables random foiling).
2013-06-30 16:12:23 +00:00
Agetian
b90694142c
- Implemented foiling based on card edition-specific information about the availability and style of foil.
...
- Added the ability to differentiate between old-style and new-style (modern) foils. If a separate foil sheet called sprite_old_foils.png is available, that sheet will be used for pre-8th edition cards. If not available, the same sprite sheet (sprite_foils.png) will be used for all foils.
- Note that the edition files are not yet modified with the information about availability/style of foil cards. This has the nasty temporary side effect of disabling random foiling for all sets (to be remedied in the nearest future).
2013-06-30 16:05:01 +00:00
Maxmtg
a8ffebce60
remove some duplicated lines
2013-06-30 15:05:49 +00:00
Maxmtg
4a86221e8a
Cards activable from other zones now are gathered inside player class,
2013-06-30 15:05:30 +00:00
Sloth
1efd93e947
- Expanded NonStackingAttachEffects (A-H).
2013-06-30 12:28:55 +00:00
Sloth
9641af3973
- Updates to Attach and Pump AI.
2013-06-30 11:43:59 +00:00
Sloth
953c62f36c
- Raised tokenBonus in getBestCreatureToBounceAI.
2013-06-30 10:03:31 +00:00
Sloth
7620b42bef
- Fixed NPE in getAttackersOf.
2013-06-30 08:25:21 +00:00
Sloth
f35d57b534
- Fixed NPE in reveal function.
2013-06-30 08:20:10 +00:00
Sloth
10aadd4e66
- Fixed Haunt crash.
2013-06-30 07:59:17 +00:00
Agetian
0af795d2e0
- Added preliminary support for reading foil type information from game edition definition files (doesn't affect actual foiling yet).
2013-06-30 06:13:36 +00:00
Maxmtg
80b403c881
Phase inidicators arranged into a separate control
...
Moved special and more complex control like DeckChooser aside from the simpliest ones (like FButton or FLabel)
2013-06-30 06:05:48 +00:00
swordshine
5d3db0dbd3
- Added Skyfire Kirin and Puppet Master
2013-06-30 04:46:35 +00:00
Sloth
d015c35912
- Fixed canPlayFromEffectAI withOutManaCost.
2013-06-29 22:15:55 +00:00
Maxmtg
c811662d6f
CMessage no longer stores game as model, instead updates follow visitor pattern (which ever game called update, get its information displayed)
...
Remove unused imports
2013-06-29 22:04:33 +00:00
Maxmtg
8e1b3185fe
adjusted splid cards transformation place
2013-06-29 21:49:20 +00:00
Sloth
d892f396fb
- Improved hasACardGivingHaste AI function.
2013-06-29 21:22:11 +00:00
Maxmtg
64dfce26b1
inverted the value of variabel for HumanPlaySpellAbility
...
moved split cards state restoration to the depths of changeZone, removed excessive action from HumanPlaySpellAbility
2013-06-29 21:16:26 +00:00
Maxmtg
d375d5588c
TargetRestictions don't need to be copied, they may be just reused
2013-06-29 21:14:42 +00:00
Maxmtg
e1fb9121af
hotseat: NPE fix at the beginning of 2nd match
2013-06-29 20:27:17 +00:00
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