Skip to content

BasicAttackSlotIntDriver

Class Documentation

Edit documentation

Int logic driver returning the spellbook slot of the owner unit's ongoing cast, if that cast is a basic attack - attacks go through the spellbook like spells and occupy slots 64-81. Returns -1 otherwise (no owner, nothing casting, or a cast outside the attack-slot range).

See BasicSpellSlotIntDriver for the ability-slot counterpart and ExtendedSpellSlotIntDriver for the unfiltered variant.