Skip to content

Commit

Permalink
#1618 Bosses are now marked as such when exporting to MDT
Browse files Browse the repository at this point in the history
  • Loading branch information
Wotuu committed Apr 9, 2023
1 parent a149c84 commit a590410
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/Service/MDT/MDTMappingExportService.php
Expand Up @@ -202,6 +202,11 @@ private function getDungeonEnemies(MappingVersion $mappingVersion, Collection $t
// 'spells' => [], // @TODO
'clones' => [],
];

if ($npc->classification_id >= NpcClassification::ALL[NpcClassification::NPC_CLASSIFICATION_BOSS]) {
$dungeonEnemy['isBoss'] = true;
}

$translations->push($npc->name);

$cloneIndex = 0;
Expand Down

0 comments on commit a590410

Please sign in to comment.