aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-17 15:35:07 -0700
committermaximius <none@none>2009-10-17 15:35:07 -0700
commit26b5e033ffde3d161382fc9addbfa99738379641 (patch)
treea344f369ca32945f787a02dee35c3dbe342bed7e /src/game/TemporarySummon.h
parentf21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff)
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.h')
-rw-r--r--src/game/TemporarySummon.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game/TemporarySummon.h b/src/game/TemporarySummon.h
index e67a5573ce2..2ff56c6e74c 100644
--- a/src/game/TemporarySummon.h
+++ b/src/game/TemporarySummon.h
@@ -17,12 +17,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
#ifndef TRINITYCORE_TEMPSUMMON_H
#define TRINITYCORE_TEMPSUMMON_H
-
#include "Creature.h"
-
class TRINITY_DLL_SPEC TempSummon : public Creature
{
public:
@@ -37,7 +34,6 @@ class TRINITY_DLL_SPEC TempSummon : public Creature
void SaveToDB();
Unit* GetSummoner() const;
uint64 const& GetSummonerGUID() { return m_summonerGUID; }
-
const SummonPropertiesEntry * const m_Properties;
private:
TempSummonType m_type;
@@ -45,7 +41,6 @@ class TRINITY_DLL_SPEC TempSummon : public Creature
uint32 m_lifetime;
uint64 m_summonerGUID;
};
-
class Minion : public TempSummon
{
public:
@@ -61,7 +56,6 @@ class Minion : public TempSummon
Unit * const m_owner;
float m_followAngle;
};
-
class Guardian : public Minion
{
public:
@@ -69,7 +63,6 @@ class Guardian : public Minion
void InitStats(uint32 duration);
bool InitStatsForLevel(uint32 level);
void InitSummon();
-
bool UpdateStats(Stats stat);
bool UpdateAllStats();
void UpdateResistances(uint32 school);
@@ -78,13 +71,11 @@ class Guardian : public Minion
void UpdateMaxPower(Powers power);
void UpdateAttackPowerAndDamage(bool ranged = false);
void UpdateDamagePhysical(WeaponAttackType attType);
-
int32 GetBonusDamage() { return m_bonusdamage; }
void SetBonusDamage(int32 damage) { m_bonusdamage = damage; }
protected:
int32 m_bonusdamage;
};
-
class Puppet : public Minion
{
public:
@@ -96,6 +87,5 @@ class Puppet : public Minion
protected:
Player *m_owner;
};
-
#endif