~ruther/NosSmooth

53ff050ea55e6ab0bc10ea8e5d1651d65b4f7c58 — Rutherther 3 years ago c2cd17a
feat(packets): add missing hitmode
1 files changed, 51 insertions(+), 0 deletions(-)

A Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs
A Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs => Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs +51 -0
@@ 0,0 1,51 @@
//
//  HitMode.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.Packets.Server.Battle;

namespace NosSmooth.Packets.Enums.Battle;

/// <summary>
/// Hit mode used in <see cref="SuPacket"/>.
/// </summary>
public enum HitMode
{
    /// <summary>
    /// The attack has hit successfully.
    /// </summary>
    SuccessfulAttack = 0,

    /// <summary>
    /// The attack ended in a miss.
    /// </summary>
    /// <remarks>
    /// No dealt damage.
    /// </remarks>
    Miss = 1,

    /// <summary>
    /// The attack has hit successfully and it was a critical hit.
    /// </summary>
    /// <remarks>
    /// The damage dealt is higher.
    /// </remarks>
    CriticalAttack = 3,

    /// <summary>
    /// The attack ended in a miss.
    /// </summary>
    LongRangeMiss = 4,

    /// <summary>
    /// The buff was successfully .
    /// </summary>
    SuccessfulBuff = 5, // probably successful buff

    /// <summary>
    /// Unknown TODO.
    /// </summary>
    Unknown = -2,
}
\ No newline at end of file

Do not follow this link