forked from External/mage
Remove KickerAbility.getSpellKickedCount (#12553)
* Remove KickerAbility.getSpellKickedCount * Check spell LKI instead of only current spell object * Remove bad LKI storage under wrong ID
This commit is contained in:
parent
2118570a0d
commit
78649c1a62
12 changed files with 91 additions and 127 deletions
|
|
@ -562,7 +562,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
}
|
||||
if (removed) {
|
||||
if (fromZone != Zone.OUTSIDE) {
|
||||
game.rememberLKI(lkiObject != null ? lkiObject.getId() : objectId, fromZone, lkiObject != null ? lkiObject : this);
|
||||
game.rememberLKI(fromZone, lkiObject != null ? lkiObject : this);
|
||||
}
|
||||
} else {
|
||||
logger.warn("Couldn't find card in fromZone, card=" + getIdName() + ", fromZone=" + fromZone);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue