mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
[AFC] Implemented Thorough Investigation
This commit is contained in:
parent
86c2081a82
commit
d7b2d2208d
3 changed files with 43 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ public class SacrificePermanentTriggeredAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
return event.getPlayerId().equals(this.getControllerId())
|
||||
&& filter.match(game.getPermanentOrLKIBattlefield(event.getTargetId()), game);
|
||||
return isControlledBy(event.getPlayerId())
|
||||
&& filter.match(game.getPermanentOrLKIBattlefield(event.getTargetId()), getSourceId(), getControllerId(), game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue