Added a list for appliedEffects (ReplacementEffects) to GameEvent that can be used to comply with rule 614.5.

This commit is contained in:
LevelX2 2012-10-09 16:22:30 +02:00
parent bd784dfbb0
commit d42e27247d
3 changed files with 42 additions and 9 deletions

View file

@ -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
*