- Katılım
- 20 Eki 2022
- Konular
- 30
- Mesajlar
- 94
- Çözüm
- 6
- Online süresi
- 19d 6h
- Reaksiyon Skoru
- 2
- Altın Konu
- 0
- TM Yaşı
- 3 Yıl 7 Ay 24 Gün
- Başarım Puanı
- 58
- MmoLira
- 2,717
- DevLira
- 0
ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!
Hi all, I have a problem with the dungeon relased by Owsap.
When I start and exit, it seems that the waves and spawns still work, while the ship's mast life does not reduce.
I have tried various logs to keep track of HP and to get the function to direct monsters to the mast called.
Everything seems correct but the life only gets worse when I return.
I don't understand where the problem is.
Update:
I think the problem is in this function because it is called where the character is and not in the dungeon map:
When I start and exit, it seems that the waves and spawns still work, while the ship's mast life does not reduce.
I have tried various logs to keep track of HP and to get the function to direct monsters to the mast called.
Everything seems correct but the life only gets worse when I return.
I don't understand where the problem is.
Update:
I think the problem is in this function because it is called where the character is and not in the dungeon map:
C++:
bool CShipDefenseManager::CanAttack(LPCHARACTER lpCharAttacker, LPCHARACTER lpCharVictim)
{
if (lpCharAttacker == nullptr || lpCharVictim == nullptr)
return false;
if (CShipDefenseManager::Instance().IsFakeHydra(lpCharVictim->GetRaceNum()))
return false;
if (lpCharAttacker->IsMonster() && lpCharAttacker->IsNPC())
if (lpCharVictim->GetRaceNum() == ShipDefense::EVNumHelper::SHIP_MAST)
return true;
return false;
}
Son düzenleme:

