Char.h
Search;
bool IsGoto() const noexcept { return m_bCharType == CHAR_TYPE_GOTO; }
Add under;
bool IsHorse() const noexcept { return m_bCharType == CHAR_TYPE_HORSE; }
Char_state.cpp
Search;
else if (IsGuardNPC())
Add above;
if (IsHorse())
return;
This will come in handy. However, you need to make the necessary adaptations. To do this, search for the IsPet function and make the adaptations accordingly.
BOOL CInstanceBase::IsInvisibility()
{
if (IsAffect(AFFECT_INVISIBILITY) || IsAffect(AFFECT_EUNHYEONG) || IsAffect(AFFECT_HOSIN))
return true;
return false;
}
I found a solution like this, but it works