Core/Creatures: Remove duplicate check for evade from Creature.CanAssistTo
Port From (https://github.com/TrinityCore/TrinityCore/commit/0f837c0a02151b54f2b5ec277b39425627cec004)
This commit is contained in:
@@ -2120,9 +2120,6 @@ namespace Game.Entities
|
|||||||
|
|
||||||
public bool CanAssistTo(Unit u, Unit enemy, bool checkfaction = true)
|
public bool CanAssistTo(Unit u, Unit enemy, bool checkfaction = true)
|
||||||
{
|
{
|
||||||
if (IsInEvadeMode())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// is it true?
|
// is it true?
|
||||||
if (!HasReactState(ReactStates.Aggressive))
|
if (!HasReactState(ReactStates.Aggressive))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user