Sanctuary does magical and physical..... The helpfile seems to say otherwise, but it's mistaken, the code agrees with me and just tested on Xeriuth and dealt nearly twice the damage to him when he wasn't sanced. So perhaps mana shield isn't the issue, and sanc needs to be made to only affect physical damage?
For further proof (to those that know any C at all, and hell to those that simply excel in logic as this isn't really what I'd call complex code...)
if (AFF_FLAGGED(vict, AFF_SANCTUARY)) {
if (GET_CLASS(ch) == CLASS_WARRIOR && (GET_SUB(ch, SUB_REPEL_SANC) > number(0, 150))) {
act("$n moves in past your white aura!", FALSE, ch, 0, vict, TO_VICT);
act("You move in past $N's white aura!", FALSE, ch, 0, vict, TO_CHAR);
} else
damage *= (0.60);
}
That reduces all damage dealt to a player by 40% unless the attacker is a warrior with the Repel Sanc subskill in which case they have a chance to deal full damage.