Unify pain handling

Pull most direct modifications of player::pain into player::mod_pain() to eliminate redundant checks of traits.