aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-10-05 20:04:15 +0200
committerShauren <shauren.trinity@gmail.com>2022-10-05 20:04:15 +0200
commit5f1a4cf9044d9ad65b49eb859ec36e1f62c2be10 (patch)
tree1a28a863c2e3e9feaaa6d0559ea6dcfe69b884e9 /src/server/game/Instances/InstanceScript.h
parentbdf22f955d71d5b96764894f8b67133bbdbab18f (diff)
Core/Loot: Set loot dungeon encounter id before generating
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 0e44521dcb0..05be59d2b72 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -268,6 +268,7 @@ class TC_GAME_API InstanceScript : public ZoneScript
static char const* GetBossStateName(uint8 state);
CreatureBoundary const* GetBossBoundary(uint32 id) const { return id < bosses.size() ? &bosses[id].boundary : nullptr; }
DungeonEncounterEntry const* GetBossDungeonEncounter(uint32 id) const;
+ DungeonEncounterEntry const* GetBossDungeonEncounter(Creature const* creature) const;
// Achievement criteria additional requirements check
// NOTE: not use this if same can be checked existed requirement types from AchievementCriteriaRequirementType