[Class spell] Aoe threat check

This commit is contained in:
Yunfan Li
2024-07-07 21:51:19 +08:00
parent 32d30eaf6b
commit 7325ba7dcb
7 changed files with 8 additions and 6 deletions

View File

@@ -203,12 +203,14 @@ class CastDragonsBreathAction : public CastSpellAction
{
public:
CastDragonsBreathAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "dragon's breath") { }
ActionThreatType getThreatType() override { return ActionThreatType::Aoe; }
};
class CastBlastWaveAction : public CastSpellAction
{
public:
CastBlastWaveAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "blast wave") { }
ActionThreatType getThreatType() override { return ActionThreatType::Aoe; }
};
class CastInvisibilityAction : public CastBuffSpellAction