mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08: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());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
if (controller != null) {
|
if (controller != null) {
|
||||||
controller.gainLife(5, game);
|
controller.gainLife(5, game);
|
||||||
|
this.used = true;
|
||||||
discard();
|
discard();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -105,6 +106,9 @@ class WordsOfWorshipEffect extends ReplacementEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
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…
Add table
Add a link
Reference in a new issue