/// <summary> /// Notifies other players, that player used skill. /// </summary> private void Character_OnUsedSkill(IKiller sender, IKillable target, Skill skill, AttackResult attackResult) { foreach (var player in GetAllPlayers(true)) { _packetsHelper.SendCharacterUsedSkill(player.Client, (Character)sender, target, skill, attackResult); if (attackResult.Absorb != 0 && player == target) { _packetsHelper.SendAbsorbValue(player.Client, attackResult.Absorb); } } }