From 4e1e9a0fcec1e02f1a323f29d7a0e57acb0724ca Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Fri, 10 Nov 2023 21:03:28 +0100 Subject: [PATCH] fix: fly text atk arrays + offsets (#1523) --- Dalamud/Game/Gui/FlyText/FlyTextGui.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dalamud/Game/Gui/FlyText/FlyTextGui.cs b/Dalamud/Game/Gui/FlyText/FlyTextGui.cs index 3da8dc2a9..a7839afa8 100644 --- a/Dalamud/Game/Gui/FlyText/FlyTextGui.cs +++ b/Dalamud/Game/Gui/FlyText/FlyTextGui.cs @@ -86,9 +86,9 @@ internal sealed class FlyTextGui : IDisposable, IServiceType, IFlyTextGui public unsafe void AddFlyText(FlyTextKind kind, uint actorIndex, uint val1, uint val2, SeString text1, SeString text2, uint color, uint icon, uint damageTypeIcon) { // Known valid flytext region within the atk arrays - var numIndex = 28; - var strIndex = 25; - var numOffset = 147u; + var numIndex = 30; + var strIndex = 27; + var numOffset = 161u; var strOffset = 28u; // Get the UI module and flytext addon pointers @@ -132,7 +132,7 @@ internal sealed class FlyTextGui : IDisposable, IServiceType, IFlyTextGui 1, (IntPtr)numArray, numOffset, - 9, + 10, (IntPtr)strArray, strOffset, 2,