mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- GameState: when processing a precast effect solely for KW Awaken, only precast the Awaken part, not the parent ability.
This commit is contained in:
@@ -680,9 +680,9 @@ public abstract class GameState {
|
|||||||
if (ab.getDescription().startsWith("Awaken")) {
|
if (ab.getDescription().startsWith("Awaken")) {
|
||||||
ab.setActivatingPlayer(c.getController());
|
ab.setActivatingPlayer(c.getController());
|
||||||
ab.getSubAbility().setActivatingPlayer(c.getController());
|
ab.getSubAbility().setActivatingPlayer(c.getController());
|
||||||
sa = ab;
|
|
||||||
// target for Awaken is set in its first subability
|
// target for Awaken is set in its first subability
|
||||||
handleScriptedTargetingForSA(game, sa.getSubAbility(), tgtID);
|
handleScriptedTargetingForSA(game, ab.getSubAbility(), tgtID);
|
||||||
|
sa = ab.getSubAbility(); // only resolve the keyworded part
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sa == null) {
|
if (sa == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user