mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
implemented Damage Assignment Order
This commit is contained in:
parent
7b511c5e7a
commit
f1558a255a
8 changed files with 52 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ public class CombatGroupView implements Serializable {
|
|||
if (attacker != null)
|
||||
attackers.put(id, new PermanentView(attacker, game.getCard(attacker.getId())));
|
||||
}
|
||||
for (UUID id: combatGroup.getBlockers()) {
|
||||
for (UUID id: combatGroup.getBlockerOrder()) {
|
||||
Permanent blocker = game.getPermanent(id);
|
||||
if (blocker != null)
|
||||
blockers.put(id, new PermanentView(blocker, game.getCard(blocker.getId())));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue