67 owner->SendDirectMessage(data.
Write());
74 TC_LOG_DEBUG(
"misc",
"Totem with entry {}, owned by player {} ({} {} {}) in slot {}, created by spell {}, does not have a specialized model. Set to default.",
82 if (totemSpell->CalcCastTime())
133 owner->SendAutoRepeatCancel(
this);
138 if (
Group* group = owner->GetGroup())
140 for (
GroupReference* itr = group->GetFirstMember(); itr !=
nullptr; itr = itr->next())
142 Player* target = itr->GetSource();
143 if (target && target->
IsInMap(owner) && group->SameSubGroup(owner, target))
157 bool requireImmunityPurgesEffectAttribute )
const
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
#define TC_LOG_DEBUG(filterType__,...)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_AURA_PERIODIC_DAMAGE
@ SPELL_AURA_PERIODIC_LEECH
#define SENTRY_BIND_SIGHT_SPELLID
#define SENTRY_TOTEM_ENTRY
#define SENTRY_STONECLAW_SPELLID
#define SENTRY_TOTEM_SPELLID
void SetDisplayId(uint32 modelId) override
void Update(uint32 time) override
void SetReactState(ReactStates st)
bool IsImmunedToSpellEffect(SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const override
static char const * ToTitle(Enum value)
void AddEvent(BasicEvent *event, Milliseconds e_time, bool set_addtime=true)
Milliseconds CalculateTime(Milliseconds t_offset) const
void setDeathState(DeathState s) override
void InitStats(uint32 duration) override
uint32 GetUInt32Value(uint16 index) const
ObjectGuid GetGUID() const
SpellImplicitTargetInfo TargetA
void SendCooldownEvent(SpellInfo const *spellInfo, uint32 itemId=0, Spell *spell=nullptr, bool startCooldown=true)
SpellTargetCheckTypes GetCheckType() const
Targets GetTarget() const
SummonPropertiesEntry const *const m_Properties
void UnSummon(uint32 msTime=0) override
uint32 GetSpell(uint8 slot=0) const
void InitStats(uint32 duration) override
bool IsImmunedToSpellEffect(SpellInfo const *spellInfo, SpellEffectInfo const &spellEffectInfo, WorldObject const *caster, bool requireImmunityPurgesEffectAttribute=false) const override
void Update(uint32 time) override
void InitSummon() override
Totem(SummonPropertiesEntry const *properties, Unit *owner)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void SetLevel(uint8 lvl, bool sendUpdate=true)
SpellHistory * GetSpellHistory()
void CombatStop(bool includingCast=false, bool mutualPvP=true)
ObjectGuid m_SummonSlot[MAX_SUMMON_SLOT]
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void AddObjectToRemoveList()
bool IsInMap(WorldObject const *obj) const
WorldPacket const * Write() override