mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fix Offspring not triggering for AI (#6622)
This commit is contained in:
@@ -711,7 +711,15 @@ public final class GameActionUtil {
|
||||
host.getGame().getTriggerHandler().resetActiveTriggers(false);
|
||||
}
|
||||
|
||||
return result != null ? result : sa;
|
||||
if (result != null) {
|
||||
// sanity check if need to update castSA
|
||||
if (sa.getHostCard().getCastSA() == sa) {
|
||||
sa.getHostCard().setCastSA(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
return sa;
|
||||
}
|
||||
|
||||
public static Card createETBCountersEffect(Card sourceCard, Card c, Player controller, String counter, String amount) {
|
||||
|
||||
Reference in New Issue
Block a user