* Circle of Affliction - Fixed that the triggered ability was wrongly also applied for damage dealt to other players.

This commit is contained in:
LevelX2 2019-01-03 17:16:03 +01:00
parent dd8ec4d125
commit 367f692194

View file

@ -1,4 +1,3 @@
package mage.cards.c;
import java.util.UUID;
@ -69,7 +68,7 @@ class CircleOfAfflictionTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
Permanent circleOfAffliction = game.getPermanentOrLKIBattlefield(getSourceId());
if (circleOfAffliction != null) {
if (circleOfAffliction != null && event.getTargetId().equals(getControllerId())) {
ObjectColor chosenColor = (ObjectColor) game.getState().getValue(circleOfAffliction.getId() + "_color");
if (chosenColor != null) {
MageObject damageSource = game.getObject(event.getSourceId());