Core/Unit: Random code style/naming adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
This commit is contained in:
@@ -1782,9 +1782,10 @@ namespace Game.Entities
|
||||
public bool HasInvisibilityAura() { return HasAuraType(AuraType.ModInvisibility); }
|
||||
public bool IsFeared() { return HasAuraType(AuraType.ModFear); }
|
||||
public bool IsFrozen() { return HasAuraState(AuraStateType.Frozen); }
|
||||
public bool HasRootAura() { return HasAuraType(AuraType.ModRoot) || HasAuraType(AuraType.ModRoot2); }
|
||||
public bool IsPolymorphed()
|
||||
{
|
||||
uint transformId = GetTransForm();
|
||||
uint transformId = GetTransformSpell();
|
||||
if (transformId == 0)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user