From 3fd88e1297144217c4fe3aafa335721a91b77946 Mon Sep 17 00:00:00 2001 From: Ben Carter Date: Sat, 30 Aug 2025 23:31:22 -0400 Subject: [PATCH] updates to remove chests and fixes for dungeon --- modules/UI/mythicplus/mythic_dungeons.ts | 5 +++++ modules/UI/mythicplus/mythic_gameobjects.ts | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/modules/UI/mythicplus/mythic_dungeons.ts b/modules/UI/mythicplus/mythic_dungeons.ts index 6950976..d95457f 100644 --- a/modules/UI/mythicplus/mythic_dungeons.ts +++ b/modules/UI/mythicplus/mythic_dungeons.ts @@ -38,6 +38,11 @@ const mythicBossKill: player_event_on_kill_creature = ( ) => { // if the creature that is killed is a boss from a mythic plus instance lets check the chart to figure out the // token reward. + + PrintInfo(`IsBossDbCheck: ${isBossDbCheck(killed.GetEntry())} NAme: ${killed.GetName()}`); + const mapId = killer.GetMap().GetMapId(); + const instanceId = killer.GetInstanceId(); + if ( isInMythicPlus(killer.GetGUID(), killer.GetInstanceId()) && isBossDbCheck(killed.GetEntry()) diff --git a/modules/UI/mythicplus/mythic_gameobjects.ts b/modules/UI/mythicplus/mythic_gameobjects.ts index 581b2dc..f5fe15f 100644 --- a/modules/UI/mythicplus/mythic_gameobjects.ts +++ b/modules/UI/mythicplus/mythic_gameobjects.ts @@ -49,11 +49,11 @@ const removeVisualSpell: gameobject_event_on_use = (event: number, gameObject: G }; // Register All visuals by chest. -RegisterGameObjectEvent(RewardChests.Normal, GameObjectEvents.GAMEOBJECT_EVENT_ON_SPAWN, (...args) => showVisualSpell(...args)); -RegisterGameObjectEvent(RewardChests.Normal, GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => removeVisualSpell(...args)); +// RegisterGameObjectEvent(RewardChests.Normal, GameObjectEvents.GAMEOBJECT_EVENT_ON_SPAWN, (...args) => showVisualSpell(...args)); +// RegisterGameObjectEvent(RewardChests.Normal, GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => removeVisualSpell(...args)); -RegisterGameObjectEvent(RewardChests.Elite, GameObjectEvents.GAMEOBJECT_EVENT_ON_SPAWN, (...args) => showVisualSpell(...args)); -RegisterGameObjectEvent(RewardChests.Elite, GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => removeVisualSpell(...args)); +// RegisterGameObjectEvent(RewardChests.Elite, GameObjectEvents.GAMEOBJECT_EVENT_ON_SPAWN, (...args) => showVisualSpell(...args)); +// RegisterGameObjectEvent(RewardChests.Elite, GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => removeVisualSpell(...args)); -RegisterGameObjectEvent(RewardChests.Badass, GameObjectEvents.GAMEOBJECT_EVENT_ON_SPAWN, (...args) => showVisualSpell(...args)); -RegisterGameObjectEvent(RewardChests.Badass,GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => removeVisualSpell(...args)); +// RegisterGameObjectEvent(RewardChests.Badass, GameObjectEvents.GAMEOBJECT_EVENT_ON_SPAWN, (...args) => showVisualSpell(...args)); +// RegisterGameObjectEvent(RewardChests.Badass,GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => removeVisualSpell(...args));