mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
47
data/sql/updates/db_world/2024_04_14_03.sql
Normal file
47
data/sql/updates/db_world/2024_04_14_03.sql
Normal file
File diff suppressed because one or more lines are too long
@@ -87,6 +87,7 @@ public:
|
||||
|
||||
Milliseconds GetMarkRepeatTimer()
|
||||
{
|
||||
++_markCounter;
|
||||
Milliseconds timer = 45000ms - (5000ms * _markCounter);
|
||||
if (timer <= 10000ms)
|
||||
return 10000ms;
|
||||
@@ -160,7 +161,7 @@ public:
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
|
||||
if (target->GetPower(POWER_MANA) < aurEff->GetBaseAmount())
|
||||
if ((int32)target->GetPower(POWER_MANA) < aurEff->GetBaseAmount())
|
||||
{
|
||||
target->CastSpell(target, SPELL_MARK_DAMAGE, true, nullptr, aurEff);
|
||||
// Remove aura
|
||||
|
||||
Reference in New Issue
Block a user