[9759] Comment cleanups related to spell base points use.

This commit is contained in:
VladimirMangos 2010-04-18 13:02:51 +04:00
parent ead6468b13
commit 7f90b8955e
4 changed files with 4 additions and 4 deletions

View file

@ -436,7 +436,7 @@ class Spell
//void HandleAddAura(Unit* Target);
SpellEntry const* m_spellInfo;
int32 m_currentBasePoints[3]; // cache SpellEntry::EffectBasePoints and use for set custom base points
int32 m_currentBasePoints[MAX_EFFECT_INDEX]; // cache SpellEntry::CalculateSimpleValue and use for set custom base points
Item* m_CastItem;
uint8 m_cast_count;
uint32 m_glyphIndex;

View file

@ -373,7 +373,7 @@ class MANGOS_DLL_SPEC Aura
uint64 m_castItemGuid; // it is NOT safe to keep a pointer to the item because it may get deleted
time_t m_applyTime;
int32 m_currentBasePoints; // cache SpellEntry::EffectBasePoints+1 and use for set custom base points
int32 m_currentBasePoints; // cache SpellEntry::CalculateSimpleValue and use for set custom base points
int32 m_maxduration; // Max aura duration
int32 m_duration; // Current time
int32 m_timeCla; // Timer for power per sec calcultion

View file

@ -6701,7 +6701,7 @@ void Spell::EffectReputation(SpellEffectIndex eff_idx)
Player *_player = (Player*)unitTarget;
int32 rep_change = m_currentBasePoints[eff_idx]; // field store reputation change -1
int32 rep_change = m_currentBasePoints[eff_idx];
uint32 faction_id = m_spellInfo->EffectMiscValue[eff_idx];

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9758"
#define REVISION_NR "9759"
#endif // __REVISION_NR_H__