From e1b146ee1eb779c9234c74c880d27ba04e5590d7 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sat, 25 Jan 2025 20:00:27 +0100 Subject: [PATCH] Code cleanup --- Questionable/Controller/InterruptHandler.cs | 1 - Questionable/Controller/QuestController.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Questionable/Controller/InterruptHandler.cs b/Questionable/Controller/InterruptHandler.cs index 9171432f..49b24abc 100644 --- a/Questionable/Controller/InterruptHandler.cs +++ b/Questionable/Controller/InterruptHandler.cs @@ -94,7 +94,6 @@ internal sealed unsafe class InterruptHandler : IDisposable [FieldOffset(6)] public ushort Value; public byte AttackType => (byte)(Param1 & 0xF); - public uint Damage => Mult == 0 ? Value : Value + ((uint)ushort.MaxValue + 1) * Mult; public override string ToString() { diff --git a/Questionable/Controller/QuestController.cs b/Questionable/Controller/QuestController.cs index 954bb5be..def1c297 100644 --- a/Questionable/Controller/QuestController.cs +++ b/Questionable/Controller/QuestController.cs @@ -19,7 +19,7 @@ using Quest = Questionable.Model.Quest; namespace Questionable.Controller; -internal sealed class QuestController : MiniTaskController, IDisposable +internal sealed class QuestController : MiniTaskController { private readonly IClientState _clientState; private readonly GameFunctions _gameFunctions;