mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
fixes
This commit is contained in:
parent
d71f48c2ce
commit
e8be81cd34
11 changed files with 28 additions and 24 deletions
|
|
@ -87,8 +87,6 @@ public class CantTargetControlledEffect extends ReplacementEffectImpl<CantTarget
|
|||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (event.getType() == EventType.TARGET) {
|
||||
filterTarget.setTargetController(TargetController.YOU);
|
||||
// filterTarget.getControllerId().clear();
|
||||
// filterTarget.getControllerId().add(source.getControllerId());
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent != null && filterTarget.match(permanent, source.getControllerId(), game)) {
|
||||
if (filterSource == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue