Skip to content

Commit

Permalink
#2712 Added Karazhan Crypts to the site (mapping up next)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wotuu committed Feb 5, 2025
1 parent 31c107d commit fcbd785
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Models/DungeonConstants.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ trait DungeonConstants
public const RAID_GNOMEREGAN_SOD = 'gnomeregan_sod'; //gnomeregan
public const RAID_RUINS_OF_AHN_QIRAJ_SOD = 'ruins_of_ahnqiraj_sod'; // 20-man (classic)
public const RAID_TEMPLE_OF_AHN_QIRAJ_SOD = 'temple_of_ahnqiraj_sod'; // 40-man (classic)
public const DUNGEON_KARAZHAN_CRYPTS = 'karazhan_crypts';

public const RAID_ZUL_GURUB = 'zulgurub';
public const RAID_ONYXIAS_LAIR = 'onyxias_lair_classic';
Expand Down Expand Up @@ -220,6 +221,7 @@ trait DungeonConstants
self::DUNGEON_DIRE_MAUL_NORTH,
self::DUNGEON_DIRE_MAUL_EAST,
self::DUNGEON_GNOMEREGAN,
self::DUNGEON_KARAZHAN_CRYPTS,
self::DUNGEON_LOWER_BLACKROCK_SPIRE,
self::DUNGEON_MARAUDON,
self::DUNGEON_RAGEFIRE_CHASM,
Expand Down Expand Up @@ -377,7 +379,7 @@ trait DungeonConstants
];

public const ALL_RAID = [
Expansion::EXPANSION_CLASSIC => [
Expansion::EXPANSION_CLASSIC => [
self::RAID_GNOMEREGAN_SOD,
self::RAID_ZUL_GURUB,
self::RAID_ONYXIAS_LAIR,
Expand All @@ -389,7 +391,7 @@ trait DungeonConstants
self::RAID_TEMPLE_OF_AHN_QIRAJ_SOD,
self::RAID_NAXXRAMAS,
],
Expansion::EXPANSION_WOTLK => [
Expansion::EXPANSION_WOTLK => [
self::RAID_ICECROWN_CITADEL,
self::RAID_NAXXRAMAS_WOTLK,
self::RAID_ONYXIAS_LAIR_WOTLK,
Expand Down
117 changes: 117 additions & 0 deletions database/seeders/dungeondata/dungeons.json
Original file line number Diff line number Diff line change
Expand Up @@ -15624,5 +15624,122 @@
"dungeon_speedrun_required_npcs25_man": []
}
]
},
{
"id": 136,
"expansion_id": 4,
"game_version_id": 1,
"zone_id": 16074,
"map_id": 2875,
"instance_id": 2875,
"challenge_mode_id": 123,
"mdt_id": 0,
"raid": 0,
"key": "karazhan_crypts",
"name": "dungeons.classic.karazhan_crypts.name",
"slug": "karazhan-crypts",
"heatmap_enabled": 0,
"speedrun_enabled": 0,
"speedrun_difficulty_10_man_enabled": 0,
"speedrun_difficulty_25_man_enabled": 0,
"mdt_supported": false,
"floors": [
{
"id": 364,
"index": 1,
"mdt_sub_level": null,
"ui_map_id": 0,
"map_name": null,
"name": "dungeons.classic.karazhan_crypts.floors.karazhan_crypts",
"default": 0,
"facade": 0,
"min_enemy_size": null,
"max_enemy_size": null,
"enemy_engagement_max_range": null,
"enemy_engagement_max_range_patrols": null,
"ingame_min_x": 0,
"ingame_min_y": 0,
"ingame_max_x": 0,
"ingame_max_y": 0,
"percentage_display_zoom": null,
"zoom_max": null,
"active": 1,
"floorcouplings": [],
"dungeon_speedrun_required_npcs10_man": [],
"dungeon_speedrun_required_npcs25_man": []
},
{
"id": 365,
"index": 2,
"mdt_sub_level": null,
"ui_map_id": 0,
"map_name": null,
"name": "dungeons.classic.karazhan_crypts.floors.the_slough_of_dispair",
"default": 0,
"facade": 0,
"min_enemy_size": null,
"max_enemy_size": null,
"enemy_engagement_max_range": null,
"enemy_engagement_max_range_patrols": null,
"ingame_min_x": 0,
"ingame_min_y": 0,
"ingame_max_x": 0,
"ingame_max_y": 0,
"percentage_display_zoom": null,
"zoom_max": null,
"active": 1,
"floorcouplings": [],
"dungeon_speedrun_required_npcs10_man": [],
"dungeon_speedrun_required_npcs25_man": []
},
{
"id": 366,
"index": 3,
"mdt_sub_level": null,
"ui_map_id": 0,
"map_name": null,
"name": "dungeons.classic.karazhan_crypts.floors.tome_of_the_unrepentant",
"default": 0,
"facade": 0,
"min_enemy_size": null,
"max_enemy_size": null,
"enemy_engagement_max_range": null,
"enemy_engagement_max_range_patrols": null,
"ingame_min_x": 0,
"ingame_min_y": 0,
"ingame_max_x": 0,
"ingame_max_y": 0,
"percentage_display_zoom": null,
"zoom_max": null,
"active": 1,
"floorcouplings": [],
"dungeon_speedrun_required_npcs10_man": [],
"dungeon_speedrun_required_npcs25_man": []
},
{
"id": 367,
"index": 4,
"mdt_sub_level": null,
"ui_map_id": 0,
"map_name": null,
"name": "dungeons.classic.karazhan_crypts.floors.the_pit_of_criminals",
"default": 0,
"facade": 0,
"min_enemy_size": null,
"max_enemy_size": null,
"enemy_engagement_max_range": null,
"enemy_engagement_max_range_patrols": null,
"ingame_min_x": 0,
"ingame_min_y": 0,
"ingame_max_x": 0,
"ingame_max_y": 0,
"percentage_display_zoom": null,
"zoom_max": null,
"active": 1,
"floorcouplings": [],
"dungeon_speedrun_required_npcs10_man": [],
"dungeon_speedrun_required_npcs25_man": []
}
]
}
]
15 changes: 15 additions & 0 deletions database/seeders/dungeondata/mapping_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5713,5 +5713,20 @@
"created_at": "2025-01-16T22:18:39.000000Z",
"updated_at": "2025-01-16T22:18:46.000000Z",
"merged": false
},
{
"id": 444,
"dungeon_id": 136,
"version": 1,
"enemy_forces_required": 0,
"enemy_forces_required_teeming": null,
"enemy_forces_shrouded": null,
"enemy_forces_shrouded_zul_gamux": null,
"timer_max_seconds": 0,
"mdt_mapping_hash": null,
"facade_enabled": 0,
"created_at": "2025-02-05T22:11:03.000000Z",
"updated_at": "2025-02-05T22:11:03.000000Z",
"merged": false
}
]
9 changes: 9 additions & 0 deletions lang/en_US/dungeons.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
'tinkers_court' => 'Tinkers\' Court',
],
],
'karazhan_crypts' => [
'name' => 'Karazhan Crypts (SoD)',
'floors' => [
'karazhan_crypts' => 'Karazhan Crypts',
'the_slough_of_dispair' => 'The Slough of Dispair',
'tome_of_the_unrepentant' => 'Tome of the Unrepentant',
'the_pit_of_criminals' => 'The Pit of Criminals',
],
],
'lower_blackrock_spire' => [
'name' => 'Lower Blackrock Spire',
'floors' => [
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fcbd785

Please sign in to comment.