Enum Class InjuryStatus
- All Implemented Interfaces:
Serializable, Comparable<InjuryStatus>, Constable
受伤状态(战场状态)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription箭伤 条件:玩家被弓箭射到概率触发 CD:10s BUFF:缓慢+5%,一次性掉5%-10%生命值斧伤 条件:玩家被轻斧/重斧砍到概率触发 CD:10s BUFF:缓慢+30%,一次性掉10%-15%生命值,10%触发骨折BUFF刀伤 条件:玩家被刀/剑类砍到概率触发 CD:10s BUFF:缓慢+10%,缓慢掉血火伤 条件:玩家被火类武器烧伤到概率触发 CD:10s BUFF:缓慢+10%,虚弱I武器中毒 条件:玩家被含有毒性武器所伤到概率触发 CD:10s BUFF:反胃II 20s 持续掉血投具砸伤 条件:玩家被投石机/实心炮弹砸到概率触发 CD:10s BUFF:缓慢+35%,一次性掉10-20%生命值,15%触发骨折BUFF -
Method Summary
Modifier and TypeMethodDescriptionstatic InjuryStatusReturns the enum constant of this class with the specified name.static InjuryStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLADE_WOUND
刀伤 条件:玩家被刀/剑类砍到概率触发 CD:10s BUFF:缓慢+10%,缓慢掉血 -
AXE_WOUND
斧伤 条件:玩家被轻斧/重斧砍到概率触发 CD:10s BUFF:缓慢+30%,一次性掉10%-15%生命值,10%触发骨折BUFF -
ARROW_WOUND
箭伤 条件:玩家被弓箭射到概率触发 CD:10s BUFF:缓慢+5%,一次性掉5%-10%生命值 -
PROJECTILE_WOUND
投具砸伤 条件:玩家被投石机/实心炮弹砸到概率触发 CD:10s BUFF:缓慢+35%,一次性掉10-20%生命值,15%触发骨折BUFF -
BURN
火伤 条件:玩家被火类武器烧伤到概率触发 CD:10s BUFF:缓慢+10%,虚弱I -
POISON
武器中毒 条件:玩家被含有毒性武器所伤到概率触发 CD:10s BUFF:反胃II 20s 持续掉血
-
-
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
-