mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 01:37:03 +00:00
[11928] Some warning fixes
This commit is contained in:
parent
7c827733f5
commit
c6a751134c
18 changed files with 28 additions and 38 deletions
|
|
@ -2457,6 +2457,9 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
// Improved Water Shield
|
||||
if (dummySpell->SpellIconID == 2287)
|
||||
{
|
||||
if (!procSpell)
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
|
||||
// Lesser Healing Wave need aditional 60% roll
|
||||
if ((procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000080)) && !roll_chance_i(60))
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue