mirror of
https://github.com/mangosfour/server.git
synced 2026-01-01 16:37:12 +00:00
Simplify check in reagent cheking code. Small code cleanups after recent commit.
This commit is contained in:
parent
f1cc9dc319
commit
fc684dc737
5 changed files with 10 additions and 10 deletions
|
|
@ -304,8 +304,8 @@ class MANGOS_DLL_SPEC Aura
|
|||
void PeriodicTick();
|
||||
void PeriodicDummyTick();
|
||||
|
||||
inline uint32 const *getAuraSpellClassMask() {return m_spellProto->EffectSpellClassMaskA + m_effIndex * 3; }
|
||||
bool isAffectedOnSpell(SpellEntry const *spell);
|
||||
uint32 const *getAuraSpellClassMask() const { return m_spellProto->EffectSpellClassMaskA + m_effIndex * 3; }
|
||||
bool isAffectedOnSpell(SpellEntry const *spell) const;
|
||||
protected:
|
||||
Aura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, Unit *caster = NULL, Item* castItem = NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue