COZULDU ISTIRAP ORTAK ESLANTI AYIRMAK

  • Konuyu Başlatan Konuyu Başlatan Admin 
  • Başlangıç tarihi Başlangıç tarihi
COZULDU
Durum
Konu yönetici tarafından kapatılmıştır.

Admin 

Yönetici
Administrator
Kayıtlı Üye
Katılım
12 Mayıs 2025
Mesajlar
67
Reaksiyon puanı
37
Konum
Ankara
Web sitesi
rogacs.net.tr
Irk
Job
Konu Sahibi
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
if (pUser->isInKarusEslant())
pUser->m_bZone = ZONE_KARUS_ESLANT;
else if (pUser->isInElmoradEslant())
pUser->m_bZone = ZONE_ELMORAD_ESLANT;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
if (pmain->zoneid) {
if (pmain->zoneid == ZONE_MORADON && !isInMoradon()) continue;
else if (pmain->zoneid == ZONE_KARUS && !isInLufersonCastle()) continue;
else if (pmain->zoneid == ZONE_ELMORAD && !isInElmoradCastle()) continue;

else if (pmain->zoneid == ZONE_KARUS_ESLANT && !isInKarusEslant()) continue;
//else if (pmain->zoneid == ZONE_ELMORAD_ESLANT && !isInKarusEslant()) continue;//ESLANT-ORTAK
else if (pmain->zoneid == ZONE_ELMORAD_ESLANT && !isInElmoradEslant()) continue;
else if (pmain->zoneid != GetZoneID()) continue;
}
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
if (proto) {
bool isguard = proto->m_tNpcType == NPC_GUARD || proto->m_tNpcType == NPC_PATROL_GUARD || proto->m_tNpcType == NPC_STORE_GUARD;
//ESLANT-ORTAK
if (GetZoneID() == ZONE_KARUS_ESLANT && GetZoneID() == ZONE_ELMORAD_ESLANT && isguard) {
m_bNation = (uint8)Nation::NONE;
m_OrgNation = (uint8)Nation::NONE;
}
}
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
C3DMap* pMap = g_pMain->GetZoneByID(zoneid);
if (pMap == nullptr || !pMap->m_Status)
goto fail_return;

//ESLANT-ORTAK
//if (isInKarusEslant(zoneid) || isInElmoradEslant(zoneid)) zoneid = ZONE_KARUS_ESLANT;

bool isvalid_1 = g_pMain->pCindWar.isStarted() || g_pMain->pCindWar.isPrepara();
bool isvalid_2 = isInSpecialEventZone(zoneid) && g_pMain->pSpecialEvent.opened;
if (cindandspecial && (!isvalid_1 && !isvalid_2))
goto fail_return;
-------------------------------------------------------------------------------------------------------------------------------------------------------------------


sourceden bulup değiştir.​
 
Durum
Konu yönetici tarafından kapatılmıştır.
Geri
Üst Alt
WhatsApp