Mt2Hizmet 1
Mt2Hizmet
Fethi Polat 1
Fethi Polat
farkmt2official 1
farkmt2official
BlackFullMoon 1
BlackFullMoon
mavzermete 1
mavzermete
Bvural41 1
Bvural41
Hikaye Ekle

Cevaplanmadı SHIP MAST HP reduction. (Dungeon Ship Defense)

  • Konuyu başlatan Konuyu başlatan Nuzzo
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 2
  • Görüntüleme Görüntüleme 202

Ayyıldız2 | 2008 TR Yapısı • 1-99 Orta Emek Destan • Oto Avsız • 10 Temmuz 21:00 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:


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:

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst