Jump to content
  • 0

[HELP]Smth about enchanting skills...


Question

Posted

Hello MaxCheaters community ! I have been asking this problem on 80% of Russian L2J Forums but let's say that idiots stupid -beep-ing arrogant people didn't help me a shit...even If i am russian I need your help MaxCheaters! So please be kind and help me if you can :((

 

So I want just to make skills enchant for free...for now I did lower SP\Adena cost for 1 Sp\Adena per 1 enchant, I removed the thing that a player need books to enchant\change\transfer skills. But now i want to do +15 1 click enchant.

 

How can I do it?

 

So I tried and i have this result...that skills from the second proff are enchanting only till +15 and the its not enchanting. But the 3d proff skill are not enchanting at all...

 

I have sources L2Rebellion + L2jServer they are kinda combined with some mods from EmuRt and shit...

 

So I have this classes..

 

ExEnchantSkillInfo

 

// skill already enchanted?

if(_level > 100)

{

canDecrease = 15;

// get detail for next level

EnchantSkillLearn esd = SkillTreeTable.getSkillEnchant(_id, _level + 1);

 

// if it exists add it

if(esd != null)

{

addEnchantSkillDetail(esd.getLevel());

_canAdd = 15;

}

 

for(EnchantSkillLearn el : SkillTreeTable.getEnchantsForChange(_id, _level))

addEnchantSkillDetail(el.getLevel());

}

else

// not already enchanted

for(EnchantSkillLearn esd : SkillTreeTable.getFirstEnchantsForSkill(_id))

{

addEnchantSkillDetail(esd.getLevel());

_canAdd = 1;

}

}

 

SkillTreeTable

 

 

public static List<EnchantSkillLearn> getFirstEnchantsForSkill(int skillid)

{

List<EnchantSkillLearn> result = new ArrayList<EnchantSkillLearn>();

 

List<EnchantSkillLearn> enchants = _enchant.get(skillid);

if(enchants == null)

return result;

 

for(EnchantSkillLearn e : enchants)

if(e.getLevel() % 100 == 15) //i think this shit shows how much should be enchanted per 1 click..

result.add(e);

 

return result;

}

 

 

 

 

RequestExEnchantSkill

 

int enchantLevel = SkillTreeTable.convertEnchantLevel(sl.getBaseLevel(), _skillLvl, sl.getMaxLevel());

 

// already knows the skill with this level

if(slevel >= enchantLevel)

return;

 

// Можем ли мы перейти с текущего уровня скилла на данную заточку

if(slevel == sl.getBaseLevel() ? _skillLvl % 100 != 15: slevel != enchantLevel - 15)

 

 

Please help me! I beg you!!

10 answers to this question

Recommended Posts

  • 0
Posted

Well, on Interlude pack(based on l2j), there is a enchant_skills_tree.xml file, where you define which skills can be enchanted..

 

I hope this helped on how to make 3rd class skills to be enchantable..

  • 0
Posted

Well, on Interlude pack(based on l2j), there is a enchant_skills_tree.xml file, where you define which skills can be enchanted..

 

I hope this helped on how to make 3rd class skills to be enchantable..

In many packs, it is a database table.
  • 0
Posted

Well, on Interlude pack(based on l2j), there is a enchant_skills_tree.xml file, where you define which skills can be enchanted..

 

I hope this helped on how to make 3rd class skills to be enchantable..

aCis only :P.

 

About the main post :

- Remove any check about money, and drop methods deleting the money/sp.

- An enchanted skill got a skillId based on main skill. Depending of chronicle, values change. If you manage to get the correct enchant route value, you can add +15 to the id to get it directly to +16.

 

About author :

- put code in code tags.

  • 0
Posted

aCis only :P.

 

About the main post :

- Remove any check about money, and drop methods deleting the money/sp.

- An enchanted skill got a skillId based on main skill. Depending of chronicle, values change. If you manage to get the correct enchant route value, you can add +15 to the id to get it directly to +16.

 

About author :

- put code in code tags.

Well yes, from open source (almost :P) projects yes.

  • 0
Posted

- An enchanted skill got a skillId based on main skill. Depending of chronicle, values change. If you manage to get the correct enchant route value, you can add +15 to the id to get it directly to +16.

 

 

I didn't really undersand this. You mean I must get the correct enchant value? But how? I don't have the Enchant skill trees in Rebellion team dp. I succeed in doing the skill enchant 15 per click but the max lvl was 15 too.. so basically it didn't go upper then 15 per click. People i need concrete help, if some1 can help me I maybe can pay smth to you with WebMoney or smth.

  • 0
Posted

So, on every chronicle the skill level is affected by enchanting it.

 

For example backstab has Power and Chance(i think)

 

When u enchant Power the skill level will change in 100 + the enchanted level = 101

When u enchant Chance the skill level will change in 200 + the enchanted level = 201

Get it?

 

Now i dont know how the pack of urs manages this, but look into it, its all about the skill level. If i get the time to look into it ill replay later, but i dont promise anything.

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