mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
@@ -110,4 +110,9 @@ enum GameObjectsIds
|
||||
GO_UROK_PILE = 175621,
|
||||
};
|
||||
|
||||
enum npcspells
|
||||
{
|
||||
SPELL_FINKLE_IS_EINHORN = 16710
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -67,6 +67,19 @@ public:
|
||||
memset(go_emberseerrunes, 0, sizeof(go_emberseerrunes));
|
||||
}
|
||||
|
||||
void CreatureLooted(Creature* creature, LootType loot) override
|
||||
{
|
||||
switch (creature->GetEntry())
|
||||
{
|
||||
case NPC_THE_BEAST:
|
||||
if (loot == LOOT_SKINNING)
|
||||
{
|
||||
creature->CastSpell(creature, SPELL_FINKLE_IS_EINHORN, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void OnCreatureCreate(Creature* creature)
|
||||
{
|
||||
switch (creature->GetEntry())
|
||||
|
||||
Reference in New Issue
Block a user