*Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states. --HG-- branch : trunk
This commit is contained in:
@@ -905,7 +905,7 @@ struct TRINITY_DLL_DECL npc_steam_tonkAI : public ScriptedAI
|
||||
if (apply)
|
||||
{
|
||||
// Initialize the action bar without the melee attack command
|
||||
m_creature->InitCharmInfo(m_creature);
|
||||
m_creature->InitCharmInfo();
|
||||
m_creature->GetCharmInfo()->InitEmptyActionBar(false);
|
||||
|
||||
m_creature->SetReactState(REACT_PASSIVE);
|
||||
|
||||
Reference in New Issue
Block a user