[c12499] Fix compile and consider power type in SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>