debuff trigger and action, allow multiple spell

This commit is contained in:
Yunfan Li
2023-06-02 19:57:08 +08:00
parent 25da0af70e
commit a44b310c0a
32 changed files with 113 additions and 85 deletions

View File

@@ -6,11 +6,6 @@
#include "Event.h"
#include "Playerbots.h"
bool CastSerpentStingAction::isUseful()
{
return AI_VALUE2(uint8, "health", "current target") > 50;
}
bool CastViperStingAction::isUseful()
{
return AI_VALUE2(uint8, "mana", "self target") < 50 && AI_VALUE2(uint8, "mana", "current target") >= 30;