mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
Fixed MasterOfTheWildHunt, now target controller gets custom message while selecting targets to response.
This commit is contained in:
parent
d52ff8e221
commit
370d042858
8 changed files with 5 additions and 4 deletions
|
|
@ -485,10 +485,11 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void assignDamage(int damage, List<UUID> targets, UUID sourceId, Game game) {
|
||||
public void assignDamage(int damage, List<UUID> targets, String singleTargetName, UUID sourceId, Game game) {
|
||||
int remainingDamage = damage;
|
||||
while (remainingDamage > 0) {
|
||||
Target target = new TargetCreatureOrPlayer();
|
||||
if (singleTargetName != null) target.setTargetName(singleTargetName);
|
||||
choose(Outcome.Damage, target, game);
|
||||
if (targets.size() == 0 || targets.contains(target.getFirstTarget())) {
|
||||
int damageAmount = getAmount(0, remainingDamage, "Select amount", game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue