Commit Graph

23141 Commits

Author SHA1 Message Date
Maxmtg
59249a7155 Prerequisites to launch Forge without UI. (used by ai-vs-ai CLI simulation and by dedicated server mode - when it's done) 2013-07-08 23:05:40 +00:00
Maxmtg
7f545935b4 playNoStack called via playercontroller 2013-07-08 22:37:45 +00:00
Maxmtg
fe9001a550 moved the possible options evaluation down the call stack 2013-07-08 22:23:41 +00:00
Maxmtg
313bed630a moved choice of ability modes to PlayerController - got rid of both: bad imports in CharmEffect (gui classes) and isHuman() call 2013-07-08 22:14:59 +00:00
Sloth
d030b09c51 - moveToLibrary now redirects to changeZone. 2013-07-08 20:52:04 +00:00
Sloth
454557a468 - Improved Charm AI for Tormentor Exarch. 2013-07-08 20:43:36 +00:00
Sloth
1c7a1e3d8f - Improved AI using Tormentor Exarch. 2013-07-08 19:58:17 +00:00
Sloth
e3e937354b - Fixed chooseOptionsAi causing NPE's. 2013-07-08 19:38:55 +00:00
Sloth
83936a924e - Fixed Effects not leaving Command zone. 2013-07-08 19:25:51 +00:00
Maxmtg
0c74043668 transformed cards generate gameeventcardchanged 2013-07-08 17:41:20 +00:00
swordshine
4a7cee412c - Fixed Quicken 2013-07-08 14:47:23 +00:00
Sloth
b7972342dc - Fixed setTriggeringObjects of AttackerBlockedTrigger. 2013-07-08 14:06:09 +00:00
swordshine
7e0f5e1401 - M14: Added Tenacious Dead and Xathrid Necromance 2013-07-08 14:00:21 +00:00
swordshine
d55ced465d - M14: Added Dismiss into Dream, Elite Arcanist, Tidebinder Mage, Zephyr Charge 2013-07-08 12:29:50 +00:00
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