taking spell damage into account for spells