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

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


  • Posts

    • Lol another crappy server if you wanna x5000 rates go play l2java or damage, at least not gonna die in few months when server rent and cheap meth will fade out lol
    • Why the shitty interface then?
    • Wtf you even selling no clue at all, stop use this crappy AI 
    • We are a small team of developers from this community who used to play on the Interlude version of L2Pride, almost 20 years ago. There have been many attempts over the years to replicate this server, specifically the very first version of it that came on Interlude(C6) and all of them were met with failure. We decided to take it upon ourselves again since we remember every little detail that made this server unique and also were fortunate enough to get our hands in some of the old code that made the server unique. Some features about the server: ⚔️ Original Castle Reward System 🏹 Classic L2Pride Class Balance & Hunter's Village S-Grade PvP 🎯 12 Subclasses • Automatic TVT / CTF / DM / VIP Events 🔄 Fully Functional Rebirth System 🏆 PvP Rewards every 1,000 PvP Points 👑 Fully Working Olympiad ☠️ Cursed Weapons with Void Burst & Void Flow 💰 Beleth's Bronze, Silver & Gold Currency System since Adena is too easy to get ⭐ Safe Enchant +6 • Max Enchant +25 📍 Start: Cave of Trials • ⚔️ Leveling: Varka Silenos 🏛️ Farm Instances: Cave of Trials & Cemetery 🤖 Optional Autofarm & Healbot • 🚀 Teleport Stone The server is strictly focusing around PvP while minimizing PvE to the minimum, all classes have been balanced and tweaked for PvP, even dumb classes like Prophets and Bladedancers are now useful and fun to play PvP with. Posting this since there has been a lot of interest and approval from this subreddit, you can stay tuned and up to date about the opening here: https://discord.com/invite/2Knae6mmTx This is also our website made after the classic version of the game: https://www.l2belle.org/ (you can find more info and guides here) Since this is a server focused heavily on PvP we are expecting a lot of clans and people to join and make this a joyful ride. See you soon
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..