Jump to content
  • 0

Help!!


kokkinidisjim

Question

5 answers to this question

Recommended Posts

  • 0

I want help i want fix one java code to take tha pvp weapon and pvp armor take attribute stone and attribute crystal plz help me

Greek section,translate your topic.

Link to comment
Share on other sites

  • 0

L2Jserver epilogue project exeis ?

En pasi periptosi kai epidi perimena polly na apantiseis... Gia oloys osoys exoyn aythn thn aporia....

Ta pvp items einai hardcoded na mhn pernoyn Attributes alla ayto mporei na ala3ei apo:

com.l2jserver.gameserver.network.clientpackets.RequestExEnchantItemAttribute

 

	//can't enchant rods, shadow items, adventurers', PvP items, hero items, cloaks, bracelets, underwear (e.g. shirt), belt, necklace, earring, ring
	if (item.getItem().getItemType() == L2WeaponType.ROD || item.isShadowItem() || item.isPvp() || item.isHeroItem() || item.isTimeLimitedItem() ||
		(item.getItemId() >= 7816 && item.getItemId() <= 7831) || (item.getItem().getItemType() == L2WeaponType.NONE) ||
		item.getItem().getItemGradeSPlus() != L2Item.CRYSTAL_S || item.getItem().getBodyPart() == L2Item.SLOT_BACK ||
		item.getItem().getBodyPart() == L2Item.SLOT_R_BRACELET || item.getItem().getBodyPart() == L2Item.SLOT_UNDERWEAR ||
		item.getItem().getBodyPart() == L2Item.SLOT_BELT || item.getItem().getBodyPart() == L2Item.SLOT_NECK ||
		item.getItem().getBodyPart() == L2Item.SLOT_R_EAR || item.getItem().getBodyPart() == L2Item.SLOT_R_FINGER ||
		item.getItem().getElementals() != null)
	{
		player.sendPacket(new SystemMessage(SystemMessageId.ELEMENTAL_ENHANCE_REQUIREMENT_NOT_SUFFICIENT));
		player.setActiveEnchantAttrItem(null);
		return;
	}

 

Apla apo to code kante delete to  || item.isPvp()

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock