mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fixed Firesong and Sunspeaker triggering off of other players gaining life (fixes #4933)
This commit is contained in:
parent
ec4bee43d2
commit
505d09b0bb
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ class FiresongAndSunspeakerTriggeredAbility extends TriggeredAbilityImpl {
|
||||||
public boolean checkTrigger(GameEvent event, Game game) {
|
public boolean checkTrigger(GameEvent event, Game game) {
|
||||||
MageObject object = game.getObject(event.getSourceId());
|
MageObject object = game.getObject(event.getSourceId());
|
||||||
if (object != null && object instanceof Spell) {
|
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.isInstant()
|
||||||
|| object.isSorcery())) {
|
|| object.isSorcery())) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue