mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge branch 'fix' into 'master'
Various fixes See merge request core-developers/forge!3434
This commit is contained in:
@@ -455,7 +455,7 @@ public final class AbilityFactory {
|
|||||||
Map<String, String> leftMap = Maps.newHashMap(leftAbility.getMapParams());
|
Map<String, String> leftMap = Maps.newHashMap(leftAbility.getMapParams());
|
||||||
AbilityRecordType leftType = AbilityRecordType.getRecordType(leftMap);
|
AbilityRecordType leftType = AbilityRecordType.getRecordType(leftMap);
|
||||||
ApiType leftApi = leftType.getApiTypeOf(leftMap);
|
ApiType leftApi = leftType.getApiTypeOf(leftMap);
|
||||||
leftMap.put("StackDecription", leftMap.get("SpellDescription"));
|
leftMap.put("StackDescription", leftMap.get("SpellDescription"));
|
||||||
leftMap.put("SpellDescription", "Fuse (you may cast both halves of this card from your hand).");
|
leftMap.put("SpellDescription", "Fuse (you may cast both halves of this card from your hand).");
|
||||||
leftMap.put("ActivationZone", "Hand");
|
leftMap.put("ActivationZone", "Hand");
|
||||||
|
|
||||||
@@ -465,7 +465,7 @@ public final class AbilityFactory {
|
|||||||
|
|
||||||
AbilityRecordType rightType = AbilityRecordType.getRecordType(leftMap);
|
AbilityRecordType rightType = AbilityRecordType.getRecordType(leftMap);
|
||||||
ApiType rightApi = leftType.getApiTypeOf(rightMap);
|
ApiType rightApi = leftType.getApiTypeOf(rightMap);
|
||||||
rightMap.put("StackDecription", rightMap.get("SpellDescription"));
|
rightMap.put("StackDescription", rightMap.get("SpellDescription"));
|
||||||
rightMap.put("SpellDescription", "");
|
rightMap.put("SpellDescription", "");
|
||||||
|
|
||||||
Cost totalCost = parseAbilityCost(leftState, leftMap, leftType);
|
Cost totalCost = parseAbilityCost(leftState, leftMap, leftType);
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
Name:Back for More
|
Name:Back for More
|
||||||
ManaCost:4 B G
|
ManaCost:4 B G
|
||||||
Types:Instant
|
Types:Instant
|
||||||
A:SP$ ChangeZone | Cost$ 4 B G | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SubAbility$ DBFight | StackDescription$ SpellDescription | SpellDescription$ Return target creature card from your graveyard to the battlefield. When you do, it fights up to one target creature you don't control.
|
A:SP$ ChangeZone | Cost$ 4 B G | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SubAbility$ DBImmediateTrigger | StackDescription$ SpellDescription | SpellDescription$ Return target creature card from your graveyard to the battlefield. When you do, it fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
|
||||||
SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Choose target creature you don't control | StackDescription$ None
|
SVar:DBImmediateTrigger:DB$ ImmediateTrigger | RememberObjects$ Targeted | Execute$ DBFight | Secondary$ True | TriggerDescription$ When you do, it fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
|
||||||
|
SVar:DBFight:DB$ Fight | Defined$ DelayTriggerRemembered | ValidTgts$ Creature.YouDontCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Choose up to one target creature you don't control | StackDescription$ None
|
||||||
|
DeckHas:Ability$Graveyard
|
||||||
Oracle:Return target creature card from your graveyard to the battlefield. When you do, it fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
|
Oracle:Return target creature card from your graveyard to the battlefield. When you do, it fights up to one target creature you don't control. (Each deals damage equal to its power to the other.)
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ K:Deathtouch
|
|||||||
K:CARDNAME can only attack alone.
|
K:CARDNAME can only attack alone.
|
||||||
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | ValidDefender$ Player | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks a player and isn't blocked, that player's life total becomes 1. CARDNAME assigns no combat damage this combat.
|
T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | ValidDefender$ Player | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks a player and isn't blocked, that player's life total becomes 1. CARDNAME assigns no combat damage this combat.
|
||||||
SVar:TrigDamage:DB$ SetLife | Defined$ TriggeredDefender | LifeAmount$ 1 | SubAbility$ DBPump
|
SVar:TrigDamage:DB$ SetLife | Defined$ TriggeredDefender | LifeAmount$ 1 | SubAbility$ DBPump
|
||||||
SVar:DBPump:DB$ Pump | Defined$ Self | KW$ Prevent all combat damage that would be dealt by CARDNAME. | UntilEndOfCombat$ True
|
SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage | UntilEndOfCombat$ True
|
||||||
SVar:MustBeBlocked:True
|
SVar:MustBeBlocked:True
|
||||||
Oracle:First strike, deathtouch\nMaster of Cruelties can only attack alone.\nWhenever Master of Cruelties attacks a player and isn't blocked, that player's life total becomes 1. Master of Cruelties assigns no combat damage this combat.
|
Oracle:First strike, deathtouch\nMaster of Cruelties can only attack alone.\nWhenever Master of Cruelties attacks a player and isn't blocked, that player's life total becomes 1. Master of Cruelties assigns no combat damage this combat.
|
||||||
|
|||||||
@@ -2,8 +2,7 @@ Name:Merchant Raiders
|
|||||||
ManaCost:3 U
|
ManaCost:3 U
|
||||||
Types:Creature Human Pirate
|
Types:Creature Human Pirate
|
||||||
PT:2/4
|
PT:2/4
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ Whenever CARDNAME or another Pirate enters the battlefield under your control, tap up to one target creature. That creature doesn't untap during its controller's untap step for as long as you control CARDNAME.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self,Pirate.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigTap | TriggerDescription$ Whenever CARDNAME or another Pirate enters the battlefield under your control, tap up to one target creature. That creature doesn't untap during its controller's untap step for as long as you control CARDNAME.
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Pirate.Other+YouCtrl | Execute$ TrigTap | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Pirate enters the battlefield under your control, tap up to one target creature. That creature doesn't untap during its controller's untap step for as long as you control CARDNAME.
|
|
||||||
SVar:TrigTap:DB$ Tap | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ DBPump
|
SVar:TrigTap:DB$ Tap | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ DBPump
|
||||||
SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ HIDDEN CARDNAME doesn't untap during your untap step. | UntilLoseControlOfHost$ True
|
SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ HIDDEN CARDNAME doesn't untap during your untap step. | UntilLoseControlOfHost$ True
|
||||||
SVar:PlayMain1:TRUE
|
SVar:PlayMain1:TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user