Browse Source

mob resist issue

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
16c84f2b30
  1. 4
      src/engine/objects/Mob.java

4
src/engine/objects/Mob.java

@ -172,9 +172,7 @@ public class Mob extends AbstractIntelligenceAgent {
} }
public static void setResistsForMob(Mob mob){ public static void setResistsForMob(Mob mob){
if(mob.getResists() == null){ mob.resists = new Resists("Generic");
mob.resists = new Resists("Generic");
}
Zone parentMacro = null; Zone parentMacro = null;
for(Zone zone : ZoneManager.getAllZonesIn(mob.loc)){ for(Zone zone : ZoneManager.getAllZonesIn(mob.loc)){
if(zone.isMacroZone() == false) if(zone.isMacroZone() == false)

Loading…
Cancel
Save