Code cleanup
authorLiza Carvelli <liza@carvel.li>
Sat, 25 Jan 2025 19:00:27 +0000 (20:00 +0100)
committerLiza Carvelli <liza@carvel.li>
Sat, 25 Jan 2025 19:00:27 +0000 (20:00 +0100)
Questionable/Controller/InterruptHandler.cs
Questionable/Controller/QuestController.cs

index 9171432fdd68e7bb1da320f6fd9416a5b3c0607d..49b24abcc11ad251f6b3169f5eb139ec503942f2 100644 (file)
@@ -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()
         {
index 954bb5bea00db0447438eb908869ee818f454c03..def1c297a95f0e9a4fa29b6420706ed1db0da97c 100644 (file)
@@ -19,7 +19,7 @@ using Quest = Questionable.Model.Quest;
 
 namespace Questionable.Controller;
 
-internal sealed class QuestController : MiniTaskController<QuestController>, IDisposable
+internal sealed class QuestController : MiniTaskController<QuestController>
 {
     private readonly IClientState _clientState;
     private readonly GameFunctions _gameFunctions;