where to read into the def and vit of mobs? #9478
Replies: 1 comment 1 reply
-
|
TLDR: seems you need to use the in-game !getstats command while targeting a mob if you want to see it's stats. I'm new here, but maybe I can help. Stats like DEF and VIT aren’t stored as final values anywhere in the database. Instead, mobs are built dynamically when they spawn. The database (mainly mob_groups, mob_pools, and mob_family_system) provides stat ranks, along with level range, job, and other attributes. These ranks are inputs into formulas that calculate the mob’s real stats at runtime based on level, job, and other battle formulas. After those base stats are calculated, additional layers are applied. These include modifiers from tables like mob_family_mods, mob_pool_mods, and mob_spawn_mods, as well as special adjustments (for example, Dynamis mobs get extra boosts in SetupDynamisMob). Because of this layered system, a mob’s final DEF or VIT is the result of rank + level scaling + job formulas + modifiers, and only truly exists while the mob is active in-game, not as a fixed value you can directly look up in the database. But you can use the in-game !getstats command while targeting a mob if you want to see it's stats. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am not a programmer. just been reading LSB , mostly deriatives of it for private servers that modify it.
I really wanted to see if I could find the DEF or VIT of certain mobs in these LSB (forks) such as arch dynamis lord, or even common sea mobs.
I would appreciate if someone could point me in the right direction of which files to read, are these values generated at runtime and put into a sql db? if so, where are such settings defined in the first place?
Beta Was this translation helpful? Give feedback.
All reactions