From 88bc259151598ffd3f17ad04b81f2842415fc23e Mon Sep 17 00:00:00 2001 From: BuildingOutLoud Date: Tue, 13 Apr 2021 11:49:36 -0600 Subject: [PATCH] Update IsDungeonBoss for Mangos --- CreatureMethods.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CreatureMethods.h b/CreatureMethods.h index e008655..00f04bc 100644 --- a/CreatureMethods.h +++ b/CreatureMethods.h @@ -242,7 +242,11 @@ namespace LuaCreature */ int IsDungeonBoss(lua_State* L, Creature* creature) { +#if defined(TRINITY) || defined(AZEROTHCORE) Eluna::Push(L, creature->IsDungeonBoss()); +#else + Eluna::Push(L, creature->IsWorldBoss()); +#endif return 1; }