mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
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
|
|
@ -1989,7 +1989,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
Permanent attacker = game.getPermanent(attackerId);
|
||||
if (attacker != null) {
|
||||
sb.append(" (").append(attacker.getName()).append(')');
|
||||
target.setTargetName(sb.toString());
|
||||
target.withTargetName(sb.toString());
|
||||
}
|
||||
}
|
||||
if (chooseTarget(Outcome.Damage, target, null, game)) {
|
||||
|
|
@ -2181,7 +2181,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
Target target = new TargetAnyTarget();
|
||||
target.withNotTarget(true);
|
||||
if (singleTargetName != null) {
|
||||
target.setTargetName(singleTargetName);
|
||||
target.withTargetName(singleTargetName);
|
||||
}
|
||||
this.choose(Outcome.Damage, target, source, game);
|
||||
if (targets.isEmpty() || targets.contains(target.getFirstTarget())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue