#[repr(u16)]pub enum Attribute {
Show 20 variants
None = 0,
Power = 1,
Precision = 2,
Toughness = 3,
Vitality = 4,
Ferocity = 5,
Healing = 6,
Condition = 7,
Concentration = 8,
Expertise = 9,
Armor = 10,
Agony = 11,
StatInc = 12,
PhysInc = 13,
CondInc = 14,
PhysRec = 15,
CondRec = 16,
AttackSpeed = 17,
SiphonInc = 18,
SiphonRec = 19,
}
Expand description
Attributes for buff formulas.
Used in StateChange::BuffFormula
events.
This enum is different from the game’s own attribute ids.
Variants§
None = 0
Power = 1
Power.
Precision = 2
Precision.
Toughness = 3
Toughness.
Vitality = 4
Vitality.
Ferocity = 5
Ferocity.
Healing = 6
Healing.
Condition = 7
Condition Damage.
Concentration = 8
Concentration.
Expertise = 9
Expertise.
Armor = 10
Armor.
Agony = 11
Agony Resistance.
StatInc = 12
Stat increase.
PhysInc = 13
Outgoing strike damage.
CondInc = 14
Outgoing condition damage.
PhysRec = 15
Incoming strike damage.
CondRec = 16
Incoming condition damage.
AttackSpeed = 17
Attack speed.
SiphonInc = 18
Outgoing life leech.
SiphonRec = 19
Incoming life leech.
Trait Implementations§
§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Attribute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Attribute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl IntoEnumIterator for Attribute
impl IntoEnumIterator for Attribute
type Iterator = AttributeIter
fn iter() -> AttributeIter ⓘ
§impl Ord for Attribute
impl Ord for Attribute
§impl PartialOrd for Attribute
impl PartialOrd for Attribute
§impl Serialize for Attribute
impl Serialize for Attribute
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Attribute
impl Eq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)