Jump to content
  • 0

[Question] I Want To Modify Attribute System


Question

Posted (edited)

In freya/hi5 ,u can use 3 attribute parts per armor part,i just want to make it back to 1 like in previous clients or 0

 

i searched before for like 1 hour and didnt find anything related except attribute dmg from formulas

Edited by Karasu

7 answers to this question

Recommended Posts

  • 0
Posted

check the client packet which adds the attributes into the item (I dont remember the name cause im Interlude user)

 

then add the obvious checks

  • 0
Posted


if ((item.isWeapon() && oldElement != null && oldElement.getElement() != elementToAdd && oldElement.getElement() != -2)
|| (item.isArmor() && item.getElemental(elementToAdd) == null && item.getElementals() != null && item.getElementals().length >= 3))

is this line  2/3 ???

  • 0
Posted (edited)

if ((item.isWeapon() && oldElement != null && oldElement.getElement() != elementToAdd && oldElement.getElement() != -2)

|| (item.isArmor() && item.getElemental(elementToAdd) == null && item.getElementals() != null && item.getElementals().length >= 3))

 

is this line  2/3 ???

??  :rage:

Edited by ^Wyatt
  • 0
Posted (edited)

oh ,item.isarmor and item.isweapon ,is completely something else ,i didnt readed properly ,anyway i will take a better look when i got time ,now im doing something else ^^

 

oh and the codes are kinda different since its l2 emu xD

Edited by Karasu

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