mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-15 08:06:11 +00:00
shaman, rogue strategy port, use item action.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
Reference in New Issue
Block a user