mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
* Circle of Affliction - Fixed that the triggered ability was wrongly also applied for damage dealt to other players.
This commit is contained in:
parent
dd8ec4d125
commit
367f692194
1 changed files with 4 additions and 5 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue