mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 11:03:47 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -524,7 +524,17 @@ void SmartAI::UpdateAI(uint32 diff)
|
||||
}
|
||||
|
||||
if (!IsAIControlled())
|
||||
{
|
||||
if (CharmInfo* charmInfo = me->GetCharmInfo())
|
||||
{
|
||||
if (charmInfo->IsCommandAttack() && mCanAutoAttack)
|
||||
{
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
@@ -99,6 +99,7 @@ enum BattlegroundMarks
|
||||
{
|
||||
SPELL_WS_MARK_LOSER = 24950,
|
||||
SPELL_WS_MARK_WINNER = 24951,
|
||||
SPELL_WS_MARK_TIE = 66126,
|
||||
SPELL_AB_MARK_LOSER = 24952,
|
||||
SPELL_AB_MARK_WINNER = 24953,
|
||||
SPELL_AV_MARK_LOSER = 24954,
|
||||
|
||||
@@ -1668,6 +1668,7 @@ void Spell::DoCreateItem(uint8 /*effIndex*/, uint32 itemId)
|
||||
case SPELL_AV_MARK_LOSER:
|
||||
case SPELL_WS_MARK_WINNER:
|
||||
case SPELL_WS_MARK_LOSER:
|
||||
case SPELL_WS_MARK_TIE:
|
||||
case SPELL_AB_MARK_WINNER:
|
||||
case SPELL_AB_MARK_LOSER:
|
||||
SelfCast = true;
|
||||
|
||||
Reference in New Issue
Block a user