Warlock soulstone action (#753)

* - added warlock soulstone action

* - added master as soulstone target
This commit is contained in:
kadeshar
2024-12-01 22:33:03 +01:00
committed by GitHub
parent b7c2fe9947
commit 7291fae5b3
3 changed files with 13 additions and 0 deletions

View File

@@ -23,3 +23,5 @@ bool CastFearOnCcAction::isPossible() { return botAI->CanCastSpell("fear", GetTa
bool CastFearOnCcAction::isUseful() { return true; }
bool CastLifeTapAction::isUseful() { return AI_VALUE2(uint8, "health", "self target") > sPlayerbotAIConfig->lowHealth; }
Unit* UseSoulstoneAction::GetTarget() { return botAI->GetMaster(); }