mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Minor correction, scope was to big.
This commit is contained in:
@@ -7,10 +7,6 @@
|
||||
#include "Playerbots.h"
|
||||
#include "ServerFacade.h"
|
||||
|
||||
namespace {
|
||||
constexpr uint32 PRIEST_SPIRIT_OF_REDEMPTION_SPELL_ID = 20711u;
|
||||
}
|
||||
|
||||
Unit* HealthValue::GetTarget()
|
||||
{
|
||||
AiObjectContext* ctx = AiObject::context;
|
||||
@@ -123,6 +119,7 @@ bool HasManaValue::Calculate()
|
||||
if (!target)
|
||||
return false;
|
||||
|
||||
constexpr uint32 PRIEST_SPIRIT_OF_REDEMPTION_SPELL_ID = 20711u;
|
||||
if (target->HasAura(PRIEST_SPIRIT_OF_REDEMPTION_SPELL_ID))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user