Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- #P aCis_gameserver
- Index: java/net/sf/l2j/Config.java
- ===================================================================
- --- java/net/sf/l2j/Config.java (revision 130)
- +++ java/net/sf/l2j/Config.java (working copy)
- @@ -600,6 +600,7 @@
- /** Buffs */
- public static boolean STORE_SKILL_COOLTIME;
- + public static boolean EXPERTISE_PENALTY;
- public static int BUFFS_MAX_AMOUNT;
- // --------------------------------------------------
- @@ -1426,6 +1427,7 @@
- BUFFS_MAX_AMOUNT = players.getProperty("MaxBuffsAmount", 20);
- STORE_SKILL_COOLTIME = players.getProperty("StoreSkillCooltime", true);
- + EXPERTISE_PENALTY = players.getProperty("ExpertisePenality", true);
- // server
- ExProperties server = load(SERVER_FILE);
- Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
- ===================================================================
- --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 130)
- +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)
- @@ -1650,6 +1650,9 @@
- */
- public void refreshExpertisePenalty()
- {
- + if (!Config.EXPERTISE_PENALTY)
- + return;
- +
- int armorPenalty = 0;
- boolean weaponPenalty = false;
- Index: config/players.properties
- ===================================================================
- --- config/players.properties (revision 130)
- +++ config/players.properties (working copy)
- @@ -214,11 +214,11 @@
- # Name color for those matching the above MasterAccess AccessLevel.
- # Default: 00CCFF (golden color)
- MasterNameColor = 00CCFF
- # Title color for those matching the above MasterAccess AccessLevel.
- # Default: 00CCFF (golden color)
- MasterTitleColor = 00CCFF
- # Enable GMs to have the glowing aura of a Hero character.
- GMHeroAura = True
- @@ -308,4 +308,9 @@
- MaxBuffsAmount = 40
- # Store buffs/debuffs on user logout?
- -StoreSkillCooltime = True
- \ No newline at end of file
- +StoreSkillCooltime = True
- +
- +# ExpertisePenality, to disable grade penalty
- +# False: Players can use equip S grade at level 1.
- +# True: Players can't use equip S grade at level 1.
- +ExpertisePenality= False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement