forked from External/mage
Add tests for Camellia, refactor SacrificedPermanentBatchEvent. (#12769)
Added SacrificedPermanentEvent, to be used in SacrificedPermanentBatchEvent to prevent adding incorrect GameEvents.
This commit is contained in:
parent
e290bc8c1a
commit
6a19ec48df
5 changed files with 113 additions and 9 deletions
|
|
@ -0,0 +1,14 @@
|
|||
package mage.game.events;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Grath
|
||||
*/
|
||||
public class SacrificedPermanentEvent extends GameEvent {
|
||||
public SacrificedPermanentEvent(UUID targetId, Ability source, UUID playerId) {
|
||||
super(EventType.SACRIFICED_PERMANENT, targetId, source, playerId);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue