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 ?

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

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