mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
EffectEffect: support "CopySVar"
This commit is contained in:
@@ -260,6 +260,10 @@ public class EffectEffect extends SpellAbilityEffect {
|
|||||||
eff.setNamedCard(hostCard.getNamedCard());
|
eff.setNamedCard(hostCard.getNamedCard());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sa.hasParam("CopySVar")) {
|
||||||
|
eff.setSVar(sa.getParam("CopySVar"), sa.getHostCard().getSVar(sa.getParam("CopySVar")));
|
||||||
|
}
|
||||||
|
|
||||||
// Copy text changes
|
// Copy text changes
|
||||||
if (sa.isIntrinsic()) {
|
if (sa.isIntrinsic()) {
|
||||||
eff.copyChangedTextFrom(hostCard);
|
eff.copyChangedTextFrom(hostCard);
|
||||||
|
|||||||
Reference in New Issue
Block a user