mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[9759] Comment cleanups related to spell base points use.
This commit is contained in:
parent
ead6468b13
commit
7f90b8955e
4 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9758"
|
||||
#define REVISION_NR "9759"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue