Magic system: Clarified the buff/debuff logic, replaced the now useless m_bType4Flag.