Use spell effect range type, not base effect (applied to spellcasting code)