forked from External/mage
Some changes/fixes to epic effect and cards using it.
This commit is contained in:
parent
1c2f0ae65d
commit
81d630b65b
10 changed files with 72 additions and 30 deletions
|
|
@ -388,6 +388,15 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
return state.getPermanent(permanentId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Permanent getPermanentOrLKIBattlefield(UUID permanentId) {
|
||||
Permanent permanent = state.getPermanent(permanentId);
|
||||
if (permanent == null) {
|
||||
permanent = (Permanent) this.getLastKnownInformation(permanentId, Zone.BATTLEFIELD);
|
||||
}
|
||||
return permanent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Card getCard(UUID cardId) {
|
||||
if (cardId == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue