mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00: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…
Reference in a new issue