handle spellIDs at the cast
refactor unitbuff conditions to work with spell IDs