Core/Auras: Defined and implemented new aura state
Port From (https://github.com/TrinityCore/TrinityCore/commit/d82a018b5b72adeea95483aedfa774381c5668e9)
This commit is contained in:
@@ -2700,6 +2700,7 @@ namespace Framework.Constants
|
|||||||
RaidEncounter = 22, // Cctt|
|
RaidEncounter = 22, // Cctt|
|
||||||
Healthy75Percent = 23, // C |
|
Healthy75Percent = 23, // C |
|
||||||
WoundHealth35_80 = 24, // T |
|
WoundHealth35_80 = 24, // T |
|
||||||
|
Wounded50Percent = 25, // C T |
|
||||||
Max,
|
Max,
|
||||||
|
|
||||||
PerCasterAuraStateMask = (1 << (RaidEncounter2 - 1)) | (1 << (RoguePoisoned - 1))
|
PerCasterAuraStateMask = (1 << (RaidEncounter2 - 1)) | (1 << (RoguePoisoned - 1))
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ namespace Game.Entities
|
|||||||
ModifyAuraState(AuraStateType.WoundHealth20_80, HealthBelowPct(20) || HealthAbovePct(80));
|
ModifyAuraState(AuraStateType.WoundHealth20_80, HealthBelowPct(20) || HealthAbovePct(80));
|
||||||
ModifyAuraState(AuraStateType.Healthy75Percent, HealthAbovePct(75));
|
ModifyAuraState(AuraStateType.Healthy75Percent, HealthAbovePct(75));
|
||||||
ModifyAuraState(AuraStateType.WoundHealth35_80, HealthBelowPct(35) || HealthAbovePct(80));
|
ModifyAuraState(AuraStateType.WoundHealth35_80, HealthBelowPct(35) || HealthAbovePct(80));
|
||||||
|
ModifyAuraState(AuraStateType.Wounded50Percent, HealthBelowPct(50));
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateSplineMovement(diff);
|
UpdateSplineMovement(diff);
|
||||||
|
|||||||
Reference in New Issue
Block a user