mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Add trigger
This commit is contained in:
@@ -428,6 +428,10 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
|||||||
game.getTriggerHandler().runTrigger(TriggerType.AbilityCast, runParams, true);
|
game.getTriggerHandler().runTrigger(TriggerType.AbilityCast, runParams, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sp.getPayCosts() != null && sp.getPayCosts().getMaxWaterbend() != null) {
|
||||||
|
activator.triggerElementalBend(TriggerType.Waterbend);
|
||||||
|
}
|
||||||
|
|
||||||
// Run Cycled triggers
|
// Run Cycled triggers
|
||||||
if (sp.isCycling()) {
|
if (sp.isCycling()) {
|
||||||
activator.addCycled(sp);
|
activator.addCycled(sp);
|
||||||
|
|||||||
Reference in New Issue
Block a user