From 1aeaeb0025dfe158eb3483f9732e4fe3fc830f8c Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 12 Jun 2019 00:00:30 +0000 Subject: [PATCH] Previous correction for HighFive branch. --- L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/Config.java | 8 ++++---- .../gameserver/model/actor/templates/NpcTemplate.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/Config.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/Config.java index bbd2b7be98..1e493e4e42 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/Config.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/Config.java @@ -119,7 +119,7 @@ public final class Config private static final String CUSTOM_FIND_PVP_CONFIG_FILE = "./config/Custom/FindPvP.ini"; private static final String CUSTOM_HELLBOUND_STATUS_CONFIG_FILE = "./config/Custom/HellboundStatus.ini"; private static final String CUSTOM_MULTILANGUAL_SUPPORT_CONFIG_FILE = "./config/Custom/MultilingualSupport.ini"; - private static final String CUSTOM_NPC_STAT_MULTIPIERS_CONFIG_FILE = "./config/Custom/NpcStatMultipliers.ini"; + private static final String CUSTOM_NPC_STAT_MULTIPLIERS_CONFIG_FILE = "./config/Custom/NpcStatMultipliers.ini"; private static final String CUSTOM_OFFLINE_TRADE_CONFIG_FILE = "./config/Custom/OfflineTrade.ini"; private static final String CUSTOM_PASSWORD_CHANGE_CONFIG_FILE = "./config/Custom/PasswordChange.ini"; private static final String CUSTOM_PREMIUM_SYSTEM_CONFIG_FILE = "./config/Custom/PremiumSystem.ini"; @@ -1137,7 +1137,7 @@ public final class Config public static int BANKING_SYSTEM_ADENA; public static boolean ENABLE_WAREHOUSESORTING_CLAN; public static boolean ENABLE_WAREHOUSESORTING_PRIVATE; - public static boolean ENABLE_NPC_STAT_MULTIPIERS; + public static boolean ENABLE_NPC_STAT_MULTIPLIERS; public static double MONSTER_HP_MULTIPLIER; public static double MONSTER_MP_MULTIPLIER; public static double MONSTER_PATK_MULTIPLIER; @@ -2670,9 +2670,9 @@ public final class Config BANKING_SYSTEM_ADENA = Banking.getInt("BankingAdenaCount", 500000000); // Load BoostNpcStats config file (if exists) - final PropertiesParser BoostNpcStats = new PropertiesParser(CUSTOM_NPC_STAT_MULTIPIERS_CONFIG_FILE); + final PropertiesParser BoostNpcStats = new PropertiesParser(CUSTOM_NPC_STAT_MULTIPLIERS_CONFIG_FILE); - ENABLE_NPC_STAT_MULTIPIERS = BoostNpcStats.getBoolean("EnableNpcStatMultipliers", false); + ENABLE_NPC_STAT_MULTIPLIERS = BoostNpcStats.getBoolean("EnableNpcStatMultipliers", false); MONSTER_HP_MULTIPLIER = BoostNpcStats.getDouble("MonsterHP", 1.0); MONSTER_MP_MULTIPLIER = BoostNpcStats.getDouble("MonsterMP", 1.0); MONSTER_PATK_MULTIPLIER = BoostNpcStats.getDouble("MonsterPAtk", 1.0); diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java index 50f7179086..a96f2c7e6a 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/gameserver/model/actor/templates/NpcTemplate.java @@ -190,7 +190,7 @@ public final class NpcTemplate extends CreatureTemplate implements IIdentifiable _collisionRadiusGrown = set.getDouble("collisionRadiusGrown", 0); _collisionHeightGrown = set.getDouble("collisionHeightGrown", 0); - if (Config.ENABLE_NPC_STAT_MULTIPIERS) // Custom NPC Stat Multipliers + if (Config.ENABLE_NPC_STAT_MULTIPLIERS) // Custom NPC Stat Multipliers { switch (_type) {