[Bug Fix] Fix HP Regen Per Second. (#2206)

`hp_regen_rate` was being used for `hp_regen_per_second` incorrectly.
This commit is contained in:
Kinglykrab 2022-05-25 13:08:28 -04:00 committed by GitHub
parent 9ccdb9eb84
commit 1de0c27629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2560,7 +2560,7 @@ const NPCType *ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
t->always_aggro = n.always_aggro != 0;
t->exp_mod = n.exp_mod;
t->skip_auto_scale = false; // hardcoded here for now
t->hp_regen_per_second = n.hp_regen_rate;
t->hp_regen_per_second = n.hp_regen_per_second;
// If NPC with duplicate NPC id already in table,
// free item we attempted to add.