mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
feat(Core/SmartScripts): SMART_EVENT_SUMMONED_UNIT_DIES (#9979)
This commit is contained in:
committed by
GitHub
parent
9c63257283
commit
002e62d689
@@ -91,6 +91,9 @@ public:
|
||||
// Called when the creature summon successfully other creature
|
||||
void JustSummoned(Creature* creature) override;
|
||||
|
||||
// Called when a summoned unit dies
|
||||
void SummonedCreatureDies(Creature* summon, Unit* killer) override;
|
||||
|
||||
// Tell creature to attack and follow the victim
|
||||
void AttackStart(Unit* who) override;
|
||||
|
||||
@@ -270,6 +273,9 @@ public:
|
||||
void EventInform(uint32 eventId) override;
|
||||
void SpellHit(Unit* unit, const SpellInfo* spellInfo) override;
|
||||
|
||||
// Called when a summoned unit dies
|
||||
void SummonedCreatureDies(Creature* summon, Unit* killer) override;
|
||||
|
||||
protected:
|
||||
SmartScript mScript;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user