diff --git a/src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.cpp b/src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.cpp index b0c966b951f..e2e120544e2 100644 --- a/src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.cpp +++ b/src/game/AI/ScriptDevAI/scripts/northrend/world_northrend.cpp @@ -34,6 +34,8 @@ void world_map_northrend::Initialize() instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_06, urand(0, 1)); instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_07, urand(0, 1)); instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_08, urand(0, 1)); + instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_09, urand(0, 2)); + instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_10, urand(0, 2)); } void world_map_northrend::OnCreatureGroupDespawn(CreatureGroup* creatureGroup, Creature* creature) @@ -64,6 +66,12 @@ void world_map_northrend::OnCreatureGroupDespawn(CreatureGroup* creatureGroup, C case 25014: case 25015: instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_08, urand(0, 1)); break; + case 25016: case 25017: case 25018 + instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_09, urand(0, 2)); + break; + case 25019: case 25020: case 25021 + instance->GetVariableManager().SetVariable(WORLD_STATE_CUSTOM_ICC_GRP_10, urand(0, 2)); + break; } } diff --git a/src/game/World/WorldStateDefines.h b/src/game/World/WorldStateDefines.h index e075433c4ea..7cd282ee54d 100644 --- a/src/game/World/WorldStateDefines.h +++ b/src/game/World/WorldStateDefines.h @@ -382,6 +382,8 @@ enum WorldStateID : int32 WORLD_STATE_CUSTOM_ICC_GRP_06 = 350006, WORLD_STATE_CUSTOM_ICC_GRP_07 = 350007, WORLD_STATE_CUSTOM_ICC_GRP_08 = 350008, + WORLD_STATE_CUSTOM_ICC_GRP_09 = 350009, + WORLD_STATE_CUSTOM_ICC_GRP_10 = 350010, // Obsidian Sanctum WORLD_STATE_CUSTOM_SPAWN_FLAME_WALL_LEFT = 20004,