[Bug Fix] NPC Constructor was passing hp_regen_per_second out of order to Mob(). (#2681)

This commit is contained in:
Aeadoin 2022-12-29 15:29:52 -05:00 committed by GitHub
parent 7e7485be77
commit 8fc665a3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 63 additions and 58 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"files.associations": {
"*.ipp": "cpp"
}
}

View File

@ -120,9 +120,9 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
npc_type_data->feettexture, npc_type_data->feettexture,
npc_type_data->use_model, npc_type_data->use_model,
npc_type_data->always_aggro, npc_type_data->always_aggro,
npc_type_data->hp_regen_per_second,
npc_type_data->heroic_strikethrough, npc_type_data->heroic_strikethrough,
npc_type_data->keeps_sold_items npc_type_data->keeps_sold_items,
npc_type_data->hp_regen_per_second
), ),
attacked_timer(CombatEventTimer_expire), attacked_timer(CombatEventTimer_expire),
swarm_timer(100), swarm_timer(100),