mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
- Fixed Indomitable Creativity. Bug #3029
This commit is contained in:
parent
3a2c828fb8
commit
c4dc0222d8
3 changed files with 6 additions and 6 deletions
|
|
@ -56,7 +56,7 @@ public class TargetCreaturePermanentSameController extends TargetCreaturePermane
|
|||
UUID targetId = (UUID) object;
|
||||
Permanent targetPermanent = game.getPermanent(targetId);
|
||||
if (targetPermanent != null) {
|
||||
if (firstTargetPermanent.getId() != targetPermanent.getId()) {
|
||||
if (!firstTargetPermanent.getId().equals(targetPermanent.getId())) {
|
||||
if (!firstTargetPermanent.getControllerId().equals(targetPermanent.getOwnerId())) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class TargetCreaturePermanentWithDifferentTypes extends TargetCreaturePer
|
|||
for (Object object : getTargets()) {
|
||||
UUID targetId = (UUID) object;
|
||||
Permanent selectedCreature = game.getPermanent(targetId);
|
||||
if (creature.getId() != selectedCreature.getId()) {
|
||||
if (!creature.getId().equals(selectedCreature.getId())) {
|
||||
if (CardUtil.shareSubtypes(creature, selectedCreature, game)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue