mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
EffectEffect: for StackDescription use SpellDescription if able, that prevents to show the cost on Stack
This commit is contained in:
@@ -27,7 +27,8 @@ public class EffectEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getStackDescription(SpellAbility sa) {
|
protected String getStackDescription(SpellAbility sa) {
|
||||||
return sa.getDescription();
|
// try to use SpellDescription
|
||||||
|
return sa.getParamOrDefault("SpellDescription", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user