Refactored mob powers to rune powers. Now uses rune_id to call into system which is derived in the getter to support minions.

This commit is contained in:
2023-09-02 12:47:04 -04:00
parent f556181d77
commit 70a0ed135b
8 changed files with 60 additions and 76 deletions
+3
View File
@@ -669,6 +669,9 @@ public class Mob extends AbstractIntelligenceAgent {
public int getMobBaseID() {
if (this.agentType.equals(AIAgentType.GUARDMINION))
return this.guardCaptain.contract.getMobbaseID();
if (this.mobBase != null)
return this.mobBase.getObjectUUID();