Browse Source

initialize the static mob power list

master
FatBoy-DOTC 2 years ago
parent
commit
3e2fbb700b
  1. 1
      src/engine/gameManager/PowersManager.java

1
src/engine/gameManager/PowersManager.java

@ -2786,6 +2786,7 @@ SourceType sourceType = SourceType.GetSourceType(pb.getCategory()); @@ -2786,6 +2786,7 @@ SourceType sourceType = SourceType.GetSourceType(pb.getCategory());
}
}
public static void GatherMobPowers(){
AllMobPowers = new HashMap<Integer,HashMap<Integer,Integer>>();
for(Mob mob : DbManager.MobQueries.GET_ALL_MOBS()){
if(DbManager.MobBaseQueries.LOAD_STATIC_POWERS(mob.getMobBaseID()).isEmpty() == true){
continue;

Loading…
Cancel
Save