Commit Graph

2240 Commits

Author SHA1 Message Date
Hanmac
04267311f1 CardDamageHistory: now has Damage history for GameEntity instead of only Player 2016-08-10 12:19:06 +00:00
Hanmac
afbb901236 AbilityUtils: add logic for xPaid in Spellabilities when OriginalHost is not null 2016-08-10 05:46:07 +00:00
Hanmac
0181b9c859 CloneEffect: setOriginalHost for SpellAbilities and ReplacementEffects 2016-08-10 05:38:39 +00:00
Hanmac
5a033d066f CardFactoryUtil: createETBReplacement mixed up parameters for secondary and intrinsic in ETBReplacement 2016-08-10 05:36:45 +00:00
Hanmac
4cb35e7754 TriggerHandler: corner the special case where the ChangesZone Trigger should be active
only if its a dies (Battlefield -> Graveyard) trigger.
2016-08-09 15:23:52 +00:00
Hanmac
d2a7a4c025 Combat: dealAssignedDamage: add copyLastStateBattlefield before the assignedDamage is dealt 2016-08-09 14:41:40 +00:00
Hanmac
84c4725c9d CardFactoryUtil: update code for Soulshift,
also fixed Kodama of the Center Tree
2016-08-09 14:39:47 +00:00
Hanmac
a7ddddb817 AbilityUtils: add special Soulshift for xCount similar than Valid but, it does check the LastStateBattlefield
(might be named more generic)
2016-08-09 14:36:53 +00:00
Hanmac
8f2648afe0 TriggerHandler: SpellAbility and WrappedAbility gets LastStateBattlefield set
also for the check if a Trigger is active:
if it's a ChangeZone Trigger only valid on the Battlefield and the card was on the battlefield before,
but now its not, the trigger is still active for the moment
2016-08-09 14:33:40 +00:00
Hanmac
bc8dc7f2b1 SpellAbility: add LastStateBattlefield to get the info of the battlefield before this was put on the stack 2016-08-09 14:30:27 +00:00
Hanmac
7cf1700218 MagicStack: before ability resolves, copyLastStateBattlefield 2016-08-09 14:26:33 +00:00
Hanmac
99a69107ba Game: add getLastStateBattlefield it does store the cards which where on the battlefield for a given moment 2016-08-09 14:24:06 +00:00
Hanmac
5d322f1bd7 TriggerReplacementBase: add getActiveZone to make it visible 2016-08-09 14:21:51 +00:00
Hanmac
27b5eb2103 SpellAbilityStackInstance: don't save SVars for wrapped abilities 2016-08-09 14:12:35 +00:00
Hanmac
4e37501912 SpellAbility & WrappedAbility: overwride getSVar for WrappedAbility to access it later 2016-08-09 10:03:40 +00:00
Hanmac
577784040b Zone: add getLKICopy to get a copy of that zone 2016-08-09 09:58:05 +00:00
Hanmac
2567ed40fe KeywordWithAmount: fixed adding extra to string 2016-08-09 09:57:03 +00:00
Hanmac
e52b6c065a CardFactory: fixed RollPlanarDice with unorthodox way 2016-08-07 15:43:12 +00:00
Hanmac
3c823ffa4a CardFactory: use PlanarDiceCostX because it does colide with other cards 2016-08-07 15:00:23 +00:00
Hanmac
1af0477d1d Spell: remove unused Includes 2016-08-07 10:21:09 +00:00
Hanmac
781150c5cd Spell: Bestow only with Flash if the Aura Part has Flash instead of only the Creature 2016-08-07 10:20:13 +00:00
Hanmac
3119deefa2 Spell: apply special ruling that you can cast a Bestow spell if you can cast an Aura for Flash 2016-08-07 09:27:04 +00:00
Hanmac
34222fca62 StaticAbility: add IsPresent Parameters 2016-08-06 16:51:12 +00:00
swordshine
22350672e4 - A guick fix forRakshasa Vizier 2016-08-06 15:19:59 +00:00
Agetian
85425249c1 - A little more generic solution for ChooseType message formatting. 2016-08-06 14:34:08 +00:00
Agetian
f381875715 - Fixed a little mistype. 2016-08-06 14:28:10 +00:00
Hanmac
0f18060d9f CostAdjustment: add ChangesZoneAll trigger 2016-08-06 12:27:31 +00:00
Hanmac
869bb7b09d ChangeZoneAllEffect: add ChangesZoneAll Trigger 2016-08-06 12:10:23 +00:00
Hanmac
ec4f0cf057 ChangeZoneEffect: add ChangesZoneAll Trigger 2016-08-06 12:08:36 +00:00
Hanmac
03be91aa3e TriggerChangesZoneAll: add new Trigger Type 2016-08-06 11:49:30 +00:00
Hanmac
bc6723ea57 Card & CharmEffect: have the Effect generate the description with the bullets from the choices. 2016-08-05 17:17:10 +00:00
Hanmac
fd9ed11887 CloneEffect: revert last changes with LKI, it breaks more than it has fixed 2016-08-05 04:33:00 +00:00
Hanmac
c9139e2771 TriggerDamageDone: use LKI copy for DamageSource 2016-08-05 04:26:24 +00:00
Hanmac
9f98cc40c3 revert 31631: it does make problems with WrappedAbility 2016-08-05 04:25:27 +00:00
Hanmac
0aefa3751f CloneEffect: use getChangeZoneLKIInfo if the clone source is not on the battlefield anymore
that should fix Permeating Mass
2016-08-05 03:45:01 +00:00
Hanmac
44e3a7e126 CardUtil: LKICopy now does copy the Cloner State too 2016-08-05 03:43:30 +00:00
Hanmac
be9f6c8ef2 ComputerUtil: fixed chooseSomeType
PlayerControllerAi & MessageUtil: fixed output for chooseType
2016-08-04 13:49:12 +00:00
Hanmac
dee7b87c08 ZoneExchangeEffect: only works if you own that object
specially if you gain control of opponents Arcanum Wings
2016-08-04 09:32:34 +00:00
Hanmac
2c097cd62c Big MayPlay rewrite, now use StaticAbility as Key in the mayPlay Map
SpellAbilityRestriction now does check if the spell is still valid when playing.
Add Special Logic for Bestow spells there. MayPlay that only allows creature spells, can't be used for Bestow.
2016-08-03 15:42:28 +00:00
Hanmac
90debcf4ad Keyword: fixed Offering reminderText 2016-08-03 14:34:01 +00:00
Hanmac
681db98a17 CardFactoryUtil & GameActionUtil: Offering is now a Keyword 2016-08-03 13:04:18 +00:00
Hanmac
af0a804e48 CardFactoryUtil & GameActionUtil: make Emerge a Keyword.
thats makes it better working with MayPlay
2016-08-03 12:22:09 +00:00
Hanmac
2458a8f73c Cost: moved "You can't sacrifice creatures to cast spells or activate abilities." into Card.canBeSacrificedBy.
also add Property for that.
2016-08-03 10:50:34 +00:00
Hanmac
cd41977b42 CardFactoryUtil & GameActionUtil: make "Alternative Cost" a better keyword to create SpellAbilities
that does make it work better with MayPlay
2016-08-03 09:16:24 +00:00
Hanmac
ab37dd35c0 CardTraitBase: move isSecondary from Trigger and ReplacementEffect to CardTraitBase to use it for all of them. 2016-08-03 08:44:56 +00:00
Hanmac
47e2a6d897 CardFactoryUtil: improved Bestow a bit 2016-08-03 08:07:11 +00:00
Krazy
be014c4237 [maven-release-plugin] prepare for next development iteration 2016-08-02 19:29:16 +00:00
Krazy
40636891c9 [maven-release-plugin] prepare release forge-1.5.55 2016-08-02 19:29:06 +00:00
Hanmac
5f1a05dcf5 Card: fixed description output of Morph, MegaMorph, Madness and Emerge 2016-08-02 14:42:42 +00:00
Hanmac
61348c1d92 Keyword: updated Morph, add MegaMorph and Emerge 2016-08-02 14:39:12 +00:00