Jump to content
  • 0

[help] editing classes


Question

7 answers to this question

Recommended Posts

  • 0
Posted

1/ Edit base stat of class.

 

or 2/ Make skills that decrease pdef/patk/mdef (what you want) and add it on skilltree for the class wanter to be nerfed.

  • 0
Posted

ok, i'll pick 2 :D and how can i edit Divine Inspiration ? is coredone but i can't find it in eclipse where is it ? :|

 

and how can i make triggered buffs don't overbuff ?

1 - search better (use the id of the skill on the whole project, you will find)

2 - make effects of skills use the same stackType, and then control them with stackOrder.

  • 0
Posted

1 - i have searched, i've found in l2skills this: public static final int SKILL_DIVINE_INSPIRATION = 1405; ... but how can i edit the max buffs ? :|

 

2 - thanks.

If you make a second search with SKILL_DIVINE_INSPIRATION, you would eventually see it is linked with the config about max buffs

  • 0
Posted

in l2character.java is

public int getMaxBuffCount()
{
	return Config.BUFFS_MAX_A-beep-T + Math.max(0, getSkillLevel(L2Skill.SKILL_DIVINE_INSPIRATION));
}

in skillspellbooktable is

public int getBookForSkill(int skillId, int level)
{
	if (skillId == L2Skill.SKILL_DIVINE_INSPIRATION && level != -1)
	{
		switch (level)
		{
			case 1:
				return 8618; // Ancient Book - Divine Inspiration (Modern Language Version)
			case 2:
				return 8619; // Ancient Book - Divine Inspiration (Original Language Version)
			case 3:
				return 8620; // Ancient Book - Divine Inspiration (Manuscript)
			case 4:
				return 8621; // Ancient Book - Divine Inspiration (Original Version)
			default:
				return -1;
		}
	}

in l2pcinstance is

if (sk == null || (sk.getId() == L2Skill.SKILL_DIVINE_INSPIRATION && !Config.AUTO_LEARN_DIVINE_INSPIRATION && !isGM()))

in Requestacquireskill is

if (Config.DIVINE_SP_BOOK_NEEDED && skill.getId() == L2Skill.SKILL_DIVINE_INSPIRATION)

and in requestacquireskillinfo is

if (Config.DIVINE_SP_BOOK_NEEDED && skill.getId() == L2Skill.SKILL_DIVINE_INSPIRATION)

 

where do i have to change ? :O i can't figured out ...

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

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