Jump to content
  • 0

[Question] I Want To Modify Attribute System


Karasu

Question

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
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0


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

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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

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