1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

update for Empyreum

This commit is contained in:
Moydow 2023-03-04 00:06:38 +00:00
parent 0cfb238472
commit 569fe373d1
4 changed files with 1107 additions and 5 deletions

File diff suppressed because it is too large Load diff

View file

@ -77,8 +77,8 @@ bool Sapphire::World::Manager::HousingMgr::init()
Logger::info( "HousingMgr: Caching housing land init data" ); Logger::info( "HousingMgr: Caching housing land init data" );
//LAND_SEL_ALL //LAND_SEL_ALL
// 18 wards per territory, 4 territories // 18 wards per territory, 5 territories
m_landCache.reserve( 18 * 4 ); m_landCache.reserve( 18 * 5 );
initLandCache(); initLandCache();

View file

@ -502,6 +502,10 @@ Sapphire::TerritoryPtr Sapphire::World::Manager::TerritoryMgr::findOrCreateHousi
territoryTypeId = 649; territoryTypeId = 649;
break; break;
case 979: // Empyreum
territoryTypeId = 980;
break;
default: default:
return nullptr; return nullptr;
} }

View file

@ -62,7 +62,7 @@ bool Sapphire::HousingZone::init()
housingIndex = 2; housingIndex = 2;
else if( m_territoryTypeId == 641 ) else if( m_territoryTypeId == 641 )
housingIndex = 3; housingIndex = 3;
else if (m_territoryTypeId == 979 ) else if( m_territoryTypeId == 979 )
housingIndex = 4; housingIndex = 4;
auto& exdData = Common::Service< Data::ExdDataGenerated >::ref(); auto& exdData = Common::Service< Data::ExdDataGenerated >::ref();