Rewrite chat

This commit is contained in:
Asriel Camora
2025-03-28 20:52:54 -07:00
parent 72d4b20bb2
commit 9f99f617a4
4 changed files with 28 additions and 22 deletions
+2 -2
View File
@@ -476,7 +476,7 @@ public sealed unsafe class SynthHelper : Window, IDisposable
var action = NextAction;
if (canExecute && action != null)
{
Service.Chat.SendMessage($"/ac \"{action.Value.GetName(RecipeData!.ClassJob)}\"");
Chat.SendMessage($"/ac \"{action.Value.GetName(RecipeData!.ClassJob)}\"");
return true;
}
return false;
@@ -542,7 +542,7 @@ public sealed unsafe class SynthHelper : Window, IDisposable
{
foreach (var status in statusManager->Status)
if (status.StatusId == id)
return status.StackCount;
return (byte)status.Param;
return 0;
}
bool HasEffect(ushort id)