Core/Creature: rename CREATURE_FLAG_EXTRA_IGNORE_COMBAT into CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/53d19b09f4de7c092747663ae7e1a01c0df553bf)
This commit is contained in:
@@ -1530,13 +1530,13 @@ namespace Game.Entities
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// returns if the unit is ignoring any combat interaction
|
||||
/// returns if the unit can't enter combat
|
||||
/// </summary>
|
||||
public bool IsIgnoringCombat() { return _isIgnoringCombat; }
|
||||
public bool IsCombatDisallowed() { return _isCombatDisallowed; }
|
||||
|
||||
/// <summary>
|
||||
/// enables/disables combat interaction of this unit.
|
||||
/// enables / disables combat interaction of this unit
|
||||
/// </summary>
|
||||
public void SetIgnoringCombat(bool apply) { _isIgnoringCombat = apply; }
|
||||
public void SetIsCombatDisallowed(bool apply) { _isCombatDisallowed = apply; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Game.Entities
|
||||
uint[] m_baseAttackSpeed = new uint[(int)WeaponAttackType.Max];
|
||||
internal float[] m_modAttackSpeedPct = new float[(int)WeaponAttackType.Max];
|
||||
protected uint[] m_attackTimer = new uint[(int)WeaponAttackType.Max];
|
||||
bool _isIgnoringCombat;
|
||||
bool _isCombatDisallowed;
|
||||
|
||||
// Threat+combat management
|
||||
CombatManager m_combatManager;
|
||||
|
||||
Reference in New Issue
Block a user