//
// SkillUsedEvent.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NosSmooth.Game.Data.Characters;
using NosSmooth.Game.Data.Entities;
using NosSmooth.Game.Data.Info;
using NosSmooth.Packets.Enums.Battle;
namespace NosSmooth.Game.Events.Battle;
///
/// A skill has been used.
///
/// The caster entity of the skill.
/// The target entity of the skill.
/// The skill that has been used with the information about the skill.
/// The position of the target.
///
///
public record SkillUsedEvent
(
ILivingEntity Caster,
ILivingEntity Target,
Skill Skill,
Position? TargetPosition,
HitMode? Hit,
uint Damage
) : IGameEvent;