package mage.game.events; import mage.abilities.Ability; import mage.game.permanent.Permanent; import java.util.UUID; /** * @author JayDi85 */ public class EnchantPlayerEvent extends GameEvent { // TODO: investigate why source is provided but not used at all? public EnchantPlayerEvent(UUID targetId, Permanent attachment, Ability source) { super(GameEvent.EventType.ENCHANT_PLAYER, targetId, null, attachment.getControllerId()); this.setSourceId(attachment.getId()); } }