mobai aligned with rune data and client.

This commit is contained in:
MagicBot committed 2026-10-15 07:31:30 -04:00
1 parent 66a731005e
commit 5868530414
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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;