Browse Source

mob resist issue

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
24c16e6cf1
  1. 3
      src/engine/objects/Mob.java

3
src/engine/objects/Mob.java

@ -217,6 +217,9 @@ public class Mob extends AbstractIntelligenceAgent { @@ -217,6 +217,9 @@ public class Mob extends AbstractIntelligenceAgent {
break;
}
}
if(MobBase.mobbase_race_types.size() == 0){
DbManager.MobBaseQueries.LOAD_ALL_MOBBASE_RACES();
}
int mobbaseID = mob.getMobBaseID();
if(mobbaseID != 0) {
switch (MobBase.mobbase_race_types.get(mobbaseID)) {

Loading…
Cancel
Save