- Katılım
- 5 Tem 2021
- Konular
- 11
- Mesajlar
- 37
- Online süresi
- 10d 6h
- Reaksiyon Skoru
- 62
- Altın Konu
- 0
- Başarım Puanı
- 63
- MmoLira
- 2,053
- DevLira
- 30
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, in this topic we will activate the fall value.
Step1:
Userinterface/Instancebase.cpp
Search this:
C++:
SetVirtualID(c_rkCreateData.m_dwVID);
add under this.
C++:
SetInstanceFallState(CPythonNonPlayer::Instance().IsImmuneFlagByVnum(c_rkCreateData.m_dwRace, CPythonNonPlayer::IMMUNE_FALL));
search this:
C++:
void CInstanceBase::SetInstanceType(int iInstanceType)
add under of the function this:
C++:
void CInstanceBase::SetInstanceFallState(bool bIsFall)
{
m_GraphicThingInstance.SetActorFallState(bIsFall);
}
Step2:
Userinterface / Instancebase .h
Search this:
C++:
void SetVirtualNumber(DWORD dwVirtualNumber);
add under this:
C++:
void SetInstanceFallState(bool bIsFall);
Step3:
Userinterface/PythonNonPlayer.cpp
search this funcion:
C++:
void CPythonNonPlayer::Clear()
add above of the function this:
C++:
bool CPythonNonPlayer::IsImmuneFlagByVnum(DWORD dwVnum, DWORD dwImmuneFlag)
{
const CPythonNonPlayer::TMobTable * c_pTable = GetTable(dwVnum);
if (!c_pTable)
return false;
return IS_SET(c_pTable->dwImmuneFlag, dwImmuneFlag) != 0;
}
Step4:
Userinterface/PythonNonPlayer.h
search this:
C++:
#define MOB_ATTRIBUTE_MAX_NUM 12
add above this:
C++:
enum EMobImmuneFlags
{
IMMUNE_FALL = 4,
};
Search this:
C++:
const char* GetMonsterName(DWORD dwVnum);
add under this:
C++:
bool IsImmuneFlagByVnum(DWORD dwVnum, DWORD dwImmuneFlag);
Step5:
GameLib/ActorInstance.cpp
search this:
C++:
void CActorInstance::SetOwner(DWORD dwOwnerVID)
add under this funcions:
C++:
bool CActorInstance::GetActorFallState()
{
return m_bIsFall;
}
void CActorInstance::SetActorFallState(bool bIsFall)
{
m_bIsFall = bIsFall;
}
search this:
C++:
m_eActorType = TYPE_PC;
add under this:
C++:
m_bIsFall = false;
Step6:
GameLib/ActorInstance.h
Search this:
C++:
void SetOwner(DWORD dwOwnerVID);
add under this:
C++:
void SetActorFallState(bool bIsFall);
bool GetActorFallState();
search this:
C++:
DWORD m_eActorType;
add under this:
C++:
DWORD m_bIsFall;
Step7:
GameLib/ActorInstanceBattle.cpp
Search this:
C++:
if (IS_HUGE_RACE(rkActorDst.GetRace()))
change to:
C++:
if (IS_HUGE_RACE(rkActorDst.GetRace()) || rkActorDst.GetActorFallState())
Mob_proto.txt don't forge write immuneflag 'FALL'
- Katılım
- 18 Mar 2019
- Konular
- 3
- Mesajlar
- 14
- Online süresi
- 22h 4m
- Reaksiyon Skoru
- 6
- Altın Konu
- 0
- TM Yaşı
- 7 Yıl 2 Ay 22 Gün
- Başarım Puanı
- 23
- MmoLira
- 10
- DevLira
- 0
topik için teşekkürler bol şekerli bir topik olmuş tenks may firend eksik olma
- Katılım
- 9 Mar 2014
- Konular
- 6,063
- Mesajlar
- 22,503
- Çözüm
- 11
- Online süresi
- 2mo 9d
- Reaksiyon Skoru
- 6,031
- Altın Konu
- 6
- Başarım Puanı
- 511
- MmoLira
- 13,233
- DevLira
- 56
Thanks for sharing.
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 18
- Görüntüleme
- 2K
- Cevaplar
- 12
- Görüntüleme
- 581
- Cevaplar
- 9
- Görüntüleme
- 436









