debuff on attacker

This commit is contained in:
Yunfan Li
2023-09-05 01:41:13 +08:00
parent 5b4e2a849e
commit 5e676e60e0
6 changed files with 16 additions and 8 deletions

View File

@@ -333,7 +333,7 @@ class DebuffOnBossTrigger : public DebuffTrigger
class DebuffOnAttackerTrigger : public DebuffTrigger
{
public:
DebuffOnAttackerTrigger(PlayerbotAI* botAI, std::string const spell, bool checkIsOwner = true, float needLifeTime = 8000.0f) : DebuffTrigger(botAI, spell, 1, checkIsOwner, needLifeTime) { }
DebuffOnAttackerTrigger(PlayerbotAI* botAI, std::string const spell, bool checkIsOwner = true, float needLifeTime = 8.0f) : DebuffTrigger(botAI, spell, 1, checkIsOwner, needLifeTime) { }
Value<Unit*>* GetTargetValue() override;
std::string const getName() override { return spell + " on attacker"; }