- Apparently the extra copy for activated ABs is no longer necessary for Volrath's Shapeshifter.

This commit is contained in:
Agetian
2018-01-19 21:40:36 +03:00
parent ceafaf5e2e
commit 056d66b865

View File

@@ -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);