[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

@@ -323,6 +323,7 @@ class CastChainLightningAction : public CastSpellAction
{
public:
CastChainLightningAction(PlayerbotAI* botAI) : CastSpellAction(botAI, "chain lightning") { }
ActionThreatType getThreatType() override { return ActionThreatType::Aoe; }
};
class CastLightningBoltAction : public CastSpellAction