feat(Core/SmartAI): Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVE… (#14811)

Co-authored-by: jackpoz <giacomopoz@gmail.com>
This commit is contained in:
Skjalf
2023-01-31 18:50:34 -03:00
committed by GitHub
parent 086f4d1084
commit 1fc1e1d5b7
2 changed files with 16 additions and 0 deletions

View File

@@ -274,6 +274,12 @@ public:
void EventInform(uint32 eventId) override;
void SpellHit(Unit* unit, SpellInfo const* spellInfo) override;
// Called when the gameobject summon successfully other creature
void JustSummoned(Creature* creature) override;
// Called when a summoned creature dissapears (UnSummoned)
void SummonedCreatureDespawn(Creature* unit) override;
// Called when a summoned unit dies
void SummonedCreatureDies(Creature* summon, Unit* killer) override;