mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Merge branch 'assorted-fixes' into 'master'
Fixed CardState#copyFrom copying non-intrinsic abilities, minor card fix (Nissa, Steward of Elements) See merge request core-developers/forge!148
This commit is contained in:
@@ -384,16 +384,20 @@ public class CardState extends GameObject {
|
||||
|
||||
manaAbilities.clear();
|
||||
for (SpellAbility sa : source.manaAbilities) {
|
||||
SpellAbility saCopy = sa.copy();
|
||||
saCopy.setHostCard(card); // update HostCard
|
||||
manaAbilities.add(saCopy);
|
||||
if (sa.isIntrinsic()) {
|
||||
SpellAbility saCopy = sa.copy();
|
||||
saCopy.setHostCard(card); // update HostCard
|
||||
manaAbilities.add(saCopy);
|
||||
}
|
||||
}
|
||||
|
||||
nonManaAbilities.clear();
|
||||
for (SpellAbility sa : source.nonManaAbilities) {
|
||||
SpellAbility saCopy = sa.copy();
|
||||
saCopy.setHostCard(card); // update HostCard
|
||||
nonManaAbilities.add(saCopy);
|
||||
if (sa.isIntrinsic()) {
|
||||
SpellAbility saCopy = sa.copy();
|
||||
saCopy.setHostCard(card); // update HostCard
|
||||
nonManaAbilities.add(saCopy);
|
||||
}
|
||||
}
|
||||
|
||||
setIntrinsicKeywords(source.intrinsicKeywords.getValues());
|
||||
|
||||
@@ -5,7 +5,7 @@ Loyalty:0
|
||||
K:etbCounter:LOYALTY:X
|
||||
SVar:X:Count$xPaid
|
||||
A:AB$ Scry | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ScryNum$ 2 | SpellDescription$ Scry 2.
|
||||
A:AB$ Dig | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | DigNum$ 1 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Land,Creature.cmcLEY | ForceRevealToController$ True | PromptToSkipOptionalAbility$ True | OptionalAbilityPrompt$ Would you like to put the permanent onto the battlefield? | DestinationZone$ Battlefield | LibraryPosition2$ 0 | SpellDescription$ Look at the top card of your library. If it's a land card or a creature card with converted mana cost less than or equal to the number of loyalty counters on Nissa, Steward of Elements, you may put that card onto the battlefield.
|
||||
A:AB$ Dig | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | DigNum$ 1 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Land,Creature.cmcLEY | ForceRevealToController$ True | PromptToSkipOptionalAbility$ True | References$ Y | AILogic$ AlwaysConfirm | OptionalAbilityPrompt$ Would you like to put the permanent onto the battlefield? | DestinationZone$ Battlefield | LibraryPosition2$ 0 | SpellDescription$ Look at the top card of your library. If it's a land card or a creature card with converted mana cost less than or equal to the number of loyalty counters on Nissa, Steward of Elements, you may put that card onto the battlefield.
|
||||
A:AB$ Untap | Cost$ SubCounter<6/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Land.YouCtrl | TargetMin$ 0 | TargetMax$ 2 | RememberTargets$ True | SubAbility$ Animate | SpellDescription$ Untap up to two target lands you control. They become 5/5 Elemental creatures with flying and haste until end of turn. They're still lands.
|
||||
SVar:Animate:DB$ Animate | Defined$ Remembered | Power$ 5 | Toughness$ 5 | Types$ Creature,Elemental | Keywords$ Flying & Haste
|
||||
SVar:Y:Count$CardCounters.LOYALTY
|
||||
|
||||
Reference in New Issue
Block a user