forked from External/mage
Added a list for appliedEffects (ReplacementEffects) to GameEvent that can be used to comply with rule 614.5.
This commit is contained in:
parent
bd784dfbb0
commit
d42e27247d
3 changed files with 42 additions and 9 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
package mage.game.permanent;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.cards.Card;
|
||||
|
|
@ -85,6 +86,8 @@ public interface Permanent extends Card, Controllable {
|
|||
public int getDamage();
|
||||
public int damage(int damage, UUID sourceId, Game game, boolean preventable, boolean combat);
|
||||
|
||||
public int damage(int damage, UUID sourceId, Game game, boolean preventable, boolean combat, ArrayList<UUID> appliedEffects);
|
||||
|
||||
/**
|
||||
* used in combat only to deal damage at the same time
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue