mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Fix for #3740
This commit is contained in:
parent
65c4cbc79e
commit
3dc214c203
1 changed files with 6 additions and 2 deletions
|
@ -92,6 +92,7 @@ class WordsOfWorshipEffect extends ReplacementEffectImpl {
|
|||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
controller.gainLife(5, game);
|
||||
this.used = true;
|
||||
discard();
|
||||
return true;
|
||||
}
|
||||
|
@ -105,6 +106,9 @@ class WordsOfWorshipEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
return source.getControllerId().equals(event.getPlayerId());
|
||||
if (!this.used) {
|
||||
return source.getControllerId().equals(event.getPlayerId());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue