mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
Remove dead code
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
249d039d93
commit
ca4ae506b9
2 changed files with 1 additions and 21 deletions
|
|
@ -20,15 +20,6 @@
|
||||||
|
|
||||||
#include "SpellAuraDefines.h"
|
#include "SpellAuraDefines.h"
|
||||||
|
|
||||||
struct DamageManaShield
|
|
||||||
{
|
|
||||||
uint32 m_spellId;
|
|
||||||
uint32 m_modType;
|
|
||||||
int32 m_schoolType;
|
|
||||||
uint32 m_totalAbsorb;
|
|
||||||
uint32 m_currAbsorb;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct Modifier
|
struct Modifier
|
||||||
{
|
{
|
||||||
AuraType m_auraname;
|
AuraType m_auraname;
|
||||||
|
|
|
||||||
|
|
@ -6545,7 +6545,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB
|
||||||
if(!procSpell)
|
if(!procSpell)
|
||||||
return false;
|
return false;
|
||||||
// For trigger from Blizzard need exist Improved Blizzard
|
// For trigger from Blizzard need exist Improved Blizzard
|
||||||
if (procSpell->SpellFamilyName==SPELLFAMILY_MAGE && procSpell->SpellFamilyFlags & 0x0000000000000080)
|
if (procSpell->SpellFamilyName==SPELLFAMILY_MAGE && procSpell->SpellFamilyFlags & 0x0000000000000080LL)
|
||||||
{
|
{
|
||||||
bool found = false;
|
bool found = false;
|
||||||
AuraList const& mOverrideClassScript = GetAurasByType(SPELL_AURA_OVERRIDE_CLASS_SCRIPTS);
|
AuraList const& mOverrideClassScript = GetAurasByType(SPELL_AURA_OVERRIDE_CLASS_SCRIPTS);
|
||||||
|
|
@ -7615,17 +7615,6 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
|
||||||
TakenTotalMod *= (mod+100.0f)/100.0f;
|
TakenTotalMod *= (mod+100.0f)/100.0f;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// Mangle
|
|
||||||
case 2312:
|
|
||||||
for(int j=0;j<3;j++)
|
|
||||||
{
|
|
||||||
if(GetEffectMechanic(spellProto, j)==MECHANIC_BLEED)
|
|
||||||
{
|
|
||||||
TakenTotalMod *= (100.0f+(*i)->GetModifier()->m_amount)/100.0f;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue