[SD2] Adding wrapper to ScriptedAI for target selection

This commit is contained in:
stormrage-project 2015-09-05 09:30:20 +02:00 committed by Antz
parent 753eb4536f
commit 4ca9f39efb

View File

@ -238,6 +238,9 @@ struct ScriptedAI : public CreatureAI
bool EnterEvadeIfOutOfCombatArea(const uint32 uiDiff);
// a wrapper for aggro list browsing
Unit *SelectAttackTarget(AttackingTarget type, uint32 position, uint32 spellId = 0, uint32 selectFlags = 0) { return m_creature->SelectAttackingTarget(type, position, spellId, selectFlags); }
private:
uint32 m_uiEvadeCheckCooldown;
};