Cat druid energy control

This commit is contained in:
Yunfan Li
2024-09-02 00:30:10 +08:00
parent aab8cf04d3
commit 4c77f71bd4
5 changed files with 32 additions and 6 deletions

View File

@@ -83,6 +83,8 @@ bool EnergyAvailable::IsActive() { return AI_VALUE2(uint8, "energy", "self targe
bool ComboPointsAvailableTrigger::IsActive() { return AI_VALUE2(uint8, "combo", "current target") >= amount; }
bool ComboPointsNotFullTrigger::IsActive() { return AI_VALUE2(uint8, "combo", "current target") < amount; }
bool TargetWithComboPointsLowerHealTrigger::IsActive()
{
Unit* target = AI_VALUE(Unit*, "current target");