diff options
author | QAston <none@none> | 2009-08-13 00:52:05 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-13 00:52:05 +0200 |
commit | ba91c78ceb428129c366d69b0057e68dcfa86fd5 (patch) | |
tree | 734311d85101ee29e52193f02ba59d2770e640dd /src/game/Player.h | |
parent | 348116f6f8c115c1505dc6521551618f9c5cbbcf (diff) |
*Update Mana Shield Spell Power Coefficient - by fukifat.
*Add function void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool changeAmount), and aura effect specific stuff to it.
*More correct aura scaling with lvl for area auras.
*Prevent exploits with relog while having auras with modified amount.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index a63cb719d6f..a6f1b37f2ab 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1276,6 +1276,7 @@ class TRINITY_DLL_SPEC Player : public Unit /*********************************************************/ bool LoadFromDB(uint32 guid, SqlQueryHolder *holder); + bool isBeingLoaded() const { return GetSession()->PlayerLoading();} bool MinimalLoadFromDB(QueryResult *result, uint32 guid); static bool LoadValuesArrayFromDB(Tokens& data,uint64 guid); |