Scripts/EmeraldDragons: Clean up a bit on the scripts:
- Remove script for Shade of Taerar, replaced with SAI equivalent (Malcrom) - Remove script for Demented Druids, replaced with SAI equivalent (Malcrom) - Add supportscript for Mark of Nature (Kaelima) - Some other minor changes here and there
This commit is contained in:
@@ -12889,9 +12889,10 @@ Unit* Creature::SelectVictim()
|
||||
// search nearby enemy before enter evade mode
|
||||
if (HasReactState(REACT_AGGRESSIVE))
|
||||
{
|
||||
target = SelectNearestTargetInAttackDistance();
|
||||
target = SelectNearestTargetInAttackDistance(m_CombatDistance ? m_CombatDistance : ATTACK_DISTANCE);
|
||||
|
||||
if (target && _IsTargetAcceptable(target))
|
||||
return target;
|
||||
return target;
|
||||
}
|
||||
|
||||
Unit::AuraEffectList const& iAuras = GetAuraEffectsByType(SPELL_AURA_MOD_INVISIBILITY);
|
||||
|
||||
Reference in New Issue
Block a user