fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unab… (#18732)
fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unable to drain mana
This commit is contained in:
@@ -160,7 +160,7 @@ public:
|
|||||||
{
|
{
|
||||||
Unit* target = GetTarget();
|
Unit* target = GetTarget();
|
||||||
|
|
||||||
if (target->GetPower(POWER_MANA) == 0)
|
if (target->GetPower(POWER_MANA) < aurEff->GetBaseAmount())
|
||||||
{
|
{
|
||||||
target->CastSpell(target, SPELL_MARK_DAMAGE, true, nullptr, aurEff);
|
target->CastSpell(target, SPELL_MARK_DAMAGE, true, nullptr, aurEff);
|
||||||
// Remove aura
|
// Remove aura
|
||||||
|
|||||||
Reference in New Issue
Block a user