Jump to content

[HELP] How T fix trans bonus Sash?


Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

	case USE_COSTUME_TRANSFORM:
						{
							LPITEM item2;
							if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
								return false;

							if (item2->IsEquipped())
							{
								BuffOnAttr_RemoveBuffsFromItem(item2);
							}

							if (item2->IsExchanging() || item2->IsEquipped())
								return false;
							
							if (item2->GetType() != ITEM_COSTUME)
							{
								ChatPacket(CHAT_TYPE_INFO, LC_TEXT("bu_nesneyi_bu_esyada_kullanamazsin"));
								return false;
							}

							if (item2->GetAttributeCount() == 0)
							{
								ChatPacket(CHAT_TYPE_INFO, LC_TEXT("kostumda_hic_efsun_yok"));
								return false;
							}

							if ( item2->GetSubType() != 0 || item2->GetSubType() != 1 )
							{
								ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ITEM_ISNT_COSTUME"));
								return false;
							}

							if (item2->IsBind())
							{
								ChatPacket(CHAT_TYPE_INFO, LC_TEXT("kostum_kilitli"));
								return false;
							}

 

5GBNBj.png

https://metin2.download/picture/ct7O4N6g0B2LU8wk2c799b24W7Lz7Dfh/.gif

GIF2GIF2GIF2GIF2

Edited by Metin2 Dev
Core X - External 2 Internal
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.