Jump to content

xXBoyDarkXx

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

xXBoyDarkXx's Achievements

Newbie

Newbie (1/14)

10

Reputation

  1. Hoje vou ensinar como colocar o nível ao lado dos mobs como na última actualização do metin2 oficial: PythonNonPlayer.h: abaixo do método GetMonsterName insira: BYTE GetMobLevel(DWORD dwVnum); PythonNonPlayer.cpp: basta adicionar a seguinte função: BYTE CPythonNonPlayer::GetMobLevel(DWORD dwVnum) { const CPythonNonPlayer::TMobTable * c_pTable = GetTable(dwVnum); if (!c_pTable) return 0; return c_pTable->bLevel; } InstanceBase.cpp: Procure o seguinte : m_dwLevel = c_rkCreateData.m_dwLevel; Substitua por isto: if (GetInstanceType() == CActorInstance::TYPE_ENEMY) m_dwLevel = CPythonNonPlayer::Instance().GetMobLevel(GetRace()); else m_dwLevel = c_rkCreateData.m_dwLevel;
×
×
  • Create New...