forked from External/mage
17 lines
443 B
Java
17 lines
443 B
Java
package mage.game.events;
|
|
|
|
import mage.abilities.Ability;
|
|
import mage.game.permanent.Permanent;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author JayDi85
|
|
*/
|
|
public class EnchantedPlayerEvent extends GameEvent {
|
|
|
|
public EnchantedPlayerEvent(UUID targetId, Permanent attachment, Ability source) {
|
|
super(GameEvent.EventType.ENCHANTED_PLAYER, targetId, null, attachment.getControllerId());
|
|
this.setSourceId(attachment.getId());
|
|
}
|
|
}
|