mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Update IsDungeonBoss for Mangos
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user