mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Fix Myr Welder + Ornate Kanzashi, make Myr Welder use the Imprint mechanism.
This commit is contained in:
@@ -400,13 +400,16 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
}
|
}
|
||||||
public void setOriginalHost(final Card c) {
|
public void setOriginalHost(final Card c) {
|
||||||
grantorCard = c;
|
grantorCard = c;
|
||||||
for (List<AbilitySub> addSaList : this.getAdditionalAbilityLists().values()) {
|
if (subAbility != null) {
|
||||||
for (SpellAbility addSa : addSaList) {
|
subAbility.setOriginalHost(c);
|
||||||
addSa.setOriginalHost(c);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (this.getSubAbility() != null) {
|
for (AbilitySub sa : additionalAbilities.values()) {
|
||||||
this.getSubAbility().setOriginalHost(c);
|
sa.setOriginalHost(c);
|
||||||
|
}
|
||||||
|
for (List<AbilitySub> list : additionalAbilityLists.values()) {
|
||||||
|
for (AbilitySub sa : list) {
|
||||||
|
sa.setOriginalHost(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ Name:Myr Welder
|
|||||||
ManaCost:3
|
ManaCost:3
|
||||||
Types:Artifact Creature Myr
|
Types:Artifact Creature Myr
|
||||||
PT:1/4
|
PT:1/4
|
||||||
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ Battlefield | GainsAbilitiesOf$ Card.IsRemembered+ExiledWithSource | GainsAbilitiesOfZones$ Exile | Description$ CARDNAME has all activated abilities of all cards exiled with it.
|
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ Battlefield | GainsAbilitiesOf$ Card.IsImprinted+ExiledWithSource | GainsAbilitiesOfZones$ Exile | Description$ CARDNAME has all activated abilities of all cards exiled with it.
|
||||||
A:AB$ ChangeZone | Cost$ T | ValidTgts$ Artifact | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Select target artifact | RememberChanged$ True | PrecostDesc$ Imprint — | SpellDescription$ Exile target artifact card from a graveyard.
|
A:AB$ ChangeZone | Cost$ T | ValidTgts$ Artifact | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Select target artifact | Imprint$ True | PrecostDesc$ Imprint — | SpellDescription$ Exile target artifact card from a graveyard.
|
||||||
T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget
|
T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget
|
||||||
SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard
|
SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard
|
||||||
T:Mode$ ChangesZone | Origin$ Battlefield | ValidCard$ Card.Self | Destination$ Any | Execute$ DBCleanup | Static$ True
|
T:Mode$ ChangesZone | Origin$ Battlefield | ValidCard$ Card.Self | Destination$ Any | Execute$ DBCleanup | Static$ True
|
||||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/myr_welder.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/myr_welder.jpg
|
||||||
Oracle:Imprint — {T}: Exile target artifact card from a graveyard.\nMyr Welder has all activated abilities of all cards exiled with it.
|
Oracle:Imprint — {T}: Exile target artifact card from a graveyard.\nMyr Welder has all activated abilities of all cards exiled with it.
|
||||||
|
|||||||
Reference in New Issue
Block a user