Enum Class LifeInjuryStatus
- All Implemented Interfaces:
Serializable, Comparable<LifeInjuryStatus>, Constable
受伤状态(生活)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription水肿 条件:玩家长期在水田/捕捞等工作概率触发(几率设置为1%) CD:15s BUFF:缓慢+10%,挖掘疲劳I骨折 条件:玩家从高处跌落触发(战争部分BUFF也指向此类) CD:条件存在(得到治疗解除此类BUFF) BUFF:缓慢+10%砸伤 条件:玩家在挖矿,砍树等概率砸伤(几率设置为1%) CD:15s BUFF:缓慢+10%,挖掘疲劳I -
Method Summary
Modifier and TypeMethodDescriptionstatic LifeInjuryStatusReturns the enum constant of this class with the specified name.static LifeInjuryStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FRACTURE
骨折 条件:玩家从高处跌落触发(战争部分BUFF也指向此类) CD:条件存在(得到治疗解除此类BUFF) BUFF:缓慢+10% -
WORK_INJURY
砸伤 条件:玩家在挖矿,砍树等概率砸伤(几率设置为1%) CD:15s BUFF:缓慢+10%,挖掘疲劳I -
EDEMA
水肿 条件:玩家长期在水田/捕捞等工作概率触发(几率设置为1%) CD:15s BUFF:缓慢+10%,挖掘疲劳I
-
-
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
-