Issue Summary
The dungeon mob reward drop system is controlled through DungeonMobValidator.java (https://github.com/RobertSkalko/dungeon_realm/blob/306b2c1025a4ba8f9003f33baaa4aa8d2c71bd42/src/main/java/com/robertx22/dungeon_realm/main/DungeonMobValidator.java#L9), which determines whether dungeon mobs drop rewards when killed. Currently, there's an issue where certain higher-rarity mobs (exclude Common rarity) and bosses and elite mobs are not dropping rewards properly when killed in dungeons.
Specifically, the following mob types are affected:
MapBossMB.java
EliteMobMB.java
BossMB.java
The problem is that these mob types do not have isDungeonMob set to true, unlike MobMB.java (https://github.com/RobertSkalko/dungeon_realm/blob/306b2c1025a4ba8f9003f33baaa4aa8d2c71bd42/src/main/java/com/robertx22/dungeon_realm/database/data_blocks/mobs/MobMB.java#L41), which prevents them from dropping rewards normally when killed in dungeons.
Problem
All dungeon bosses and uber bosses are not dropping rewards when killed. Additionally, even regular dungeon mobs that have grades or are classified as elite mobs are failing to drop rewards properly.
Script Explain
This script serves as a runtime patch that dynamically corrects the isDungeonMob flag for all mob types (including MapBossMB, EliteMobMB, BossMB, etc.) when they're damaged in dungeons, ensuring they will properly drop rewards when killed, regardless of their original configuration. (Only in dungeon_realm:dungeon dimension)
