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" );
//LAND_SEL_ALL
// 18 wards per territory, 4 territories
m_landCache.reserve( 18 * 4 );
// 18 wards per territory, 5 territories
m_landCache.reserve( 18 * 5 );
initLandCache();

View file

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

View file

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