Secret Experience

Secret Experience (https://secretexperience.net/index.php)
-   [L2J] Dúvidas (https://secretexperience.net/forumdisplay.php?f=37)
-   -   [Interlude] Skills de hero (https://secretexperience.net/showthread.php?t=31194)

Nanakawa 05-05-2011 06:24 PM

Skills de hero
 
Boa noite estou com uma duvida aki no server, seguinte quando do coloco o hero no char pelo navicat ele fica com as skills de hero em todas as classes!!! Queria mudar e deixar = o hero das olly as skils ficarem somente na clase base do char!!! Como mudar isso?
rev : Jteon

Mazokista 06-05-2011 08:25 PM

Adicionando esse mod resolve so conheço essa solução
Código:

Index: C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/config/Mods/L2JMods.ini
===================================================================
--- C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/config/Mods/L2JMods.ini        (revision 74)
+++ C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/config/Mods/L2JMods.ini        (working copy)
@@ -107,10 +107,6 @@
 # Format : skillid,newDelayTime;skillid,newDelayTime2....
 SkillReuseList =
 
+# Hero Skills SubClasses
+# Allow Hero Skills On SubClasses
+AllowHeroSkillsOnSub = False
+
 # Restore Buffs On Subclass Change?
 # Retail : False [Recommended = False]
 RestoreEffectsOnSub = False
Index: C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/com/roberto/Config.java
===================================================================
--- C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/com/roberto/Config.java        (revision 74)
+++ C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/com/roberto/Config.java        (working copy)
@@ -2106,7 +2106,6 @@
                KEEP_SUBCLASS_SKILLS = Boolean.parseBoolean(L2JModSettings.getProperty("KeepSubClassSkills", "False"));
                ALLOW_DAGGERS_WEAR_HEAVY = Boolean.parseBoolean(L2JModSettings.getProperty("AllowDaggersUseHeavy", "True"));
                ALLOW_ARCHERS_WEAR_HEAVY = Boolean.parseBoolean(L2JModSettings.getProperty("AllowArchersUseHeavy", "True"));
+                ALLOW_HERO_SKILLS_ON_SUB = Boolean.parseBoolean(L2JModSettings.getProperty("AllowHeroSkillsOnSub", "False"));
                ALT_SUBCLASS_LEVEL = Integer.parseInt(L2JModSettings.getProperty("AltSubClassLevel", "40"));
                STARTING_ADENA = Integer.parseInt(L2JModSettings.getProperty("StartingAdena", "100"));
                            STARTING_GB_ID = Integer.parseInt(L2JModSettings.getProperty("StartingGBId", "3470"));
Index: C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/com/roberto/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/com/roberto/gameserver/model/actor/instance/L2PcInstance.java        (revision 74)
+++ C:/Documents and Settings/ROBERTO/workspace/La2Chaos/Trunk/La2Chaos/La2Chaos_CORE/java/com/roberto/gameserver/model/actor/instance/L2PcInstance.java        (working copy)
@@ -8433,7 +8433,7 @@
 
        public void setHero(boolean hero)
        {
-                if (hero && _baseClass == _activeClass)
+                if (hero && _baseClass == _activeClass || Config.ALLOW_HERO_SKILLS_ON_SUB)
                {
                        for (L2Skill s : HeroSkillTable.GetHeroSkills())
                                addSkill(s, false); //Dont Save Hero skills to database



Horários baseados na GMT -3. Agora são 12:57 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.