shaman, rogue strategy port, use item action.

This commit is contained in:
Yunfan Li
2023-06-08 10:37:13 +08:00
parent 231b0b51e4
commit 89d24b646c
34 changed files with 664 additions and 109 deletions

View File

@@ -66,3 +66,22 @@ bool WaterBreathingOnPartyTrigger::IsActive()
{
return BuffOnPartyTrigger::IsActive() && AI_VALUE2(bool, "swimming", "self target");
}
bool NoFireTotemTrigger::IsActive()
{
return !AI_VALUE2(bool, "has totem", "magma totem") &&
!AI_VALUE2(bool, "has totem", "flametongue totem") &&
!AI_VALUE2(bool, "has totem", "searing totem") &&
!AI_VALUE2(bool, "has totem", "fire elemental totem") &&
!AI_VALUE2(bool, "has totem", "frost resistance totem") &&
!AI_VALUE2(bool, "has totem", "totem of wrath");
}
bool NoWaterTotemTrigger::IsActive()
{
return !AI_VALUE2(bool, "has totem", "fire resistance totem") &&
!AI_VALUE2(bool, "has totem", "mana tide totem") &&
!AI_VALUE2(bool, "has totem", "cleansing totem") &&
!AI_VALUE2(bool, "has totem", "mana spring totem") &&
!AI_VALUE2(bool, "has totem", "healing stream totem");
}