aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-13 00:52:05 +0200
committerQAston <none@none>2009-08-13 00:52:05 +0200
commitba91c78ceb428129c366d69b0057e68dcfa86fd5 (patch)
tree734311d85101ee29e52193f02ba59d2770e640dd /src/game/Unit.h
parent348116f6f8c115c1505dc6521551618f9c5cbbcf (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/Unit.h')
-rw-r--r--src/game/Unit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 26344480c8d..6a8515480c7 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1386,7 +1386,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
Player* GetSpellModOwner() const;
- Unit* GetOwner() const;
+ Unit* GetOwner(bool inWorld = true) const;
Guardian *GetGuardianPet() const;
Minion *GetFirstMinion() const;
Unit* GetCharmer() const;
@@ -1820,6 +1820,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
virtual float GetFollowAngle() const { return M_PI/2; }
void OutDebugInfo();
+ virtual bool isBeingLoaded() const { return false;}
protected:
explicit Unit ();