Jump to content
  • 0

[Help] Custom Cert Skill Item L2J


Veandil

Question

where to put custom item needed for certification skill from Avant-Garde, i put it into data\scripts\custom\Validators\subClassSkills.java into ID == 22568
private static final int[] _allCertItemIds =
{
10280, 10281, 10282, 10283, 10284, 10285, 10286, 10287, 10288, 10289,
10290, 10291, 10292, 10293, 10294, 10612, 22568
};
private static final int[][] _certItemsByLevel =
{
{ 10280, 22568 },
{ 10280, 22568 },
{ 10612, 10281, 10282, 10283, 10284, 10285, 10286, 10287 },
{ 10288, 10289, 10290, 10291, 10292, 10293, 10294 }
};
 
and into
\game\data\stats\items>22500-22599.xml by code
</item>
<item id="22568" type="EtcItem" name="Certificate super">
<set name="icon" val="icon.etc_all_subjob_skillbook_i00" />
<set name="immediate_effect" val="true" />
<set name="material" val="PAPER" />
<set name="weight" val="120" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_destroyable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_depositable" val="false" />
<set name="is_stackable" val="true" />
</item>
 
and then into 
game\data\scripts\ai\npc\AvantGarde\AvantGarde.java
 
private static final int[] ITEMS =
{
10280, 10281, 10282, 10283, 10284, 10285, 10286, 10287, 10288, 10289, 10290, 10291, 10292, 10293, 10294, 10612, 22568
};
 
where else i should put item/id/etc to resolve the problem

invalid cert item without variable or with wrong count:268482262

in game
 
if problem is on client side help me plox ^__^
Edited by Veandil
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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