*Cleanups, remove obsolete code and minor optimizations in spellauras.cpp and spelleffects.cpp

*Remove GetDummyAura(uint32 spellid) function - it is faster to use GetAuraEffect or GetAura if id is known than iterate threw dummy auras list
*Move Death Strike code from HandleDummyAuraProc to Spell::EffectDummy - original patch by hununza.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-08-08 16:18:05 +02:00
parent 08f1421ae1
commit 6b4772207f
11 changed files with 136 additions and 731 deletions
+1 -1
View File
@@ -926,7 +926,7 @@ enum AuraState
};
#define PER_CASTER_AURA_STATE_MASK ( \
(1<<(AURA_STATE_CONFLAGRATE-1))|(1<<(AURA_STATE_SWIFTMEND-1))|(1<<(AURA_STATE_DEADLY_POISON-1)))
(1<<(AURA_STATE_CONFLAGRATE-1))|(1<<(AURA_STATE_DEADLY_POISON-1)))
// Spell mechanics
enum Mechanics