Quote:
Originally Posted by thespeedyy
c++?
|
I think that is what you want.
Code:
//@src/game/char_item.cpp
//Delete:
// Except for arrows, equipment can be changed after the last attack time or skill use 1.5.
DWORD dwCurTime = get_dword_time();
if (iWearCell != WEAR_ARROW
&& (dwCurTime - GetLastAttackTime() <= 1500 || dwCurTime - m_dwLastSkillTime <= 1500))
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("가만히 있을 때만 착용할 수 있습니다."));
return false;
}