public static void KillBuff(Buff buffData, EntityParent caster, EntityParent target, int fromSkillLevel, bool isCommunicateMix) { LocalBattleBuffPropHandler.KillBuff(buffData, caster, target, fromSkillLevel); if (target == null) { return; } if (LocalAgent.GetSpiritIsDead(target, isCommunicateMix)) { return; } if (!LocalAgent.CheckBuffTypeContainOther(buffData, target.ID)) { LocalBattleProtocolSimulator.SendEndStatic(target.ID); } }