forked from External/mage
GUI: Autochoose targets if choice can be made (#9206)
This commit is contained in:
parent
1e01efd49d
commit
96f6fbefc8
29 changed files with 492 additions and 213 deletions
|
|
@ -788,7 +788,7 @@ public abstract class AbilityImpl implements Ability {
|
|||
@Override
|
||||
public String getRule(boolean all) {
|
||||
StringBuilder sbRule = threadLocalBuilder.get();
|
||||
if (all || this.abilityType != AbilityType.SPELL) {
|
||||
if (all || this.abilityType != AbilityType.SPELL) { // TODO: Why the override for non-spells?
|
||||
if (!manaCosts.isEmpty()) {
|
||||
sbRule.append(manaCosts.getText());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue