mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
GUI: fixed that some triggered stack abilities do not show related/targeted objects in card hint (related to #12544)
This commit is contained in:
parent
858b0aadde
commit
dc86ec1081
1 changed files with 1 additions and 3 deletions
|
|
@ -92,9 +92,7 @@ public class StackAbilityView extends CardView {
|
|||
List<UUID> targetList = new ArrayList<>();
|
||||
for (Effect effect : mode.getEffects()) {
|
||||
TargetPointer targetPointer = effect.getTargetPointer();
|
||||
if (targetPointer instanceof FixedTarget) {
|
||||
targetList.add(((FixedTarget) targetPointer).getTarget());
|
||||
}
|
||||
targetList.addAll(targetPointer.getTargets(game, ability));
|
||||
}
|
||||
if (!targetList.isEmpty()) {
|
||||
overrideTargets(targetList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue