Merge branch 'master' into 4.x
This commit is contained in:
commit
9f635ca906
40 files changed
+1865
-303
No files matched your search
@@ -1934,12 +1934,7 @@ void Unit::AttackerStateUpdate (Unit* victim, WeaponAttackType attType, bool ext
|
||||
CombatStart(victim);
|
||||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_MELEE_ATTACK);
|
||||
|
||||
uint32 hitInfo;
|
||||
if (attType == BASE_ATTACK)
|
||||
hitInfo = HITINFO_NORMALSWING2;
|
||||
else if (attType == OFF_ATTACK)
|
||||
hitInfo = HITINFO_LEFTSWING;
|
||||
else
|
||||
if (attType != BASE_ATTACK && attType != OFF_ATTACK)
|
||||
return; // ignore ranged case
|
||||
|
||||
// melee attack spell casted at main hand attack only - no normal melee dmg dealt
|
||||
@@ -5482,7 +5477,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
case CLASS_DRUID:
|
||||
RandomSpells.push_back(71484);
|
||||
RandomSpells.push_back(71485);
|
||||
RandomSpells.push_back(71486);
|
||||
RandomSpells.push_back(71492);
|
||||
break;
|
||||
case CLASS_HUNTER:
|
||||
RandomSpells.push_back(71486);
|
||||
@@ -5528,7 +5523,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
case CLASS_DRUID:
|
||||
RandomSpells.push_back(71561);
|
||||
RandomSpells.push_back(71556);
|
||||
RandomSpells.push_back(71558);
|
||||
RandomSpells.push_back(71560);
|
||||
break;
|
||||
case CLASS_HUNTER:
|
||||
RandomSpells.push_back(71558);
|
||||
@@ -6510,7 +6505,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
RemoveAura(57934);
|
||||
if (!redirectTarget)
|
||||
break;
|
||||
redirectTarget->CastSpell(this,59628,true);
|
||||
CastSpell(this,59628,true);
|
||||
CastSpell(redirectTarget,57933,true);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user