mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
GainAbilityAttachedEffect no longer includes reminder text on the attachment
This commit is contained in:
parent
481384a3c8
commit
906e30a81b
2 changed files with 7 additions and 2 deletions
|
|
@ -147,7 +147,12 @@ public class GainAbilityAttachedEffect extends ContinuousEffectImpl {
|
|||
if (quotes) {
|
||||
sb.append('"');
|
||||
}
|
||||
sb.append(ability.getRule("This " + targetObjectName));
|
||||
String abilityRuleText = ability.getRule("This " + targetObjectName);
|
||||
if (abilityRuleText.endsWith(")</i>")) {
|
||||
// remove reminder text for this rule generation
|
||||
abilityRuleText = abilityRuleText.substring(0, abilityRuleText.indexOf(" <i>("));
|
||||
}
|
||||
sb.append(abilityRuleText);
|
||||
if (quotes) {
|
||||
sb.append('"');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class SkulkAbility extends StaticAbility {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Skulk <i>(This creature can't be blocked by creatures with greater power.)</i>";
|
||||
return "skulk <i>(This creature can't be blocked by creatures with greater power.)</i>";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue