mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
LKI: fix wrong state on stack (#3843)
* fix wrong state on stack * fix typo
This commit is contained in:
@@ -229,7 +229,7 @@ public final class CardUtil {
|
|||||||
if (in.isTransformed()) {
|
if (in.isTransformed()) {
|
||||||
newCopy.incrementTransformedTimestamp();
|
newCopy.incrementTransformedTimestamp();
|
||||||
}
|
}
|
||||||
newCopy.setState(newCopy.getFaceupCardStateName(), false, true);
|
newCopy.setState(in.getCurrentStateName(), false, true);
|
||||||
if (in.isFaceDown()) {
|
if (in.isFaceDown()) {
|
||||||
newCopy.turnFaceDownNoUpdate();
|
newCopy.turnFaceDownNoUpdate();
|
||||||
newCopy.setType(new CardType(in.getFaceDownState().getType()));
|
newCopy.setType(new CardType(in.getFaceDownState().getType()));
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ ALTERNATE
|
|||||||
Name:Carnage
|
Name:Carnage
|
||||||
ManaCost:2 B R
|
ManaCost:2 B R
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
A:SP$ DealDamage | Cost$ 2 B R | ValidTgts$ Player.Opponent | NumDmg$ 3 | SubAbility$ DBDiscard | SpellDescription$ CARDNAME deals 3 damage to target player. That player discards two cards.
|
A:SP$ DealDamage | Cost$ 2 B R | ValidTgts$ Player.Opponent | NumDmg$ 3 | SubAbility$ DBDiscard | SpellDescription$ CARDNAME deals 3 damage to target opponent. That player discards two cards.
|
||||||
SVar:DBDiscard:DB$ Discard | Defined$ TargetedPlayer | NumCards$ 2 | Mode$ TgtChoose
|
SVar:DBDiscard:DB$ Discard | Defined$ TargetedPlayer | NumCards$ 2 | Mode$ TgtChoose
|
||||||
Oracle:Carnage deals 3 damage to target opponent. That player discards two cards.
|
Oracle:Carnage deals 3 damage to target opponent. That player discards two cards.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ ManaCost:R G
|
|||||||
Types:Legendary Creature Human Scout
|
Types:Legendary Creature Human Scout
|
||||||
PT:1/2
|
PT:1/2
|
||||||
K:Haste
|
K:Haste
|
||||||
T:Mode$ Attacks | ValidCard$ Card.Self | IsPresent$ Creature.YouCtrl+powerGE4 | NoResolvingCheck$ True | TriggerZones$ Battlefield | Execute TrigPump | TriggerDescription$ Whenever CARDNAME attacks while you control a creature with power 4 or greater, NICKNAME gets +2/+2 until end of turn.
|
T:Mode$ Attacks | ValidCard$ Card.Self | IsPresent$ Creature.YouCtrl+powerGE4 | NoResolvingCheck$ True | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks while you control a creature with power 4 or greater, NICKNAME gets +2/+2 until end of turn.
|
||||||
SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ 2 | NumDef$ 2
|
SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ 2 | NumDef$ 2
|
||||||
A:AB$ Mana | Cost$ T | Produced$ Combo R G | SpellDescription$ Add {R} or {G}.
|
A:AB$ Mana | Cost$ T | Produced$ Combo R G | SpellDescription$ Add {R} or {G}.
|
||||||
SVar:HasAttackEffect:TRUE
|
SVar:HasAttackEffect:TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user