mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
Improved rule text generation.
This commit is contained in:
parent
8e8455150c
commit
f6ffec2e16
1 changed files with 5 additions and 1 deletions
|
|
@ -112,7 +112,11 @@ public class GainAbilityAllEffect extends ContinuousEffectImpl<GainAbilityAllEff
|
|||
}
|
||||
sb.append(filter.getMessage());
|
||||
if (duration.equals(Duration.WhileOnBattlefield)) {
|
||||
sb.append(" have ");
|
||||
if (filter.getMessage().toLowerCase().startsWith("each")) {
|
||||
sb.append(" has ");
|
||||
} else {
|
||||
sb.append(" have ");
|
||||
}
|
||||
} else {
|
||||
sb.append(" gain ");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue