fixed trebs

This commit is contained in:
2022-08-23 14:25:24 -05:00
parent 77aa14b7da
commit 865c50f984
+5 -1
View File
@@ -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) {