diff options
Diffstat (limited to 'src/game/Totem.h')
| -rw-r--r-- | src/game/Totem.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/Totem.h b/src/game/Totem.h index 82b183d5d62..40e2744bbeb 100644 --- a/src/game/Totem.h +++ b/src/game/Totem.h @@ -1,7 +1,7 @@ /* - * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> + * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * - * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> + * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ #ifndef TRINITYCORE_TOTEM_H #define TRINITYCORE_TOTEM_H -#include "Creature.h" +#include "TemporarySummon.h" enum TotemType { @@ -32,10 +32,10 @@ enum TotemType #define SENTRY_TOTEM_ENTRY 3968 -class Totem : public Creature +class Totem : public TempSummon { public: - explicit Totem(); + explicit Totem(SummonPropertiesEntry const *properties, Unit *owner); virtual ~Totem(){}; void Update( uint32 time ); void Summon(Unit* owner); @@ -57,7 +57,7 @@ class Totem : public Creature void UpdateAttackPowerAndDamage(bool /*ranged*/ ) {} void UpdateDamagePhysical(WeaponAttackType /*attType*/) {} - bool IsImmunedToSpell(SpellEntry const* spellInfo, bool useCharges = false); + bool IsImmunedToSpellEffect(SpellEntry const* spellInfo, uint32 index) const; protected: TotemType m_type; |
