EffectEffect: for StackDescription use SpellDescription if able, that prevents to show the cost on Stack

This commit is contained in:
Hanmac
2016-11-10 15:04:01 +00:00
parent 009b40b95e
commit e7f7ce2d91

View File

@@ -27,7 +27,8 @@ public class EffectEffect extends SpellAbilityEffect {
@Override
protected String getStackDescription(SpellAbility sa) {
return sa.getDescription();
// try to use SpellDescription
return sa.getParamOrDefault("SpellDescription", "");
}
/**