Commit Graph

1714 Commits

Author SHA1 Message Date
Hanmac
776962d28a Card & Player: count when ever a counter is placed on a permanent your control per turn 2016-09-25 12:58:08 +00:00
Sol
619b4ce3fa - Adding second ability for Animation Module, marking it not for AI since PutCounters needs AI for new mode AND chooseCounters needs some AI depending on the target. 2016-09-24 14:01:08 +00:00
Hanmac
97b17f8e1a TriggerHandler: add extra Logic for Panharmonicon 2016-09-23 20:14:15 +00:00
Sol
fe19ba1f66 - Explicitly allow Emblems to be accepted by IsValid 2016-09-23 17:12:03 +00:00
Sol
5ff7afbd1b - Added Combustible Gearhulk 2016-09-22 15:19:07 +00:00
Sol
c9260215c3 - Added Eager Construct 2016-09-22 13:59:49 +00:00
Sol
e63a0b3bcf - KLD Fixes (incl. small change to "can't crew Vehicles" to match Revoke Privileges text) 2016-09-21 18:53:27 +00:00
Sol
fad15a749f - Allow PayEnergy to be used as an unless cost for Humans 2016-09-21 15:30:56 +00:00
Hanmac
72aebb0a5c Player & Trigger: make TriggerCounterAdded and TriggerCounterAddedOnce work for Player too.
Trigger only checks for one thing, so something that does check both player and cards does need to have two trigger
2016-09-21 09:45:13 +00:00
Sol
1072e09faa - Allow players to have counters removed from them 2016-09-20 21:45:51 +00:00
Sol
4230bb59f2 - Add Hour CounterType 2016-09-20 12:51:58 +00:00
Sol
ef570f450d - When getting all formats of a deck, don't change the order of the formats but sticking it into an unordered set. 2016-09-19 03:35:28 +00:00
Hanmac
5e4385b9e1 AbilityUtils: LastStateBattlefield & LastStateGraveyard might be null if nothing was on the Stack before, fall back in checking the Zones 2016-09-18 16:07:16 +00:00
Hanmac
c0f7ea2983 CostTapType: for Crew add Keyword "CARDNAME can't crew a vehicle",
now the cost does check that the creatures does not have this.
2016-09-18 05:01:39 +00:00
Hanmac
828b0a51af Card: removeChangedCardTypes add check for null 2016-09-13 21:08:01 +00:00
Hanmac
e83693682c Card: for removing changedTypes, when it does remove a BasicLand Type, need to remove the ManaAbilities too 2016-09-12 16:03:47 +00:00
Hanmac
0295baeec0 CardFactoryUtil: add Fabricate Keyword 2016-09-12 10:50:54 +00:00
Sol
ca3a00db65 - Add some protection from just trying to randomly get from a dictionary 2016-09-10 16:08:53 +00:00
Sol
c3cc04d983 - Adding Crew keyword and trigger 2016-09-07 03:17:15 +00:00
Sol
8c60f5b247 - Update token stack description 2016-09-04 18:30:50 +00:00
Sol
b51ab053db - Making Energy actually a counter instead of it's own Player attribute. This should enable it to be displayed when hovering over the Player image. 2016-09-03 02:32:49 +00:00
Sol
da81ed5130 - CostParse for PayEnergy 2016-09-03 01:59:18 +00:00
Sol
4e36fdc2b3 - Adding Energy and PayEnergy for Players (still needs UI updates) 2016-09-03 01:15:05 +00:00
Hanmac
31aa59ce9d Card: add AllNonLegendaryCreatureNames for SpyKit 2016-09-02 09:01:14 +00:00
Hanmac
a2af4ced63 CardFactoryUtil: abilityMorphDown fixed ability for Morph cards 2016-08-25 13:59:12 +00:00
Hanmac
453c1e7f9f add Goad Effect, add it to AttackRequirement and CombatUtil
also add it to Ai logic
2016-08-25 12:15:54 +00:00
Hanmac
41735176f6 CardFactoryUtil: add Melee as Keyword 2016-08-23 16:56:19 +00:00
Hanmac
317e9d3a4f AbilityUtils: add TriggeredPlayers to work with a List of Player objects 2016-08-23 16:54:21 +00:00
Hanmac
8f75c1070f CombatUtil & TriggerAttacks: add all Defenders as Triggered Object 2016-08-23 16:52:57 +00:00
Hanmac
d4f31e10dd CardFactoryUtil: move Provoke to addTriggerAbility 2016-08-22 14:44:29 +00:00
swordshine
78b6e11ec2 - CN2: Fix Monarch's draw trigger 2016-08-21 14:24:49 +00:00
Hanmac
2fb4a314cf Game & GameAction & Player: add Monarch into Forge
that add a new BecomeMonarchEffect and a TriggerBecomeMonarch
Player has a new Property "isMonarch"
2016-08-21 09:23:15 +00:00
Hanmac
8050bfe391 CardFactoryUtil: "Alternative Cost" only works for non-Lands 2016-08-20 08:24:02 +00:00
Hanmac
638f50d160 ChangeZoneEffect: add only if OriginZone is not null 2016-08-18 15:52:49 +00:00
Hanmac
b65a16acf2 ChooseName now uses ICardFaces for selecting a CardName.
that now makes it working for naming an alternate state of a card.
2016-08-18 08:29:11 +00:00
Hanmac
157c20a82b Card: extended logic for sharesNameWith to be used with Strings to use it with NamedCard 2016-08-18 08:22:07 +00:00
swordshine
1cfdb0aa0c - CN2: Added Kaya, Ghost Assassin and Capital Punishment 2016-08-16 12:20:00 +00:00
Hanmac
8cc647bb93 TriggerSacrificed & Player: add Player Param because it might differ from the (original) controller of the card,
while copying does not seems to copy control effects too.
2016-08-16 10:30:11 +00:00
Hanmac
7b8563516c TriggerHandler & TriggerWaiting: updated trigger for subabilities and waiting Trigger should look for the events they should trigger.
that does fix the problem with subabilities and changeZone Triggers (no need to check for LastStateBattlefield)
2016-08-15 08:03:33 +00:00
Hanmac
7ab1812ea8 AbilityUtils: add LastStateGraveyard and add both to CardFactoryUtil to work without SpellAbility 2016-08-14 09:02:07 +00:00
Hanmac
97d05b830c Game: update copyLastStateBattlefield to copyLastState 2016-08-14 09:00:03 +00:00
Hanmac
db520bd7eb SpellAbility: add LastStateGraveyard
updated TriggerHandler and MagicStack
add it to ReplacementHandler too
2016-08-14 08:59:17 +00:00
Hanmac
444b01ce8f Player: fixed BloodThrist also counting LostPlayers
also make Ferocious shorter using filterPower
2016-08-14 08:51:41 +00:00
Hanmac
1c00fdb204 PhaseHandler: clearAssignedDamage for LostPlayers too 2016-08-14 08:47:39 +00:00
Hanmac
f1b5502649 Game: add LastStateGraveyard (that is for something when its returned from the graveyard while counting itself)
also add getLostPlayers to clearup Damage of them after they lost
2016-08-14 08:46:21 +00:00
Hanmac
5af5cb61c0 Player: fixed Name of StaticAbility Effect 2016-08-13 10:27:40 +00:00
Hanmac
f4c3975e75 StaticAbilityContinuous: Player now can get StaticAblilities 2016-08-13 10:26:07 +00:00
Hanmac
c3b66dd8f2 GameAction: when Temporary Abilities are cleared, clear the Player ones too 2016-08-13 10:24:18 +00:00
Hanmac
6c27b0ed09 StaticAbility: fixed Layer, AddStaticAbility need to be Ability2 and IgnoreEffectCost need to be Rules 2016-08-13 10:23:07 +00:00
Hanmac
c67caaffa5 Player: add way to add StaticAbilities to Player over a hidden DetachedCardEffect 2016-08-13 10:21:43 +00:00