mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
chore(core): Cleanup code p2 (#16041)
* Update AchievementMgr.cpp * Update M2Stores.cpp * Update LFGHandler.cpp * Update PetHandler.cpp * Update WaypointMovementGenerator.cpp * Update ScriptMgr.cpp * Update SpellAuras.cpp * Update Spell.cpp * Update SecretMgr.cpp * Update SpellScript.cpp * Update SecretMgr.cpp * Update Spell.cpp * Update SpellAuras.cpp * Add files via upload * Update PetHandler.cpp * Update PetHandler.cpp * Update CalendarMgr.cpp * Update LFG.h * Update WaypointMovementGenerator.cpp * Update MapScripts.cpp * Update Unit.cpp * Update SmartScript.cpp
This commit is contained in:
@@ -10369,7 +10369,7 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
|
||||
creature->SendAIReaction(AI_REACTION_HOSTILE);
|
||||
|
||||
/// @todo: Implement aggro range, detection range and assistance range templates
|
||||
if (!(creature->ToCreature()->GetCreatureTemplate()->flags_extra & CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE))
|
||||
if (!(creature->GetCreatureTemplate()->flags_extra & CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE))
|
||||
{
|
||||
creature->CallAssistance();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user