Jump to content
  • 0

Question

4 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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

  • 0
Posted

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;
+            }   
+         }

  ???

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..