fixed Firesong and Sunspeaker triggering off of other players gaining life (fixes #4933)

This commit is contained in:
Evan Kranzler 2018-05-14 10:22:49 -04:00
parent ec4bee43d2
commit 505d09b0bb

View file

@ -114,7 +114,8 @@ class FiresongAndSunspeakerTriggeredAbility extends TriggeredAbilityImpl {
public boolean checkTrigger(GameEvent event, Game game) {
MageObject object = game.getObject(event.getSourceId());
if (object != null && object instanceof Spell) {
if (object.getColor(game).contains(ObjectColor.WHITE)
if (event.getTargetId().equals(this.getControllerId())
&& object.getColor(game).contains(ObjectColor.WHITE)
&& (object.isInstant()
|| object.isSorcery())) {
return true;