treb-range-fix #17

Merged
MagicBot merged 4 commits from treb-range-fix into master 2022-08-24 12:22:20 +00:00
Showing only changes of commit 865c50f984 - Show all commits
+5 -1
View File
@@ -365,7 +365,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.setObjectTypeMask(MBServerStatics.MASK_PET | this.getTypeMasks());
if (ConfigManager.serverType.equals(ServerType.LOGINSERVER))
this.setLoc(this.getLoc());
mobPowers = DbManager.MobBaseQueries.LOAD_STATIC_POWERS(this.getMobBaseID());
}
if (!isPet && this.contract == null) {
this.level = (short) this.mobBase.getLevel();
@@ -2033,6 +2032,11 @@ public class Mob extends AbstractIntelligenceAgent {
this.maxDamageHandTwo = (short) maxDamage;
this.speedHandTwo = 30;
}
if(this.isSiege() == true)
{
this.rangeHandOne = 310;
this.rangeHandTwo = 310;
}
}
private static float getModifiedAmount(CharacterSkill skill) {