*Rewritten method for Dalaran Mageguards to determine if they should teleport you.

--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-11-18 16:24:30 -08:00
1 parent d03ec103f3
commit 0134b7fee8
3 files changed
+28 -14

No files matched your search

+1 -1
View File
@@ -10299,7 +10299,7 @@ void Unit::MeleeDamageBonus(Unit *pVictim, uint32 *pdamage, WeaponAttackType att
// ..done (base at attack power for marked target and base at attack power for creature type)
int32 APbonus = 0;
if(attType == RANGED_ATTACK)
if (attType == RANGED_ATTACK)
{
APbonus += pVictim->GetTotalAuraModifier(SPELL_AURA_RANGED_ATTACK_POWER_ATTACKER_BONUS);