Jump to content
  • 0

[Help] Custom Cert Skill Item L2J


Question

Posted (edited)
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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

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