Add custom chance for some spells in 16180 and ranks (added in 308)
Show enchant id in error log
Signed-off-by: DiSlord <dislord@nomail.com>
--HG--
branch : trunk
This commit is contained in:
1 parent
50fa9c5933
commit
db8301ce63
2 files changed
+4
-1
No files matched your search
@@ -5871,6 +5871,9 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||
// Improved Water Shield
|
||||
if (dummySpell->SpellIconID == 2287)
|
||||
{
|
||||
// Lesser Healing Wave need aditional 60% roll
|
||||
if (procSpell->SpellFamilyFlags & 0x0000000000000080LL && !roll_chance_i(60))
|
||||
return false;
|
||||
// lookup water shield
|
||||
AuraList const& vs = GetAurasByType(SPELL_AURA_PROC_TRIGGER_SPELL);
|
||||
for(AuraList::const_iterator itr = vs.begin(); itr != vs.end(); ++itr)
|
||||
|
||||
Reference in new issue
Block a user