mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
AiController: need to set triggered Object for ETB check
This commit is contained in:
@@ -310,6 +310,9 @@ public class AiController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exSA.setTrigger(tr);
|
exSA.setTrigger(tr);
|
||||||
|
// need to set TriggeredObject
|
||||||
|
exSA.setTriggeringObject(AbilityKey.Card, card);
|
||||||
|
|
||||||
|
|
||||||
// for trigger test, need to ignore the conditions
|
// for trigger test, need to ignore the conditions
|
||||||
SpellAbilityCondition cons = exSA.getConditions();
|
SpellAbilityCondition cons = exSA.getConditions();
|
||||||
|
|||||||
Reference in New Issue
Block a user