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

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