Commit Graph

19341 Commits

Author SHA1 Message Date
Sloth
fee819daa8 - The "ValidCard" parameter in the cantPlayLand stAb is now functional.
- City in a Bottle will now prevents playing of ARN lands.
2013-02-12 12:23:29 +00:00
Maxmtg
388eddba7d player cannot deassign damage from 1st blocker below its lethal damage 2013-02-12 11:41:43 +00:00
myk
3bf95842c1 revert 19547 and fix underlying issue in FCheckBoxList that was overriding the isEnabled setting of the checkboxes 2013-02-12 08:57:53 +00:00
swordshine
86b619b2b8 - forget to paste something 2013-02-12 08:44:23 +00:00
swordshine
9ff2f60cf9 - A small fix 2013-02-12 08:36:46 +00:00
swordshine
6953d25c73 - Added Setinfos to recent cards 2013-02-12 08:27:36 +00:00
RumbleBBU
22a707e213 Re-disabled Alpha and Beta in the Custom quest format dialog.
Very minor checkstyle (removed extra whitespace).
2013-02-12 08:05:23 +00:00
swordshine
c21689690f - Fixed DamageDeal StackDescription string builder (to script Crush Underfoot)
- Initial commit of "TargetsWithSameController" (check the parent targets, might be used in Bioshift and Simic Guildmage in future)
- Added two Avatars: Sisters of Stone Death Avatar and Viridian Zealot Avatar
- Added some cards
2013-02-12 07:46:56 +00:00
Maxmtg
0e86afbf8c gamelog entries are filled in MatchController class for now, at least displaying gamewinlose is not gamestate's responsibility
GameState.getLandsInPlay inlined
2013-02-12 06:48:28 +00:00
Maxmtg
3c20929f6d minor - remove multiline comments like 'by Braids on xx\xx\11' 2013-02-12 06:26:47 +00:00
moomarc
75f45c2076 - Converted Dodecapod, Loxodon Smiter, Obstinate Baloth and Wilt-Leaf Liege from keywords to replacement effects.
- Added DiscardMeByOpp param and applied to relevant cards (I've prioritised from 1 - 3, 3 being most dangerous to discard, but priority checking isn't actually applied yet. Plan to expand when I have more free time).
2013-02-12 06:23:43 +00:00
Maxmtg
28285e4746 isSorcerrySpeed moved to SpellAiLogic (since used only by its descendants)
adjustChangeZoneTarget moved back to ability/AbilityFactory.java (since called by Common[Spell|Ability|Drawback] classes' ctors)
resolve method and its auxiliary methods groupped in bottom part of AbilityUtils file
2013-02-12 06:21:47 +00:00
Maxmtg
1b103bcd34 getMapParams moved back to AbilityFactory (since method's responsibility is also parsing) 2013-02-12 06:05:45 +00:00
Maxmtg
d243a21296 AbilityFactory.getAbility is now static - no need to create instance of AbilityFactory to parse an ability 2013-02-12 05:57:06 +00:00
Maxmtg
429a5bd110 renamed package abilityfactory to ability (sorry about possible tree conflicts) 2013-02-12 05:33:26 +00:00
Maxmtg
80d6a102a4 moved all static members from AbilityFactory to AbilityUtils.java 2013-02-12 05:29:02 +00:00
Maxmtg
0b0c76c6fd remove unused variable 2013-02-12 05:18:19 +00:00
Maxmtg
3cf7acf9f9 Text showing how much damage above lethal is assigned to each creature 2013-02-12 02:44:54 +00:00
Maxmtg
7f453661c3 first blocker is assigned all damage initially 2013-02-12 02:35:25 +00:00
myk
795b394a53 - autofocus on first duel/challenge when opening the Duels/Challenges page
- allow Enter to start the match when focused on an opponent
2013-02-12 00:55:17 +00:00
Sloth
c8228faf34 - City in a Bottle will no longer prevent lands to be played. 2013-02-11 21:06:32 +00:00
Sloth
501c877837 - playSpellAbilityForFree will now setup charms. 2013-02-11 20:51:43 +00:00
myk
63adb246ca don't select value when spinner value changes -- just when it's focused 2013-02-11 20:40:06 +00:00
myk
88de20aa80 autoselect text in search filter and range restriction textboxes on focus
autofocus first field in range restriction when a range restriction is added
2013-02-11 20:06:24 +00:00
Sloth
356ebc8fee - Added Temporal Extortion by Rooger (with "UnlessAI$ Never" by swordshine). 2013-02-11 19:28:21 +00:00
myk
3c606a1f54 - avoid NPE (hopefully -- testing will tell) for Windows users in find-as-you-type popup
- unbreak ctrl/cmd+enter as text search filter shortcut
- add card to deck before removing from catalog to ensure selected card details show up properly
- prepare for editable restrictions
2013-02-11 19:23:08 +00:00
myk
694875720b add match result info to game log 2013-02-11 18:22:33 +00:00
Maxmtg
749d0f08a5 getCard(str,bool) now returns planes or schemes properly 2013-02-11 17:37:01 +00:00
Chris
ad4cb22853 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-02-11 12:09:28 +00:00
moomarc
c61435182a - Added Library of Leng
- Added Discard replacement event
2013-02-11 07:00:08 +00:00
myk
5ed55674b6 implement ctrl-f/enter hotkeys for transferring focus between text filter box and card catalog table 2013-02-11 04:31:04 +00:00
Maxmtg
9dc8af55e2 CardDb.uniqueCards is sealed into unmodifiableMap so it's now safe to return the collection provided by its values() method as Collection
ChooseCard: used common routine GuiChoose.one
2013-02-11 02:40:57 +00:00
myk
6c154eb371 - allow left/right arrow keys to switch focus between deck editor tables
- autoselect first row if a table gains focus and no rows are currently selected
2013-02-11 02:19:12 +00:00
myk
7b07da4630 Write CHANGES blurb about find-as-you-type mode 2013-02-11 01:59:40 +00:00
myk
3ecb12cb8f finish implementation of find-as-you-type 2013-02-11 01:53:35 +00:00
myk
761c93f78a don't count decks and packs as having color or card type 2013-02-11 01:52:56 +00:00
Maxmtg
e42e42a183 Default assign damage view does not offer full damage distribution 2013-02-11 01:52:41 +00:00
myk
4ca82daae6 ensure extra snow-covered lands from CSP and relentless rats aren't sold 2013-02-11 01:52:19 +00:00
Maxmtg
9c3359ab16 made distribute damage method return Map<Card, int> as decisions taken by player, combat.java now does not depend on player type and has no GUI references 2013-02-11 01:08:08 +00:00
Maxmtg
5c529982d6 Rewrite of VAssignDamage (I need a damage map from this class [View must not apply damage by itself] but the code shocked me, so rewrote it first) 2013-02-11 00:13:48 +00:00
myk
1be0bffab2 relocate the tooltip when a new cell is hovered over, even if it contains the same text 2013-02-10 21:58:11 +00:00
myk
72db91a228 let code in populateCustomPanel override enabled setting of continue button 2013-02-10 21:14:51 +00:00
Chris
35a8747624 - Fixed the title for the Dr. Doom 3 quest opponent deck. 2013-02-10 20:35:53 +00:00
Maxmtg
a7397fda01 predictDamage methods moved to ComputerUtilCombat, since used by AI only and it's not a core game entity property
distubute combat damage for AI moved from Combat.java to ComputerUtilCombat
2013-02-10 19:19:13 +00:00
Maxmtg
eee197879c SpellEffect, InputPayManaCostUtil, GameActionUtil - remove unused imports 2013-02-10 18:09:09 +00:00
Maxmtg
3051708601 AbilityFactory - merged repeating code fragments
FileSection - exposing a useful method to parse string into map, AF already uses it
2013-02-10 15:46:20 +00:00
Chris
ec10e5f935 - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2013-02-10 12:45:24 +00:00
myk
a2a15a4740 implement basic find-as-you-type for deck editor tables 2013-02-10 10:08:12 +00:00
Maxmtg
16f3008014 Power sink: reviewed script, so that correct effect (DrainMana) is used
Unless syntax enriched: added UnlessResolveSubs parameter to indicate if subAbilities are resolved for paid and unpaid branches
SpellDesciptions from card scripts now may include variables
2013-02-10 08:09:14 +00:00
myk
aab0858623 restore focus after hiding choose sets dialog 2013-02-10 07:53:38 +00:00