Commit Graph

6143 Commits

Author SHA1 Message Date
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
Sloth
55674b2f85 - Cleanup for targeting overlay not selected. 2013-04-21 14:42:39 +00:00
Maxmtg
197c64777b Trying to sacrifice Engineered Explosives with one counter on it I had a crash 2013-04-21 14:38:05 +00:00
Sol
04cb2e91b6 - Convert Stangg to Script 2013-04-21 14:03:15 +00:00
Maxmtg
96e339bc4a remove unused classes or imports 2013-04-21 12:08:32 +00:00
Maxmtg
b5d094e430 Network protocol rewrite:
* packets don't depend on serialization any longer (and they shouldn't since they are simple DTOs)
* support for multiple serialization types - add custom protocols when needed
* web client serialization protocol uses gSon
2013-04-21 11:23:17 +00:00
Maxmtg
072c541401 Allow any letter in EQ? expression. It was limited to X previously 2013-04-21 11:17:34 +00:00
Sloth
889305842b - Improved Cipher AI. 2013-04-21 09:04:21 +00:00
Maxmtg
406109086d this is to fix bug for human paying non-announced X costs 2013-04-21 05:12:31 +00:00
Sol
b9dca5e4ea Convert Kinsbaile Borderguard to script 2013-04-21 04:02:22 +00:00
Sol
2dfb0b58de - Allow Count$Compare to calculateAmount of SVars
- Convert Apocalypse Hydra to script
2013-04-21 01:59:11 +00:00