Core/Auras: Defined and implemented new aura state

Port From (https://github.com/TrinityCore/TrinityCore/commit/d82a018b5b72adeea95483aedfa774381c5668e9)
This commit is contained in:
Hondacrx
2024-09-01 17:33:08 -04:00
parent 632548b3b8
commit 8cd2f7ffaa
2 changed files with 2 additions and 0 deletions
@@ -2700,6 +2700,7 @@ namespace Framework.Constants
RaidEncounter = 22, // Cctt|
Healthy75Percent = 23, // C |
WoundHealth35_80 = 24, // T |
Wounded50Percent = 25, // C T |
Max,
PerCasterAuraStateMask = (1 << (RaidEncounter2 - 1)) | (1 << (RoguePoisoned - 1))
+1
View File
@@ -175,6 +175,7 @@ namespace Game.Entities
ModifyAuraState(AuraStateType.WoundHealth20_80, HealthBelowPct(20) || HealthAbovePct(80));
ModifyAuraState(AuraStateType.Healthy75Percent, HealthAbovePct(75));
ModifyAuraState(AuraStateType.WoundHealth35_80, HealthBelowPct(35) || HealthAbovePct(80));
ModifyAuraState(AuraStateType.Wounded50Percent, HealthBelowPct(50));
}
UpdateSplineMovement(diff);