Core/Units: moved health and power ordering predicates from Unit header into CommonPredicates

Port From (https://github.com/TrinityCore/TrinityCore/commit/2f6ed2c203b16a1d1e85f61a8b8e2cf3d1a4e784)
This commit is contained in:
hondacrx
2024-02-06 10:01:30 -05:00
parent 33cb5faf28
commit aac60cf9a8
9 changed files with 74 additions and 77 deletions
+4 -1
View File
@@ -2995,7 +2995,10 @@ namespace Game.Entities
return base.GetName(locale);
}
public virtual byte GetPetAutoSpellSize() { return 4; }
public virtual int GetPetAutoSpellSize()
{
return SharedConst.MaxSpellCharm;
}
public virtual uint GetPetAutoSpellOnPos(byte pos)
{