mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Fix code style and compile from 7e1c556536
This commit is contained in:
@@ -2304,16 +2304,17 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
|
||||
if (Id == 30708)
|
||||
return false;
|
||||
break;
|
||||
case SPELLFAMILY_ROGUE:
|
||||
// Envenom (buff is positive effect but because of the damage effect its being counted as a negative effect)
|
||||
switch(Id) {
|
||||
case 32645:
|
||||
case 32684:
|
||||
case 57992:
|
||||
case 57993:
|
||||
case SPELLFAMILY_ROGUE:
|
||||
switch (Id)
|
||||
{
|
||||
// Envenom must be considered as a positive effect even though it deals damage
|
||||
case 32645: // Envenom (Rank 1)
|
||||
case 32684: // Envenom (Rank 2)
|
||||
case 57992: // Envenom (Rank 3)
|
||||
case 57993: // Envenom (Rank 4)
|
||||
return true;
|
||||
default:
|
||||
break
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user