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

@@ -7,6 +7,7 @@
#define _PLAYERBOT_WARLOCKACTIONS_H
#include "GenericSpellActions.h"
#include "UseItemAction.h"
class PlayerbotAI;
class Unit;
@@ -302,4 +303,12 @@ class CastIncinerateAction : public CastSpellAction
public:
CastIncinerateAction(PlayerbotAI* ai) : CastSpellAction(ai, "incinerate") {}
};
class UseSoulstoneAction : public UseSpellItemAction
{
public:
UseSoulstoneAction(PlayerbotAI* ai) : UseSpellItemAction(ai, "soulstone") {}
Unit* GetTarget() override;
};
#endif