forked from External/mage
refactor: improve method name (related to 86fa9278)
This commit is contained in:
parent
723df8f53c
commit
fdd244786b
31 changed files with 44 additions and 45 deletions
|
|
@ -43,7 +43,7 @@ public class PowerTargetAdjuster implements TargetAdjuster {
|
|||
int amount = dynamicValue.calculate(game, ability, ability.getEffects().get(0));
|
||||
Filter<MageObject> filter = newTarget.getFilter();
|
||||
filter.add(new PowerPredicate(comparison, amount));
|
||||
newTarget.setTargetName(filter.getMessage() + " (Power " + comparison + " " + amount + ")");
|
||||
newTarget.withTargetName(filter.getMessage() + " (Power " + comparison + " " + amount + ")");
|
||||
ability.getTargets().clear();
|
||||
ability.addTarget(newTarget);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue