Trying to come up with a macro to simply state total spell power (sp+ap) but for some reason its not taking ap buffs and debuffs into consideration.

what I have so far: