关于上古宝石矿脉,查看了源代码:
1、在进副本的时候,会创建相应的宝石矿脉,但是是隐藏的。
2、在分别触发DATA_ALLIANCE_RETREAT
和DATA_HORDE_RETREAT
两个事件之后,就会刷新显示矿脉。
case DATA_ALLIANCE_RETREAT:
_bossWave = TO_BE_DECIDED;
_retreat = DATA_ALLIANCE_RETREAT;
// Spawn Ancient Gems
for (ObjectGuid const& guid : _ancientGemAlliance)
if (GameObject* gem = instance->GetGameObject(guid))
gem->Respawn();
case DATA_HORDE_RETREAT:
_bossWave = TO_BE_DECIDED;
_retreat = DATA_HORDE_RETREAT;
for (ObjectGuid const& guid : _ancientGemHorde)
{
if (GameObject* gem = instance->GetGameObject(guid))
gem->Respawn();
}