forked from MagicBane/Server
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user