Skip to content

ExtendedSpellSlotIntDriver

Class Documentation

Edit documentation

Int logic driver returning the spellbook slot of the owner unit's ongoing spell cast, whatever slot it comes from - no slot-range filter. Returns -1 while no cast is ongoing.

Because it reports the raw slot of the active cast instance, it is the tool for discovering which slot a script-cast spell lands in. Feed the found slot to IsCastingBoolDriver to track that spell. BasicSpellSlotIntDriver and BasicAttackSlotIntDriver are the range-filtered variants.