Fix some compiler warnings
Add global ref_race to allow spell damage calculations for lore and power
Do protection from monster spell timed effects in player-timed
New (unused) version of monster spell (not breath) damage