Browse Source

fixed trebs

master
FatBoy-DOTC 2 years ago
parent
commit
865c50f984
  1. 6
      src/engine/objects/Mob.java

6
src/engine/objects/Mob.java

@ -365,7 +365,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.setObjectTypeMask(MBServerStatics.MASK_PET | this.getTypeMasks()); this.setObjectTypeMask(MBServerStatics.MASK_PET | this.getTypeMasks());
if (ConfigManager.serverType.equals(ServerType.LOGINSERVER)) if (ConfigManager.serverType.equals(ServerType.LOGINSERVER))
this.setLoc(this.getLoc()); this.setLoc(this.getLoc());
mobPowers = DbManager.MobBaseQueries.LOAD_STATIC_POWERS(this.getMobBaseID());
} }
if (!isPet && this.contract == null) { if (!isPet && this.contract == null) {
this.level = (short) this.mobBase.getLevel(); this.level = (short) this.mobBase.getLevel();
@ -2033,6 +2032,11 @@ public class Mob extends AbstractIntelligenceAgent {
this.maxDamageHandTwo = (short) maxDamage; this.maxDamageHandTwo = (short) maxDamage;
this.speedHandTwo = 30; this.speedHandTwo = 30;
} }
if(this.isSiege() == true)
{
this.rangeHandOne = 310;
this.rangeHandTwo = 310;
}
} }
private static float getModifiedAmount(CharacterSkill skill) { private static float getModifiedAmount(CharacterSkill skill) {

Loading…
Cancel
Save