From e7a80e9280a045d586d760b58ec82eaa9187e4e9 Mon Sep 17 00:00:00 2001
From: MagicBot <MagicBot@magicbane.com>
Date: Sat, 2 Sep 2023 15:33:12 -0400
Subject: [PATCH] Comment cleanup

---
 src/engine/mobileAI/MobAI.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java
index 8830b04c..db27d7ba 100644
--- a/src/engine/mobileAI/MobAI.java
+++ b/src/engine/mobileAI/MobAI.java
@@ -301,6 +301,8 @@ public class MobAI {
 
     public static boolean canCast(Mob mob) {
 
+        int contractID = 0;
+
         try {
 
             // Performs validation to determine if a
@@ -309,9 +311,6 @@ public class MobAI {
             if (mob == null)
                 return false;
 
-
-            int contractID = 0;
-
             if (mob.isPlayerGuard() == true) {
 
                 if (mob.agentType.equals(Enum.AIAgentType.GUARDMINION))
@@ -319,7 +318,7 @@ public class MobAI {
                 else
                     contractID = mob.contract.getContractID();
 
-                //exception for werewolf and werebear guard captains
+                // exception allowing werewolf and werebear guard captains to cast
 
                 if (Enum.MinionType.ContractToMinionMap.get(contractID).isMage() == false && contractID != 980111 && contractID != 980110)
                     return false;