Jump to content

problem with changing bonuses


Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Search in char_item.cpp

Find this:

Spoiler

if (pPC)
{
	DWORD dwNowMin = get_global_time() / 60;

	DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);

	if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
	{
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
				dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
	return false;
	}

	pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}

and change it to this:

Spoiler

if (pPC)
{
	DWORD dwNowMin = get_global_time() / 60;

	//Comment for 0 switch players start
	//DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);

	//if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
	//{
		//ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
			//dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
		//return false;
		//}
	//Comment for 0 switch players end

	pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
	}
}

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.