Skip to content

Commit

Permalink
[11509] Trigger 35541 and ranks only at success offhand hit.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed May 18, 2011
1 parent f4433a5 commit c79f8b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/game/UnitAuraProcHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3132,6 +3132,16 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit *pVictim, uint32 d
}
break;
}
case SPELLFAMILY_ROGUE:
{
if (auraSpellInfo->SpellIconID == 2260) // Combat Potency
{
if (!(procFlags & PROC_FLAG_SUCCESSFUL_OFFHAND_HIT))
return SPELL_AURA_PROC_FAILED;
}

break;
}
case SPELLFAMILY_HUNTER:
{
// Piercing Shots
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11508"
#define REVISION_NR "11509"
#endif // __REVISION_NR_H__

0 comments on commit c79f8b2

Please sign in to comment.