Enum Class BodyStatus
- All Implemented Interfaces:
Serializable, Comparable<BodyStatus>, Constable
身体状态(精神状态)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription厌食状态 条件:频繁食用单一食物(存在15次起判断) BUFF:反胃I 20s失落状态 条件:生命值低于20%,饱食度低于10% BUFF:缓慢+5%,厌食(食物按原有值50%饱食度摄入)食物中毒状态 条件:服用生食(触发概率10%) BUFF:反胃II 30s,缓慢掉血高温状态 条件:玩家体温值在3min之内大于40°C BUFF:反胃II 60s,缓慢掉血,如持续6min以上则持续掉血严寒状态 条件:玩家体温值在3min之内小于10°C BUFF:缓慢+30%,虚弱I,如持续6min以上则持续掉血愉悦状态 条件:生命值为满,饱食度大于90% BUFF:速度+5%,生命恢复30s(下次触发CD为5min)营养不良状态 条件:长期未食用肉类/鱼类食物(以游戏天3天判断) BUFF:缓慢+5%,厌食(食物按原有值30%饱食度摄入)紧张状态 条件:战争发动 BUFF:速度+15%,力量+5%正常状态饥饿状态 条件:饱食度低于5% BUFF:缓慢+10%,挖掘疲劳I -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyStatusReturns the enum constant of this class with the specified name.static BodyStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
正常状态 -
JOYFUL
愉悦状态 条件:生命值为满,饱食度大于90% BUFF:速度+5%,生命恢复30s(下次触发CD为5min) -
DEPRESSED
失落状态 条件:生命值低于20%,饱食度低于10% BUFF:缓慢+5%,厌食(食物按原有值50%饱食度摄入) -
NERVOUS
紧张状态 条件:战争发动 BUFF:速度+15%,力量+5% -
ANOREXIA
厌食状态 条件:频繁食用单一食物(存在15次起判断) BUFF:反胃I 20s -
STARVING
饥饿状态 条件:饱食度低于5% BUFF:缓慢+10%,挖掘疲劳I -
FOOD_POISONING
食物中毒状态 条件:服用生食(触发概率10%) BUFF:反胃II 30s,缓慢掉血 -
MALNUTRITION
营养不良状态 条件:长期未食用肉类/鱼类食物(以游戏天3天判断) BUFF:缓慢+5%,厌食(食物按原有值30%饱食度摄入) -
HEAT_STROKE
高温状态 条件:玩家体温值在3min之内大于40°C BUFF:反胃II 60s,缓慢掉血,如持续6min以上则持续掉血 -
HYPOTHERMIA
严寒状态 条件:玩家体温值在3min之内小于10°C BUFF:缓慢+30%,虚弱I,如持续6min以上则持续掉血
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-