예제 #1
0
        public void add_single_statusEffect(StatusEffect se)
        {
            Scroll.Status_Type status_typ = se.get_my_type();

            if (status_typ == Scroll.Status_Type.PantherFer ||
               status_typ == Scroll.Status_Type.TigerFer)
                remove_specific_effect(Scroll.Status_Type.LynxFer);
            if (status_typ == Scroll.Status_Type.TigerFer)
                remove_specific_effect(Scroll.Status_Type.PantherFer);

            int sEffect_index = check_for_status_effect(se.get_my_type());
            if (sEffect_index >= 0)
                BuffDebuffTracker[sEffect_index].add_stack_and_set_duration(se.get_my_duration());
            else
                BuffDebuffTracker.Add(se);
        }