From 865c50f984e3c72a3704269a4d09a73cacb9cd0f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Aug 2022 14:25:24 -0500 Subject: [PATCH 1/3] fixed trebs --- src/engine/objects/Mob.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index c54af843..f49b704d 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -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) { -- 2.30.2 From 09d0046bafd17df3f2fb4b6e9640a53573868b10 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Aug 2022 14:59:27 -0500 Subject: [PATCH 2/3] run siege minion after load --- src/engine/objects/NPC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index e6609400..b91547f1 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -1453,7 +1453,7 @@ public class NPC extends AbstractCharacter { return null; mob = new Mob(minionMobBase, guild, parent, level,new Vector3fImmutable(1,1,1), 0,false); - + mob.runAfterLoad(); mob.despawned = true; DbManager.addToCache(mob); -- 2.30.2 From 5ab4eb5b328b2774ee5aa0bd0fa6476fd414c8c3 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 23 Aug 2022 15:03:35 -0500 Subject: [PATCH 3/3] run siege minion after load --- src/engine/objects/Mob.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index f49b704d..cb9fadbe 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -2032,11 +2032,6 @@ 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) { -- 2.30.2