Add counter utility and chain async animations in spell cast Introduce a Counter module to coordinate multiple asynchronous animation callbacks and update spellbook cast to run chained animations sequentially. Also lock selector during AI turns.