Dropped alt game tiredness config.

This commit is contained in:
MobiusDev
2018-04-06 23:49:44 +00:00
parent 4584db6d19
commit f013b5d027
18 changed files with 0 additions and 72 deletions

View File

@@ -154,7 +154,6 @@ public final class Config
public static double RESPAWN_RESTORE_CP;
public static double RESPAWN_RESTORE_HP;
public static double RESPAWN_RESTORE_MP;
public static boolean ALT_GAME_TIREDNESS;
public static boolean ENABLE_MODIFY_SKILL_DURATION;
public static Map<Integer, Integer> SKILL_DURATION_LIST;
public static boolean ENABLE_MODIFY_SKILL_REUSE;
@@ -1475,7 +1474,6 @@ public final class Config
HP_REGEN_MULTIPLIER = Character.getDouble("HpRegenMultiplier", 100) / 100;
MP_REGEN_MULTIPLIER = Character.getDouble("MpRegenMultiplier", 100) / 100;
CP_REGEN_MULTIPLIER = Character.getDouble("CpRegenMultiplier", 100) / 100;
ALT_GAME_TIREDNESS = Character.getBoolean("AltGameTiredness", false);
ENABLE_MODIFY_SKILL_DURATION = Character.getBoolean("EnableModifySkillDuration", false);
// Create Map only if enabled

View File

@@ -1064,12 +1064,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
}
}
// Reduce the current CP if TIREDNESS configuration is activated
if (Config.ALT_GAME_TIREDNESS)
{
setCurrentCp(getCurrentCp() - 10);
}
final WeaponType attackType = getAttackType();
final boolean isTwoHanded = (weaponItem != null) && (weaponItem.getBodyPart() == L2Item.SLOT_LR_HAND);
final int timeAtk = Formulas.calculateTimeBetweenAttacks(getPAtkSpd());