Enum Class LifeInjuryStatus

java.lang.Object
java.lang.Enum<LifeInjuryStatus>
net.chen.legacyLand.player.status.LifeInjuryStatus
All Implemented Interfaces:
Serializable, Comparable<LifeInjuryStatus>, Constable

public enum LifeInjuryStatus extends Enum<LifeInjuryStatus>
受伤状态(生活)
  • Enum Constant Details

    • FRACTURE

      public static final LifeInjuryStatus FRACTURE
      骨折 条件:玩家从高处跌落触发(战争部分BUFF也指向此类) CD:条件存在(得到治疗解除此类BUFF) BUFF:缓慢+10%
    • WORK_INJURY

      public static final LifeInjuryStatus WORK_INJURY
      砸伤 条件:玩家在挖矿,砍树等概率砸伤(几率设置为1%) CD:15s BUFF:缓慢+10%,挖掘疲劳I
    • EDEMA

      public static final LifeInjuryStatus EDEMA
      水肿 条件:玩家长期在水田/捕捞等工作概率触发(几率设置为1%) CD:15s BUFF:缓慢+10%,挖掘疲劳I
  • Method Details

    • values

      public static LifeInjuryStatus[] 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

      public static LifeInjuryStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null