mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
*Add SpellCasterAI as a framework for casting only units (like ebon gargoyle or mirror image.
--HG-- branch : trunk
This commit is contained in:
@@ -11491,10 +11491,6 @@ Unit* Creature::SelectVictim()
|
||||
//next-victim-selection algorithm and evade mode are called
|
||||
//threat list sorting etc.
|
||||
|
||||
//This should not be called by unit who does not have a threatlist
|
||||
//or who does not have threat (totem/pet/critter)
|
||||
//otherwise enterevademode every update
|
||||
|
||||
Unit* target = NULL;
|
||||
// First checking if we have some taunt on us
|
||||
const AuraEffectList& tauntAuras = GetAurasByType(SPELL_AURA_MOD_TAUNT);
|
||||
|
||||
Reference in New Issue
Block a user