Commit Graph

21927 Commits

Author SHA1 Message Date
Chris
8d2bf7571a - Added new card names to changes.txt. 2013-07-08 12:29:05 +00:00
moomarc
764da32cba - Fixed Polluted Bonds for multiplayer games 2013-07-08 11:54:07 +00:00
jsv
1d6a015939 Fix Tolarian Entrancer's script 2013-07-08 10:18:03 +00:00
swordshine
68a9f55f53 - M14: Added Voracious Wurm 2013-07-08 07:24:32 +00:00
swordshine
e638e7f2c9 - M14: Added Angelic Accord 2013-07-08 07:15:04 +00:00
swordshine
d3aef40bb3 - Fixed a bug when searching a card in the library and put it on the top 2013-07-08 01:05:11 +00:00
Sol
e081e66a13 - Only reset quest new cards at the beginning of the match, not the end of each game 2013-07-08 00:15:54 +00:00
Sol
7f055ddb4b - Adding some references to two scripts 2013-07-08 00:15:04 +00:00
Maxmtg
79f8704a00 PhaseHandler: added a missing check for gameover state between SBA and givePriorityToPlayer (handles draws properly)
Zone, GameAction: inlined some single-use very short functions
2013-07-07 22:58:02 +00:00
Maxmtg
df3b938ed0 changed order or actions performed on declare blockers step: declare, pay extra costs, fire event, then fire triggers
EventVisualizer.java will be able to play sounds when ai is blocking
2013-07-07 22:09:20 +00:00
Sloth
cf27269f08 - Added SVar:RemAIDeck:True to cards with banding. 2013-07-07 19:41:42 +00:00
Maxmtg
4d0b02e049 BlockersDeclaredEvent causes redraw of all blocker cards (they'll get icons this way) 2013-07-07 19:33:36 +00:00
Maxmtg
f8bb07ec35 Zone.add(Card) is now a shortcut to zone.add(card, Integer). This allows to remove a couple of if's in GameAction 2013-07-07 19:32:17 +00:00
Sloth
601d789662 - Implemented official rules for tokens leaving the battlefield (fixes Cloudshift). 2013-07-07 16:47:49 +00:00
Sloth
54b7e8f1b1 - Fixed two trigger descriptions. 2013-07-07 15:30:29 +00:00
Sloth
33df962e70 - Fixed triggers with targets and a cost not being removed from the stack when the cost is not payed. 2013-07-07 15:23:23 +00:00
Maxmtg
ab894eeca3 newly declared attackers and defenders are highlighted at once 2013-07-07 14:45:06 +00:00
Maxmtg
bf4e21933c Added another event bus to MatchUI. Attached sound system to this bus
Attack/Block inputs use this bus to request sounds playback and UI updates
SoundSystem - remove mostly duplicated play/playSync calls - now there's one call with a single mandatory parameter.
corrected tabs into spaces somewhere in sound system (why can't Agetian just tune up his IDE?)
2013-07-07 14:26:09 +00:00
Chris
0ea254e94c - Added new card names to changes.txt. 2013-07-07 13:11:53 +00:00
Sloth
94ae69813f - Improved AI using mana sources with Combo Any. 2013-07-07 12:51:03 +00:00
Maxmtg
f6782893e7 GameAction - using a couple of variables to cache toBattlefield, fromBattlefield, extracted method to fix attachments 2013-07-07 12:44:50 +00:00
Maxmtg
54ba881dd2 remove unused import 2013-07-07 12:31:58 +00:00
Sloth
2cd7cece85 - First steps towards AI canceling payment of a SpellAbility when it fails to pay (instead of throwing an error). 2013-07-07 11:56:49 +00:00
Sloth
74e2bcfc37 - More NPE prevention of cards without sets in preparePlayerLibrary. 2013-07-07 11:37:11 +00:00
Maxmtg
d3f5758df8 Fixing typo 2013-07-07 11:08:29 +00:00
swordshine
da052c02e2 - Fixed mana ability (Deathrite Shaman's first ability is not a mana ability) 2013-07-07 09:55:35 +00:00
Agetian
f063f52981 - Properly fixing Discard effect for cards like Last Rites. 2013-07-07 07:53:20 +00:00
swordshine
2646d7e656 - M14: Added Pyromancer's Gauntlet 2013-07-07 07:43:00 +00:00
Agetian
0e22f73d11 - Trying to fix a bug with the DiscardEffect that won't function properly for cards asking to discard more than 1 card (e.g. Last Rites). NOTE: This is an experimental hack, please review line 395 in PlayerControllerHuman, not sure how to properly resolve that part. 2013-07-07 06:28:37 +00:00
swordshine
2d7ada5106 - Fixed a bug that tokens don't move to library 2013-07-07 06:03:56 +00:00
Maxmtg
c8524485bb PlayerController.playSaNoStack - removed obvious parameter (player) 2013-07-06 23:28:37 +00:00
Maxmtg
191a8e4e43 This restores Valacut - Scapeshift combo
Have to figure out how this influences on OpeningHandEffects
2013-07-06 23:16:34 +00:00
Maxmtg
4f3e058d64 Game event log also reports elements from call trace 2013-07-06 22:32:26 +00:00
Maxmtg
da33b4f406 Witch-maw nephilim: trigger is unconditional, the ability is checking for conditions instead 2013-07-06 21:29:55 +00:00
Sloth
d5851fc4ed - Fix for Soul's Fire. 2013-07-06 20:56:49 +00:00
Sloth
de9adadf04 - Another fix for Deadshot. 2013-07-06 20:54:06 +00:00
Sloth
08f1ba8186 - Fixed more cards calculating with LKI values. 2013-07-06 20:45:41 +00:00
Sloth
135239eabe - Fixed Deadshot. 2013-07-06 20:11:55 +00:00
Maxmtg
ec838bb8a1 reverted checkstatic abilities after resolving a subability 2013-07-06 19:38:47 +00:00
Chris
52bc9b6326 - Added new card names to changes.txt. 2013-07-06 12:50:46 +00:00
Maxmtg
e7eff63585 added call to checkStaticAbilities to changeZone - this will take into consideration creatures' static abilities before firing ETB trigger.
removed same calls where they would be duplicate (player.playLand, AbilityUtils.resolveSubAbilities)
2013-07-06 09:22:15 +00:00
Agetian
21222511dd - Added proper AI battlefield conditions for Akoum.
- Minor comment modification.
2013-07-06 09:00:26 +00:00
Agetian
ffb7924585 - Code simplification in RollPlanarDiceAi. 2013-07-06 05:24:26 +00:00
Maxmtg
990f7ab9dc removed some excessive calls to checkStaticAbilities. (keep in mind they are always checked on priority along with state-based actions) 2013-07-05 22:55:23 +00:00
Maxmtg
30f85737c8 Rampage turned into api-based scripted effect
scripted witch_maw_nephilim.txt 2nd ability and removed hardcode
added some syntax sugar in TriggerType.java
2013-07-05 22:06:23 +00:00
Sloth
f1f196585d - Fixed Blood Tyrant. 2013-07-05 21:38:19 +00:00
Sloth
7bbeed304f - Fixed a bug in canPlayAI of ClashAI. 2013-07-05 21:36:12 +00:00
Sloth
bdbe7b25eb - Fixed Vendetta and Devour in Shadow calculating LKI toughness. 2013-07-05 21:32:04 +00:00
Maxmtg
d6e3576203 Alphabetically sorted trigger types 2013-07-05 20:56:04 +00:00
Maxmtg
c0411273a9 Flanking - converted to script (to use Pump API and it's ui updates already set up)
checkStateEffects - removed many calls leaving only the ones clearly stated by rules, in most cases calls replaced by checkStaticAbilities
in checkStateEffects - extracted some method performing certain state actions
2013-07-05 20:40:53 +00:00