~ruther/NosSmooth

ref: 7dbc666493f91e282ad0518e786d6e4c3ebe07bd NosSmooth/Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs -rw-r--r-- 1.1 KiB
7dbc6664 — František Boháček feat: use stackalloc and Span for packet serialization 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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,
}
Do not follow this link