Add single target and zonewide dynamic and static scaling methods / commands

This commit is contained in:
Akkadius
2018-11-07 02:34:55 -06:00
parent 10fd51a1f9
commit 17ca995aa9
6 changed files with 331 additions and 41 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
ignore_despawn = npc_type_data->ignore_despawn;
m_targetable = !npc_type_data->untargetable;
npc_scale_manager->ScaleMob(this);
npc_scale_manager->ScaleNPC(this);
AISpellVar.fail_recast = static_cast<uint32>(RuleI(Spells, AI_SpellCastFinishedFailRecast));
AISpellVar.engaged_no_sp_recast_min = static_cast<uint32>(RuleI(Spells, AI_EngagedNoSpellMinRecast));