mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
* Mossbridge Troll - Fixed that the Troll was also regenerated of detroy effect if it was not possible to regenerate.
This commit is contained in:
parent
a9ba34395f
commit
2f996847b3
2 changed files with 72 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ class MossbridgeTrollReplacementEffect extends ReplacementEffectImpl {
|
|||
@Override
|
||||
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
|
||||
Permanent mossbridgeTroll = game.getPermanent(event.getTargetId());
|
||||
if (mossbridgeTroll != null) {
|
||||
if (mossbridgeTroll != null && event.getAmount() == 0) { // 1=noRegen
|
||||
return mossbridgeTroll.regenerate(source.getSourceId(), game);
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue