|
|
@ -2227,8 +2227,8 @@ public class Mob extends AbstractIntelligenceAgent { |
|
|
|
//load guards powers
|
|
|
|
//load guards powers
|
|
|
|
ArrayList<MobBase> mobbases = DbManager.MobBaseQueries.GET_ALL_MOBBASES(); |
|
|
|
ArrayList<MobBase> mobbases = DbManager.MobBaseQueries.GET_ALL_MOBBASES(); |
|
|
|
for(MobBase mb : mobbases){ |
|
|
|
for(MobBase mb : mobbases){ |
|
|
|
if(this.getName().contains(mb.getFirstName())){ |
|
|
|
if(this.getNameOverride().contains(mb.getFirstName())){ |
|
|
|
mobPowers = DbManager.MobBaseQueries.LOAD_STATIC_POWERS(mb.getObjectUUID()); |
|
|
|
this.mobPowers = DbManager.MobBaseQueries.LOAD_STATIC_POWERS(mb.getObjectUUID()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|