Esempio n. 1
0
 // 取消无敌
 private void CancelInvincible(ObjCharacter obj)
 {
     if (obj != null)
     {
         obj.DeleteBuff(1501, eCleanBuffType.Clear);
     }
 }
Esempio n. 2
0
        //删除Buff
        public void DelBuff(ObjCharacter character, int buffId)
        {
            var buffs = character.BuffList.GetBuffById(buffId);

            foreach (var buff in buffs)
            {
                MissBuff.DoEffect(character.Scene, character, buff);
                character.DeleteBuff(buff, eCleanBuffType.Clear);
            }
        }