|
|
@ -161,6 +161,8 @@ public class Mob extends AbstractIntelligenceAgent { |
|
|
|
|
|
|
|
|
|
|
|
this.agentType = AIAgentType.MOBILE; |
|
|
|
this.agentType = AIAgentType.MOBILE; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.setResists(Resists.getResists(rs.getInt("mob_spawnType"))); |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error(e + " " + this.dbID); |
|
|
|
Logger.error(e + " " + this.dbID); |
|
|
|
} |
|
|
|
} |
|
|
@ -1083,8 +1085,6 @@ public class Mob extends AbstractIntelligenceAgent { |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
Logger.error(e.getMessage()); |
|
|
|
Logger.error(e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.dropper == false) |
|
|
|
|
|
|
|
Resists.calculateResists(this); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void calculateMaxHealthManaStamina() { |
|
|
|
public void calculateMaxHealthManaStamina() { |
|
|
@ -1753,7 +1753,6 @@ public class Mob extends AbstractIntelligenceAgent { |
|
|
|
|
|
|
|
|
|
|
|
if(this.dropper){ |
|
|
|
if(this.dropper){ |
|
|
|
this.level = 65; |
|
|
|
this.level = 65; |
|
|
|
this.resists = new Resists("Dropper"); |
|
|
|
|
|
|
|
this.atrHandOne *= 2; |
|
|
|
this.atrHandOne *= 2; |
|
|
|
this.atrHandTwo *= 2; |
|
|
|
this.atrHandTwo *= 2; |
|
|
|
this.defenseRating *= 2; |
|
|
|
this.defenseRating *= 2; |
|
|
|