Merge pull request #7733 from CrYser/4.3.4
[4.3.4]Core/Spells: Glyph of might
This commit is contained in:
commit
64cadf9470
1 file changed
-14
@@ -12320,20 +12320,6 @@ int32 Unit::ModSpellDuration(SpellInfo const* spellProto, Unit const* target, in
|
||||
duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS;
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_PALADIN:
|
||||
if ((spellProto->SpellFamilyFlags[0] & 0x00000002) && spellProto->SpellIconID == 298)
|
||||
{
|
||||
// Glyph of Blessing of Might
|
||||
if (AuraEffect* aurEff = GetAuraEffect(57958, 0))
|
||||
duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS;
|
||||
}
|
||||
else if ((spellProto->SpellFamilyFlags[0] & 0x00010000) && spellProto->SpellIconID == 306)
|
||||
{
|
||||
// Glyph of Blessing of Wisdom
|
||||
if (AuraEffect* aurEff = GetAuraEffect(57979, 0))
|
||||
duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return std::max(duration, 0);
|
||||
|
||||
Reference in new issue
Block a user