I would like to take the time to explain the new creature health / mana stat system.
A few monthes back I figured out that on offical there where base stat values for each
level creature depending on class. The health was modified by the unk16 field, now called
modhealth, and the mana was modified by the unk17 field, now called modmana.
I also determined that offical uses 3 different tables for health, but just one table for mana.
So there are a few things to consider when setting stats. Here are the creature_template fields
you need to update to fix errors.
1) minlevel & maxlevel
You must set the level values to get proper heath/mana stats.
These are the 4 classes used on official for creatures to calculate proper health/mana the
proper class must be set.
This one is a little tricky. Official uses 3 different tables OLD, TBC, WRATH and some creatures
in WRATH use OLD table values so there is still a bit of work to get proper values.
4) modhealth & modmana are used in calculations (formerly unk16 & unk17)
Now for an example:
Lets say you know a creature should have health value of 50400 and no mana, from this you know its a warrior or rogue class.
"If not sure which one select warrior". Use the creatures entry and determine the modhealth value, lets say its 4. you divid
50400 by 4 and get 12600. If you look that value up in the `creature_base_stats` table you will see that it is a level 80 from
expansion 2. You would then create the following sql insert to fix its stats:
-- Stat update for creature XXXXX
UPDATE `creature_template` SET `minlevel`=80,`maxlevel`=80,`unit_class`=1,`exp`=2 WHERE `entry`=XXXXX;
The core will now calculate correct health/mana stats for this creature.
REMEMBER: Insure min and max levels are correct, insure unit_class is set properly, insure proper exp is set.