From 53ff050ea55e6ab0bc10ea8e5d1651d65b4f7c58 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Thu, 3 Feb 2022 18:55:05 +0100 Subject: [PATCH] feat(packets): add missing hitmode --- .../NosSmooth.Packets/Enums/Battle/HitMode.cs | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs diff --git a/Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs b/Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs new file mode 100644 index 0000000..72ca562 --- /dev/null +++ b/Packets/NosSmooth.Packets/Enums/Battle/HitMode.cs @@ -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; + +/// +/// Hit mode used in . +/// +public enum HitMode +{ + /// + /// The attack has hit successfully. + /// + SuccessfulAttack = 0, + + /// + /// The attack ended in a miss. + /// + /// + /// No dealt damage. + /// + Miss = 1, + + /// + /// The attack has hit successfully and it was a critical hit. + /// + /// + /// The damage dealt is higher. + /// + CriticalAttack = 3, + + /// + /// The attack ended in a miss. + /// + LongRangeMiss = 4, + + /// + /// The buff was successfully . + /// + SuccessfulBuff = 5, // probably successful buff + + /// + /// Unknown TODO. + /// + Unknown = -2, +} \ No newline at end of file -- 2.49.0