Kràtos Posted January 8, 2009 Posted January 8, 2009 The one old crappy post it was totally failed and i pm a Mod To Lock it and made one better. Thanks K4rMaArr0ws :) Ok let's start one better. What this share do?? This share made your character if they are Hero to have hero skills not only with main class some like official. But they will have the hero skills at all subclasses they do. So let's start. You just change at line java/net/sf/l2j/gameserver/model/actor/instance/l2pcinstance.java at number 9550. Ok now you will see the follow code; public void setHero(boolean hero) { if (hero && _baseClass == _activeClass) { for (L2Skill s : HeroSkillTable.getHeroSkills()) addSkill(s, false); //Dont Save Hero skills to database } else { for (L2Skill s : HeroSkillTable.getHeroSkills()) super.removeSkill(s); //Just Remove skills from nonHero characters } _hero = hero; sendSkillList(); } We just do a small change to this one; public void setHero(boolean hero) { if (hero) { for (L2Skill s : HeroSkillTable.getHeroSkills()) addSkill(s, false); //Dont Save Hero skills to database } else { for (L2Skill s : HeroSkillTable.getHeroSkills()) super.removeSkill(s); //Just Remove skills from nonHero characters } _hero = hero; sendSkillList(); } //done simple....!! Link; http://www.4shared.com/file/79621834/f8d1dfc5/Herro_Buffs_allowed_for_subbclasses.html Best Regardz Cobra. Quote
Th3On3 Posted January 10, 2009 Posted January 10, 2009 what program you use to edit them? Eclipse. http://www.eclipse.org/ Quote
ĐarkSlayer Posted February 8, 2009 Posted February 8, 2009 i do all this no erros but still not have skills at subclass maybe i need put anything to my gameserver i mean any file? Quote
Kràtos Posted February 8, 2009 Author Posted February 8, 2009 i do all this no erros but still not have skills at subclass maybe i need put anything to my gameserver i mean any file? Tested at all packs L2J , L2EMU , L2JFREE and work 100%! Maybe you do something wrong ! Quote
angelro Posted April 22, 2009 Posted April 22, 2009 maybe i am just a noob but i dont know how to get to java/net/sf/l2j/gameserver/model/actor/instance/l2pcinstance.java !!! Any1 can help me pls? Quote
Recommended Posts
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.