mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 15:02:13 -08:00
[ORI] Renown - Fixed that renown was not applied again after creature left and returned to battlefield.
This commit is contained in:
parent
bb2a7a25b2
commit
9c53e7f984
2 changed files with 89 additions and 16 deletions
|
|
@ -48,7 +48,8 @@ public class RenownAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public boolean checkInterveningIfClause(Game game) {
|
||||
return getSourceObject(game) != null && !((Permanent) getSourceObject(game)).isRenown();
|
||||
Permanent sourcePermanent = game.getPermanentOrLKIBattlefield(getSourceId());
|
||||
return sourcePermanent != null && !sourcePermanent.isRenown();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue