Enum Class BodyStatus

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

public enum BodyStatus extends Enum<BodyStatus>
身体状态(精神状态)
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    厌食状态 条件:频繁食用单一食物(存在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 Type
    Method
    Description
    static BodyStatus
    Returns the enum constant of this class with the specified name.
    static BodyStatus[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NORMAL

      public static final BodyStatus NORMAL
      正常状态
    • JOYFUL

      public static final BodyStatus JOYFUL
      愉悦状态 条件:生命值为满,饱食度大于90% BUFF:速度+5%,生命恢复30s(下次触发CD为5min)
    • DEPRESSED

      public static final BodyStatus DEPRESSED
      失落状态 条件:生命值低于20%,饱食度低于10% BUFF:缓慢+5%,厌食(食物按原有值50%饱食度摄入)
    • NERVOUS

      public static final BodyStatus NERVOUS
      紧张状态 条件:战争发动 BUFF:速度+15%,力量+5%
    • ANOREXIA

      public static final BodyStatus ANOREXIA
      厌食状态 条件:频繁食用单一食物(存在15次起判断) BUFF:反胃I 20s
    • STARVING

      public static final BodyStatus STARVING
      饥饿状态 条件:饱食度低于5% BUFF:缓慢+10%,挖掘疲劳I
    • FOOD_POISONING

      public static final BodyStatus FOOD_POISONING
      食物中毒状态 条件:服用生食(触发概率10%) BUFF:反胃II 30s,缓慢掉血
    • MALNUTRITION

      public static final BodyStatus MALNUTRITION
      营养不良状态 条件:长期未食用肉类/鱼类食物(以游戏天3天判断) BUFF:缓慢+5%,厌食(食物按原有值30%饱食度摄入)
    • HEAT_STROKE

      public static final BodyStatus HEAT_STROKE
      高温状态 条件:玩家体温值在3min之内大于40°C BUFF:反胃II 60s,缓慢掉血,如持续6min以上则持续掉血
    • HYPOTHERMIA

      public static final BodyStatus HYPOTHERMIA
      严寒状态 条件:玩家体温值在3min之内小于10°C BUFF:缓慢+30%,虚弱I,如持续6min以上则持续掉血
  • Method Details

    • values

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