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; }