Custom config for raidboss vitality bonus.
This commit is contained in:
@@ -184,6 +184,7 @@ RestoreServitorOnReconnect = True
|
||||
# Default: True
|
||||
RestorePetOnReconnect = True
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Vitality configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
@@ -198,6 +199,11 @@ EnableVitality = False
|
||||
# Default: 140000
|
||||
StartingVitalityPoints = 0
|
||||
|
||||
# Calculate vitality bonus for raidboss kills.
|
||||
# Default: False
|
||||
RaidbossUseVitality = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Limits
|
||||
# ---------------------------------------------------------------------------
|
||||
|
@@ -795,7 +795,7 @@ public final class Config
|
||||
// --------------------------------------------------
|
||||
public static boolean ENABLE_VITALITY;
|
||||
public static int STARTING_VITALITY_POINTS;
|
||||
|
||||
public static boolean RAIDBOSS_USE_VITALITY;
|
||||
public static float RATE_VITALITY_EXP_MULTIPLIER;
|
||||
public static int VITALITY_MAX_ITEMS_ALLOWED;
|
||||
public static float RATE_DROP_VITALITY_HERBS;
|
||||
@@ -1508,6 +1508,7 @@ public final class Config
|
||||
FEE_DELETE_DUALCLASS_SKILLS = Character.getInt("FeeDeleteDualClassSkills", 20000000);
|
||||
ENABLE_VITALITY = Character.getBoolean("EnableVitality", true);
|
||||
STARTING_VITALITY_POINTS = Character.getInt("StartingVitalityPoints", 140000);
|
||||
RAIDBOSS_USE_VITALITY = Character.getBoolean("RaidbossUseVitality", true);
|
||||
MAX_BONUS_EXP = Character.getDouble("MaxExpBonus", 0);
|
||||
MAX_BONUS_SP = Character.getDouble("MaxSpBonus", 0);
|
||||
MAX_RUN_SPEED = Character.getInt("MaxRunSpeed", 300);
|
||||
|
@@ -110,7 +110,7 @@ public class L2RaidBossInstance extends L2MonsterInstance
|
||||
@Override
|
||||
public boolean useVitalityRate()
|
||||
{
|
||||
return false;
|
||||
return Config.RAIDBOSS_USE_VITALITY;
|
||||
}
|
||||
|
||||
public void setUseRaidCurse(boolean val)
|
||||
|
Reference in New Issue
Block a user