Jump to content

Recommended Posts

Search :

if (item->GetVnum() == 50200 | item->GetVnum() == 71049)

Add after all function

if (item->GetVnum() == vnum_item) 
	{
		if (GetExchange() || GetMyShop() || GetShopOwner() || IsOpenSafebox() || IsCubeOpen() || IsAcceOpen())
		{
			ChatPacket(CHAT_TYPE_INFO, "You can not do that");
			return false;
		}
		else
		{
			AddAffect(SKILL_HOSIN, POINT_RESIST_NORMAL_DAMAGE, 40, AFF_HOSIN, 360, 0, true, true);
			AddAffect(SKILL_REFLECT, POINT_REFLECT_MELEE, 40, AFF_BOHO, 360, 0, true, true);
			AddAffect(SKILL_GICHEON, POINT_CRITICAL_PCT, 40, AFF_GICHEON, 360, 0, true, true);
			item->SetCount(item->GetCount() - 1);
			ChatPacket(CHAT_TYPE_INFO, "You got 40% force,reflection and blessing for 360 seconds");
		}
	}

 

  • Love 1
Link to comment
https://metin2.dev/topic/14366-buff-items/
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.