Commit Graph

31254 Commits

Author SHA1 Message Date
Hanmac
805e6a718c CardFactoryUtil: add Scavenge as Keyword 2016-07-20 14:37:31 +00:00
Hanmac
dab0a28931 ManaCost & StaticAbilityContinuous: move code from StaticAbilityContinous to ManaCost to make it more reuseable 2016-07-20 14:13:04 +00:00
Hanmac
7ebd88bf8d CardFactoryUtil: move Devour to addReplacementEffect
Card: use Keyword getReminderText for Devour
Jund: use Animate Keywords for Devour:5
2016-07-20 12:18:56 +00:00
Hanmac
4015bda00a CardfactoryUtil: move Bloodthrist to addReplacementEffect
Bloodlord of Vaasgoth: use addKeyword
2016-07-20 11:39:55 +00:00
Hanmac
fc7f9407ca CardFactoryUtil: add Dethrone into addTriggerAbility, also rewrite it for Cascade, can't have the loop inside.
Dack's Duplicate & Marchesa, the Black Rose : updated to use addKeyword for Dethrone
2016-07-20 11:26:47 +00:00
Hanmac
3e6771ca85 CloneEffect: extra added Keywords need to go through CardFactoryUtil to be turned into Triggers and Keywords 2016-07-20 11:22:46 +00:00
Hanmac
6c40adf089 CardFactoryUtil: move Cascade to addTriggerAbility
Maelstrom Nexus: turn Trigger into Static with Keyword
2016-07-20 10:30:34 +00:00
Hanmac
7f01da10eb CardFactoryUtil & Card: move Uneath to addSpellAbility
Sedris, the Traitor King: make this card more easier.
2016-07-20 10:18:18 +00:00
Hanmac
6b2e718f37 KeywordsChange & CardFactoryUtil: add SpellAbilities that can be created by Keywords 2016-07-20 08:32:38 +00:00
Hanmac
f52aa96ca1 Card: add some changes in the keyword output
Keyword: add Soulbond
2016-07-20 08:22:17 +00:00
Hanmac
e56bef4306 CardFactoryUtil & PhaseHandler: make Exalted a real Keyword 2016-07-20 08:07:54 +00:00
Hanmac
83a810e710 CardFactoryUtil: move Extort to addTrigger
Pontiff of Blight: cleanup the code
2016-07-20 08:01:12 +00:00
Hanmac
5d3ffcce0f CardFactorUtil: make "makeEtbCounter" an extra function to use it elsewhere 2016-07-20 07:52:48 +00:00
Hanmac
0d2d233fec Card: Fix removed duplicated line 2016-07-20 07:48:37 +00:00
Hanmac
2c00afd42a Card: add some missing part about changedCardKeywords 2016-07-20 07:47:54 +00:00
Hanmac
74dd8cd90d Card & CardFactoryUtil & KeywordsChange: now adding Keywords to card, does add Trigger and Replacement effects into it. 2016-07-20 07:44:07 +00:00
Hanmac
34d3b57bdb Card: remove unused Keywords which are replaced with CantTarget 2016-07-20 07:30:01 +00:00
Hanmac
e34bcf469e Karplusan Strider & Suq'Ata Firewalker: remove Keywords and replace them with Static CantTarget
thats better for card text changes, replacing color words.
2016-07-20 07:27:27 +00:00
Hanmac
f9048a81a2 Keyword: add more keywords and fixed the Type for some of them. 2016-07-20 06:23:55 +00:00
Hanmac
6cc0708a35 KeywordWithAmount: add parse, and improve reminderText for keywords with X 2016-07-20 06:23:27 +00:00
Hanmac
9419e8bd6a KeywordInstance: improved getReminderText to use some pluralification with "{\d:+1/+1 counter}"
might be improved to have pluralification from creature and other types too.
2016-07-20 06:22:25 +00:00
Hanmac
2334e1c35d KeywordWithAmountAndType: add class for Amplify 2016-07-20 06:16:16 +00:00
Hanmac
b448b49380 KeywordWithCostAndAmount: add parse 2016-07-20 06:15:33 +00:00
Hanmac
825497833e KeywordWithCost: add parse and improve getReminderText 2016-07-20 06:14:43 +00:00
Hanmac
f047062369 KeywordWithType: add parse of the info 2016-07-20 06:13:40 +00:00
mcrawford620
0d155118c6 Add some more SOI hints and clean up 2016-07-20 05:42:37 +00:00
Hanmac
ea545acbf9 StaticAbility: Fixed layer Problem with my recent changes 2016-07-20 05:20:15 +00:00
mcrawford620
5c5af31bc3 Merge all from trunk at 31586 2016-07-20 04:57:21 +00:00
mcrawford620
891bd78ef5 Fix bugs in deck building 2016-07-20 04:27:49 +00:00
Agetian
7d89f5ee70 - A somewhat cleaner fix for Token AI that fully separates the logic for detecting and processing mixed player/planeswalker target lists. 2016-07-20 04:18:12 +00:00
Agetian
1acd48be9e - Attempted fix for the Token AI crashing when the AI is trying to decide which player/planeswalker to attack with a spawned token. Consider improving. 2016-07-19 19:34:02 +00:00
Hanmac
28f7df0933 StaticAbility & StaticAbilityContinuous: "can't gain or have" is now applied in Ability1 Layer, instead of Rules later. 2016-07-19 19:05:20 +00:00
Agetian
d46c53668b - Fixed Scrying Sheets not showing the top card of the library to the card's controller. 2016-07-19 18:07:57 +00:00
Agetian
ca8c506394 - Disable the visibility of New and Open buttons in the Quest Draft Tournament deck editor (they do nothing and crash). 2016-07-19 17:01:50 +00:00
Hanmac
dc610dc4ed Kaho, Minamo Historian: trying to fix it again. it now has extra Spellcast trigger if a card, got cast from exile. 2016-07-19 06:56:33 +00:00
Agetian
ac6f30818e - Preparing the 1.5.55 series for mobile (Android). 2016-07-19 06:46:42 +00:00
Hanmac
da4cb7c716 ItemListView: return empty string instead of null to prevent the Tooltip from crashing 2016-07-19 06:32:47 +00:00
Hanmac
49b00ca650 GameAction: don't clear ExiledWith when card is moved to Stack. (because it can't know if the spell was canceled) 2016-07-19 06:31:27 +00:00
Hanmac
9ca43bcb17 PlayEffect should only forget if the cast was successful 2016-07-19 06:29:37 +00:00
Hanmac
49c8b987e5 HumanPlay.playSpellAbility now returns boolean if the spell was cast successful. (and returns false on rollback) 2016-07-19 06:28:19 +00:00
Sol
7661e44e2b - Kaalia of the Vast has a defined Defender 2016-07-18 21:56:42 +00:00
Hanmac
2ff3d1be86 Remorseless Punishment: add Card, fixed AI logic to make this card usable 2016-07-18 14:33:04 +00:00
Hanmac
a1b3199251 ComputerUtilCost: turn "LifeLE2" into a more generic "LifeLE", also fixed checkSacrificeCost using wrong split separator 2016-07-18 13:01:00 +00:00
Agetian
d8eba36dcb - A simpler fix for Kaho, Minamo Historian that does not need an extra parameter in AB Play. 2016-07-18 12:54:51 +00:00
Agetian
2ce131f7bb - Added ForgetTargetRemembered to AB Play which removes only one (target) remembered card instead of clearing the entire remembered list.
- Fixed Kaho, Minamo Historian by making it forget cards one by one as they are played.
2016-07-18 10:54:46 +00:00
Agetian
90cdfd9774 - Removed extra newlines from Nephalia Academy. 2016-07-18 08:47:49 +00:00
Agetian
41453c0f85 - Fixed Nephalia Academy oracle text. 2016-07-18 08:43:21 +00:00
Agetian
93b404e8f6 - Added an override mechanism to allow the game to correctly detect "large small" sets that have over 200 cards in them but that are treated as the small set of the block, e.g. Eldritch Moon.
- Fixes SOI and EMN/SOI booster draft generation in quest draft tournaments,
2016-07-18 08:40:52 +00:00
Hanmac
649c715346 Street Savvy: add card, thanks to new Keyword in CombatUtil 2016-07-18 07:55:42 +00:00
Hanmac
ec762d652f CombatUtil: add "CARDNAME can block creatures with landwalk abilities as though they didn't have those abilities."
ts not a global deactivating, but a local one.
2016-07-18 07:52:09 +00:00