Jump to content

Buff Items


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
Share on other sites

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.