74 blackheart->GetThreatManager().AddThreat(
me, 0.0f);
175 else if (waypointId == 3)
199 trigger->GetThreatManager().AddThreat(who, 0.0f);
std::unordered_set< ObjectGuid > GuidUnorderedSet
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
#define SpellEffectFn(F, I, N)
void AddSC_boss_blackheart_the_inciter()
void OnCharmed(bool isNew) override
void JustEngagedWith(Unit *who) override
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
bool HasReactState(ReactStates state) const
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
virtual ObjectGuid GetGuidData(uint32 type) const override
NullCreatureAI(Creature *creature, uint32 scriptId={})
static Unit * ToUnit(Object *o)
void OnCharmed(bool isNew) override
SimpleCharmedPlayerAI(Player *player)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
void AddThreat(Unit *target, float amount, SpellInfo const *spell=nullptr, bool ignoreModifiers=false, bool ignoreRedirects=false)
== AFFECT MY THREAT LIST ==
size_t GetThreatListSize() const
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
ThreatManager & GetThreatManager()
bool HasUnitState(const uint32 f) const
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static const uint8 NUM_INCITE_SPELLS
bool Validate(SpellInfo const *) override
static const uint32 INCITE_SPELLS[NUM_INCITE_SPELLS]
void HandleDummy(SpellEffIndex)
GuidUnorderedSet const * GetBlackheartDummies(InstanceScript const *s)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
#define RegisterShadowLabyrinthCreatureAI(ai_name)
@ DATA_BLACKHEART_THE_INCITER
void ResetThreatList(Unit *who=nullptr)
void IsSummonedBy(WorldObject *whoWO) override
static const uint32 FIRST_DUMMY
void UpdateAI(uint32) override
static const uint32 LAST_DUMMY
void InitializeAI() override
PlayerAI * GetAIForCharmedPlayer(Player *player) override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void WaypointReached(uint32 waypointId, uint32 pathId) override
boss_blackheart_the_inciter(Creature *creature)
void KilledUnit(Unit *who) override
void SetData(uint32, uint32 data) override
void JustEngagedWith(Unit *who) override