mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Apparently the extra copy for activated ABs is no longer necessary for Volrath's Shapeshifter.
This commit is contained in:
@@ -519,18 +519,6 @@ public final class StaticAbilityContinuous {
|
||||
// Enable this in case Volrath's original image is to be used
|
||||
affectedCard.getState(CardStateName.Original).setImageKey(affectedCard.getState(CardStateName.OriginalText).getImageKey());
|
||||
|
||||
// Activated abilities (statics and repleffects) and triggers are apparently copied via copyState?
|
||||
for (SpellAbility sa : gainTextSource.getSpellAbilities()) {
|
||||
if (sa instanceof AbilityActivated) {
|
||||
SpellAbility newSA = ((AbilityActivated) sa).getCopy();
|
||||
newSA.setOriginalHost(gainTextSource);
|
||||
newSA.setIntrinsic(false);
|
||||
newSA.setTemporary(true);
|
||||
newSA.setHostCard(affectedCard);
|
||||
affectedCard.addSpellAbility(newSA);
|
||||
}
|
||||
}
|
||||
|
||||
// Volrath's Shapeshifter shapeshifting ability needs to be added onto the new text
|
||||
if (params.containsKey("GainedTextHasThisStaticAbility")) {
|
||||
affectedCard.getCurrentState().addStaticAbility(stAb);
|
||||
|
||||
Reference in New Issue
Block a user