Commit Graph

6053 Commits

Author SHA1 Message Date
Maxmtg
5019f4455b FatPack generation
rem warnings
2013-04-26 03:57:08 +00:00
Maxmtg
6a51b8994b fix typos for quest mode shop 2013-04-26 03:10:27 +00:00
Maxmtg
68fcb019ae fix booster generation for quest modes 2013-04-26 03:07:14 +00:00
Maxmtg
e8aa4c5fb2 retrieve game from hostCard which is null in rarer cases than the passed SA 2013-04-26 02:38:29 +00:00
Maxmtg
882f81adcb fix exc building text for FatPackTemplate that has no lands 2013-04-26 02:20:40 +00:00
RedDeckWins
3b1197cdc6 Added better logic when the AI is the defending player in a Sphinx Ambassador trigger, it is horrible at naming 2013-04-26 02:06:20 +00:00
Maxmtg
8591a63721 adjusted default booster template,
fixed some crashes in quest mode shop content generation
2013-04-26 02:05:07 +00:00
RedDeckWins
86d07620c4 Fix null pointer when creating a custom constructed game. Enforce deck conformance check for ai deck. 2013-04-26 02:03:03 +00:00
RedDeckWins
40ef9e0bcd Cyclone implemented. UnlessCost supports UnlessXColor to specify the color of mana which must be paid for X in an UnlessCost. 2013-04-26 01:57:20 +00:00
Maxmtg
114504d5e3 Card standing for defending player will have an owner an thus will be able to retrieve its game 2013-04-26 01:51:30 +00:00
Maxmtg
2982c5ed21 renamed rare slot : "rare" will yeild only rares "RareNotMythic" was ugly, slot named "RareMythic" makes a sheet of 1 copy of all mythic and 2 copies of each rare, which is fine for full sets and produces the ratio 1:8 2013-04-26 01:12:36 +00:00
Maxmtg
57e58690f9 removed imports and added some notes to rare+mythic slot generation 2013-04-25 15:34:04 +00:00
Maxmtg
a2da45152d Quest mode reward generation does not use booster generator - will create a printsheet and get directly from it. 2013-04-25 14:48:54 +00:00
Maxmtg
b930e6fcb1 disabled draft for Guild sealed (blocks) 2013-04-25 14:20:46 +00:00
Maxmtg
c9d275b8fb Fixed crash when there were no cards on a sheet, will message to stderr instead. (when asking mythics from a ARN-themed cube) 2013-04-25 14:01:32 +00:00
Maxmtg
d2633f7561 fix a typo 2013-04-25 13:45:04 +00:00
Maxmtg
c6c4fa5b17 Custom printsheets implemented
CardPool deserialization moved to cardpool as factory method.
2013-04-25 13:42:12 +00:00
Maxmtg
df7e51094c Changes to RTR/GTC guild sealed: now there's only 1 guild booster, both promos are inside.
File format for cubes adjusted
2013-04-25 12:40:17 +00:00
Maxmtg
8fd5f73980 removed some duplicate code 2013-04-25 08:28:47 +00:00
Maxmtg
718b719306 disabling debug output for svn 2013-04-25 08:15:32 +00:00
Maxmtg
46e2ac3c65 setColorsToPay, setSunburst moved from input/InputPayManaOfCostPayment.java to CostPartMana
ManaPool.payManaFromAbility does not return ManaCostBeingPaid - that means it does not create a new instance, but alters the one passed as parameter
a few mana-paying inputs: the player who is shown the input is taken from base class field, not from singletons
2013-04-25 07:32:46 +00:00
Sol
97c5777d87 - Convert Patriarch's Bidding to script 2013-04-25 02:29:07 +00:00
Sol
6bb80c00a6 - Provide targeting hints when attempting to target a Planeswalker with direct damage 2013-04-25 00:51:14 +00:00
Maxmtg
f00f67c164 refactored booster generation: ARN generates correctly, DGM maze land slot not coded yet.
FPs, starters not tested.
known issues: guild sealed not working
2013-04-24 21:41:17 +00:00
Sloth
3e18c042cb - Fixed NPE caused by Deepcavern Imp. 2013-04-24 18:37:25 +00:00
Sloth
1c9a2da3a6 - Little safety fix for removeAllExtrinsicKeyword. 2013-04-24 14:09:19 +00:00
Sloth
0b4e1757de - Fixed some extrinsic keywords not being HIDDEN. 2013-04-24 14:04:17 +00:00
Sloth
3673028c5b - Fixed AI not using Rebound. 2013-04-24 13:22:36 +00:00
swordshine
d3ac169d03 - Added Taunt 2013-04-24 12:19:44 +00:00
Maxmtg
4e70925eac Deck generation based on color profile, strictly follows profile
cmc curve uses relative weights
2013-04-23 22:20:55 +00:00
Hellfish
deeba62794 *Fix potential NPE in Commander deck conformance check. 2013-04-23 18:43:19 +00:00
Maxmtg
f5ac535af3 updates to VStack are never empty 2013-04-23 18:38:23 +00:00
Hellfish
45a9f0985a *Added a map of color -> basic land type to Constant, since it might be of use elsewhere.
*Added Commander deck conformance check for basic land types.
2013-04-23 18:00:44 +00:00
Maxmtg
3e76abbaf5 Improve texts for combat in both log and window 2013-04-23 15:47:24 +00:00
Maxmtg
5fff16db45 Combat panel updates as you click on cards to attack
Log panel is also updated correctly
2013-04-23 14:21:39 +00:00
Maxmtg
3b4f1dbb05 removed FModel.getGame method.
please retrieve the GameState instance from nearby players
2013-04-23 13:18:58 +00:00
Sol
e79e1d74da - Fixing Evoke not displaying Cost in the CardDetailPanel 2013-04-23 03:00:27 +00:00
Maxmtg
beeaf3cc50 removed the 'currentdefender' field from Combat, each user has to track himself the defenders
canAttack and addAttacker methods now require a defender.
2013-04-22 19:59:18 +00:00
Maxmtg
7984cd3578 fix to http://www.slightlymagic.net/forum/viewtopic.php?p=116116#p116116
(treating null as refuse to pay)
2013-04-22 17:15:07 +00:00
Maxmtg
5a1876ea7c minor: player can be attacked only if it is in the defenders list 2013-04-22 15:39:56 +00:00
Maxmtg
a0968bc747 redraw batllefield right after a right click when a creture was removed from battle 2013-04-22 08:39:08 +00:00
Maxmtg
a1440ed244 InputAttack appears a single time, players may click on entities they want to attack. 2013-04-22 08:31:33 +00:00
Maxmtg
bc5f5aac51 removed Action interface
CommandList replaced with a plain list (though should better have used a stack, since the commandlist was adding items at index 0)
Phase - removed duplicate wrapper UntilYourNextTurn to same data as until(player)
removed imports, 
ColorChanger - used List instead of ArrayList
2013-04-22 07:02:46 +00:00
swordshine
cc4833c014 - Added Needlebite Trap 2013-04-22 01:35:58 +00:00
Sloth
d42dffda19 - Fixed incorrect P/T storing of LKI copies (counters where counted twice). 2013-04-21 21:24:27 +00:00
Sloth
d5f9616ac5 - Cleanup of P/T calculation. 2013-04-21 21:14:55 +00:00
Sloth
0345b1a846 - Fixed ChooseGenericEffect ignoring Defined parameter when a target is present. 2013-04-21 20:54:56 +00:00
Sloth
4fddfa7135 - fixed a possible NPE in ChangeZoneAi. 2013-04-21 18:33:12 +00:00
Sol
b04959fa89 - Compare Targets of SubAbilities to the StackInstance SubAbilities for full Targeting confirmation (Bugfix Jitte multi-activation) 2013-04-21 17:32:33 +00:00
Maxmtg
6cf5f19ec5 VHomeUI: start/stop button appear only when server port is set up in config
Server: a dedicated packet for greeting
ClientStates may throw exceptions when malformed packets come.
If clientStates chain leaves a packet unhandled, then it will be handled in NetClient
2013-04-21 14:53:32 +00:00