Jump to content
  • 0

How i can?


Madboy

Question

4 answers to this question

Recommended Posts

  • 0

In configs altsettings Chaange True to False

# Apella armors can be equiped only by clan members if their class is Baron or higher - default True

ApellaArmorsRestriction = True

Link to comment
Share on other sites

  • 0

Noblesse = Baron, but other players could have this status too . Look at this tutorial : Click Try to remake this ... with cheacking "if is noble " .....bla bla . Anyway cheack this : UseItem.java

Link to comment
Share on other sites

  • 0

Now I started to learn Java is a bit hard.

i can you this no?

if (item.isEquipable())
      {
         if (activeChar.isDisarmed())
            return;

         if (!((L2Equip) item.getItem()).allowEquip(activeChar))
         {
            activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP));
            return;
         }

         //Begining the script
+         if (activeChar.getClassId().getId() == 88)
+         {
+            if (item.getItemType() == L2ArmorType.MAGIC)
+            {
+               activeChar.sendPacket(new +SystemMessage(SystemMessageId.NO_CONDITION_TO_EQUIP));
+               return;
+            }   
+         }

  ???

 

 

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...