Commit Graph

2908 Commits

Author SHA1 Message Date
Hanmac
142652729c GameActionUtil: fixed order of SetHostCard and SetActivationPlayer for Splice Cards 2016-11-26 14:01:19 +00:00
Hanmac
1e7d900ba0 CardLists.filter now uses Predicates.and 2016-11-26 10:26:10 +00:00
Hanmac
f341d2cdb1 CardPredicates: add more Predicates for Counters 2016-11-26 10:20:28 +00:00
Hanmac
df81795426 CostExile: use more convertAmountTypeToWords to get better formated cost 2016-11-22 20:32:08 +00:00
Hanmac
02d1699663 AbilityActivated: need to be cloneable too 2016-11-21 18:57:42 +00:00
Hanmac
2c7bcf31b7 Fixed Problem with TriggeringObjects on OverwritingAbility
for that AbilitySub need to be clonable too, and if a SpellAbility is cloned,
the triggeringObjects Map does need to be cloned extra.
2016-11-21 06:17:04 +00:00
Hanmac
5c6376557d CardFactory: makeToken: prevent a copy to be done with the first token 2016-11-21 05:39:12 +00:00
Hanmac
c9d6f72d77 CountersMultiply: add new API type for double counters on cards
remove it from RepeatEachAi
add more AI logic into it. it does support Strive Spell
2016-11-20 15:03:27 +00:00
Hanmac
df1557831d SpellAbility: fixed new Helper for WrappedAbility 2016-11-20 14:07:57 +00:00
Hanmac
88d919cb81 CardPredicates: add compareByCounterType to sort by the amount of counters of a given Type 2016-11-20 11:45:16 +00:00
Hanmac
07cb03889f SpellAbility: add helper functions to check if more Targets can be added. 2016-11-20 11:34:00 +00:00
Hanmac
ab8401fadf Spell: fixed flickering of Bestow creatures.
it should not need to check if Card can be played with Bestow
if it is already on the Battlefield.
2016-11-19 17:52:03 +00:00
Hanmac
7400baf1c7 Card & Player: changed Commander Effect to work with multiple Commanders
Player: removed Leftover from Miracle
2016-11-19 16:47:09 +00:00
Hanmac
a78cd7cb54 CardFactoryUtil: moved Evolve to new Trigger Format 2016-11-19 10:52:14 +00:00
Hanmac
3c5eb2248b CardFactoryUtil: Miracle is a Trigger now, and make PlayAi a bit better to check if it can play it 2016-11-18 19:55:05 +00:00
Hanmac
959fd5471e CardFactoryUtil: fixed Haunt trigger 2016-11-18 19:08:09 +00:00
Hanmac
b6465a9c6f CardFactoryUtil: move part of Unearth into ChangeZone Effect to use registerDelayedTrigger Helper 2016-11-16 16:28:17 +00:00
Hanmac
3af0976cd3 SpellAbilityEffect: make registerDelayedTrigger output better with using Lang.joinHomogenous and use intrinsic 2016-11-16 16:25:01 +00:00
Hanmac
b5f30b687f CardFactoryUtil: moved Transmute to new Format 2016-11-16 12:02:14 +00:00
Hanmac
852f6b77d6 DelayedTriggerEffect: add CopyTriggeringObjects when RememberObjects does not work 2016-11-16 09:25:07 +00:00
Hanmac
ff947651f0 AbilityUtils: add helper for getDefinedPlayers, that makes DelayTriggerRememberedController and others possible 2016-11-16 08:45:01 +00:00
Hanmac
e79ebedced CardFactoryUtil: make LifeLostThisTurn work with multiple players 2016-11-14 20:49:58 +00:00
Hanmac
997ac450fb CardFactoryUtil: fixed Trigger for Annihilator 2016-11-14 07:45:28 +00:00
drdev
1afbc9084e Minor optimization 2016-11-13 00:22:50 +00:00
drdev
0f1fbc46d1 Fix warnings 2016-11-13 00:08:32 +00:00
Hanmac
2e94ba619f CostPayment & PaymentStack: some rework in using the PaymentStack
also add the SpellRestriction for ManaAbilities to be blocked if they are already on the payment stack.
2016-11-10 19:52:25 +00:00
Hanmac
2ee14942f2 TriggerSacrificed: better format 2016-11-10 19:25:02 +00:00
Hanmac
30d96d1095 CostPaymentStack: add toString for better debug 2016-11-10 19:23:48 +00:00
Hanmac
e7f7ce2d91 EffectEffect: for StackDescription use SpellDescription if able, that prevents to show the cost on Stack 2016-11-10 15:04:01 +00:00
Hanmac
009b40b95e CharmEffect: for chained Abilities make StackDescription use SpellDescription, that looks better on the Stack 2016-11-10 15:01:39 +00:00
Hanmac
4971343e2d Card: use Lang.nounWithNumeral for etbCounter keywords 2016-11-10 14:19:29 +00:00
Hanmac
170f825d61 CardUtil: add more plural types 2016-11-10 10:01:47 +00:00
Hanmac
75df5aeb48 SpellPermanent: reset StackDescription for something with "Text" 2016-11-09 21:06:16 +00:00
Hanmac
87945db150 CharmEffect: add more Description for Demonic Pact 2016-11-09 16:24:43 +00:00
Hanmac
ceb3fae152 CardFactoryUtil: make Haunt a better Effect, rework the Haunt Triggers in new format
Trigger now does has a helper to replace ABILITY in TriggerDescription with its ability
2016-11-09 15:26:26 +00:00
Hanmac
cfbfb10d2d CardFactoryUtil: add Annihilator to setupKeywords 2016-11-08 11:31:02 +00:00
Hanmac
1aebd7108e CardFactoryUtil: moved Annihilator to trigger Format 2016-11-08 11:28:39 +00:00
Hanmac
627121b1a3 Card: hasProperty: fixed ChosenColor and AnyChosenColor to make them work correctly 2016-11-07 08:19:38 +00:00
Hanmac
58277d5c11 CardFactoryUtil: moved Outlast to new Format 2016-11-07 06:14:09 +00:00
Hanmac
1be16d69f9 CardFactoryUtil: move Ingest to new Trigger Format 2016-11-06 17:10:07 +00:00
Hanmac
b902958637 CardFactoryUtil: move Exploit to new Trigger format 2016-11-06 15:30:35 +00:00
Hanmac
2cafc2b36e CardFactoryUtil: make the generated Description of makeEtbCounter using Lang.nounWithNumeral 2016-11-05 08:25:29 +00:00
Hanmac
38eb720b8a CardFactoryUtil: move Graft Keyword to new Trigger Format 2016-11-05 08:10:40 +00:00
Hanmac
543f36147d CardFactoryUtil: moved Prowess to new Trigger Format 2016-11-04 16:35:11 +00:00
Hanmac
44b4d16ee3 CardFactoryUtil: make Modular into new format
add Modular Keyword class for better formating of Modular:Sunburst
2016-11-04 09:14:37 +00:00
Hanmac
9dfce775c2 CardFactoryUtil: fixed Restriction for Offering 2016-11-04 06:29:04 +00:00
Hanmac
1d3e9527a0 GameActionUtil: fixed somethings with getRestrictions/setRestrictions 2016-11-03 07:50:38 +00:00
Hanmac
002a20f4e8 CardFactoryUtil: reworked some keywords, like Dash, Surge and Evoke
Card doesn't need Evoked anymore, ask CastSA which has the info now
2016-11-02 21:19:25 +00:00
Hanmac
b099949a98 SpellPermanent: its now using ApiBased as Parent 2016-11-02 21:03:49 +00:00
Hanmac
c2b3628708 SpellAbilityVariables: make it cloneable, use it in copySpellAbility 2016-11-02 20:43:06 +00:00