mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed cards moving to the library not creating CombatLKI's.
This commit is contained in:
@@ -640,10 +640,6 @@ public class GameAction {
|
|||||||
return this.moveTo(removed, c);
|
return this.moveTo(removed, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p != null) {
|
|
||||||
p.remove(c);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (c.isToken()) {
|
if (c.isToken()) {
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
@@ -666,6 +662,14 @@ public class GameAction {
|
|||||||
library.add(c, libPosition);
|
library.add(c, libPosition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p != null) {
|
||||||
|
if (p.is(ZoneType.Battlefield) && c.isCreature() && game.getCombat() != null) {
|
||||||
|
game.getCombat().saveLKI(lastKnownInfo);
|
||||||
|
game.getCombat().removeFromCombat(c);
|
||||||
|
}
|
||||||
|
p.remove(c);
|
||||||
|
}
|
||||||
|
|
||||||
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
||||||
runParams.put("Card", lastKnownInfo);
|
runParams.put("Card", lastKnownInfo);
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user