mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
- Fixed #6296
This commit is contained in:
parent
eab4eb8781
commit
28169b5271
1 changed files with 6 additions and 2 deletions
|
@ -79,11 +79,15 @@ class HatefulEidolonTriggeredAbility extends TriggeredAbilityImpl {
|
|||
return false;
|
||||
}
|
||||
for (UUID auraId : deadCreature.getAttachments()) {
|
||||
Permanent aura = game.getPermanentOrLKIBattlefield(auraId);
|
||||
if (aura.getControllerId().equals(controllerId)) {
|
||||
Permanent attachment = game.getPermanentOrLKIBattlefield(auraId);
|
||||
if (attachment.getControllerId().equals(controllerId)
|
||||
&& attachment.isEnchantment()) { // Shadowspear or any other equipment does not count
|
||||
auraCount += 1;
|
||||
}
|
||||
}
|
||||
if (auraCount == 0) { // just equipment not aura's
|
||||
return false;
|
||||
}
|
||||
Player controller = game.getPlayer(controllerId);
|
||||
if (controller != null
|
||||
&& controller.canRespond()) {
|
||||
|
|
Loading…
Reference in a new issue