mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[10455] Add missing break, thanks to nos4r2zod
This commit is contained in:
parent
326fff975b
commit
e115f635ef
2 changed files with 5 additions and 1 deletions
|
|
@ -2554,8 +2554,12 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
for (Unit::AuraList::const_iterator itr = dummyList.begin(); itr != dummyList.end(); ++itr)
|
||||
{
|
||||
if ((*itr)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && (*itr)->GetSpellProto()->SpellIconID == 2710)
|
||||
{
|
||||
if (roll_chance_i((*itr)->GetModifier()->m_amount)) // don't consume if found
|
||||
return;
|
||||
else
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// consume diseases
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10454"
|
||||
#define REVISION_NR "10455"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue