Some people often ask me how to change the grade of weapons. For example, how to change a grade from grade A to grade S? Many developers make weapons, but set them with a different grade. Thanks to this manual, you will do everything yourself, and most importantly, you will learn how to do it yourself.
Tools:
L2FileEdit
Navicat ( for Database ) or Notepad ( if your items are in *.xml ).
Grades: ( In the client, the grades are numbered ).
0: NoGrade
1: D Grade
2: C Grade
3: B Grade
4: A Grade
5: S Grade
6: S80 Grade
For weapons:
Open weapongrp, using L2FileEdit. For example ( line of weapon ):
0 ID 1 1 7 15 0 DROP_MODEL DROP_TEXTURE ICON 95 1600 8 0 0 7 1 1 MODEL 1 TEXTURE 4 ItemSound.sword_small_1 ItemSound.sword_big_7 ItemSound.sword_mid_6 ItemSound.public_sword_shing_4 ItemSound.itemdrop_sword ItemSound.itemequip_sword 10 8 6 1 0 8 0 0 0 0 379 0 1 1 1000 0 -1 0 0.00000000 0.00000000 0.00000000 1.00000000 1.00000000 LineageWeapons.rangesample 0.94999999 0.55000001 0.55000001 11.00000000 0.00000000 0.00000000
Find this part there:
ItemSound.itemequip_sword 10 8 6 1 0
After ItemSound.itemequip_sword ( for example ) count to the right 5 times, on the fifth number is the number of the grade.
As you can see, in my example my weapon’s grade number is zero, so it’s NoGrade weapon. Change zero to 5 and the grade will be changed to S. Save it.
Next: need to change weapon grade in Database ( or in xml package of you server project ).
Find weapon table and find your weapon ID, next find column Crystal Type and change weapon grade to your ( for example to S ).
!Important, client know numeric values for Grades but in Database need to write Grades like "S", "S84", "A" and etc. Try.