diff options
author | offl <offl@users.noreply.github.com> | 2020-12-08 13:09:20 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-05 00:55:29 +0100 |
commit | 3a4ce889eacb0d58842eeb45c9421510e4cd0cba (patch) | |
tree | 74cafc0dcd6c8d85683118b830b4f7384d1e4162 /src | |
parent | 86fe0b767433e01e4cda91bf91cbf79f9656831d (diff) |
DB/Creature: Properly apply CREATURE_FLAG_EXTRA_NO_SKILLGAIN
Closes #25674
(cherry picked from commit cc98f68ac7fa06c134463903c5c887a7ad2f72a5)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/World/npcs_special.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp index 23856632b1a..bd568901191 100644 --- a/src/server/scripts/World/npcs_special.cpp +++ b/src/server/scripts/World/npcs_special.cpp @@ -1457,20 +1457,9 @@ class npc_brewfest_reveler : public CreatureScript } }; -enum TrainingDummy -{ - NPC_ADVANCED_TARGET_DUMMY = 2674, - NPC_TARGET_DUMMY = 2673 -}; - struct npc_training_dummy : NullCreatureAI { - npc_training_dummy(Creature* creature) : NullCreatureAI(creature) - { - uint32 const entry = me->GetEntry(); - if (entry == NPC_TARGET_DUMMY || entry == NPC_ADVANCED_TARGET_DUMMY) - me->DespawnOrUnsummon(16s); - } + npc_training_dummy(Creature* creature) : NullCreatureAI(creature) { } void DamageTaken(Unit* attacker, uint32& damage) override { |