Core/Unit: Random code style/naming adjustments

Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
This commit is contained in:
hondacrx
2021-11-01 12:09:07 -04:00
parent 3f684eadf9
commit 1e4fa35ac2
7 changed files with 15 additions and 14 deletions
+2 -1
View File
@@ -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;