From 5868530414f0c1e4cb7daf4aeaa3dfbc77ec6dbe Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 15 Oct 2026 07:31:30 -0400 Subject: [PATCH] mobai aligned with rune data and client. --- src/engine/objects/AbstractCharacter.java | 4 ++-- src/engine/objects/ItemTemplate.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 95f6e19b..3eb88ddf 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -661,7 +661,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { float maxDamage = mob.mobBase.getDamageMax(); int attackRating = mob.mobBase.getAttackRating(); - // [AI] The client (ArcMobile, 0x46D200) takes mob damage straight from the rune MINDAMAGE/MAXDAMAGE, + // The client (ArcMobile, 0x46D200) takes mob damage straight from the rune MINDAMAGE/MAXDAMAGE, // with no stat scaling. Use the rune when it has damage, otherwise keep the mobbase value. if (rune != null && rune.rune_max_damage > 0) { @@ -669,7 +669,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { maxDamage = rune.rune_max_damage; } - // [AI] Likewise ATR comes straight from the rune ATTACK for mobiles (0x466570). + // Likewise ATR comes straight from the rune ATTACK for mobiles (0x466570). if (rune != null && rune.rune_attack > 0) attackRating = rune.rune_attack; diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 5f8ff06a..e7417340 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -138,7 +138,7 @@ public class ItemTemplate { public final EnumSet rune_group_role_set = EnumSet.noneOf(mbEnums.MobBehaviourType.class); public boolean rune_renderable = false; public int rune_natural_power_attack; - // [AI] One float[] per rune_naturalattacks entry. Same "attack info" struct as a weapon (verified in IDA, see + // One float[] per rune_naturalattacks entry. Same "attack info" struct as a weapon (verified in IDA, see // MBDATA/docs/client-map.md): [0] attack speed (WEPSPEED), [1] range (MAXRANGE), [2] unknown int, // [3] equip slot (1 = RHELD, 2 = LHELD), [4] projectile template id, [5] projectile speed, [6] swing anim, // [7] damage type, [8] min damage, [9] max damage