Enum AbilityStoneOpKind

Source
pub enum AbilityStoneOpKind {
Show 18 variants PayloadMult, ManaCostMult, CooldownMult, CastTimeMult, EffectDurationMult, CritChanceBonus, CoverageMult, ExtraTargets, Condense, SplitCopies, ChainTargets, PierceTargets, RepeatCast, PulseSplit, LeechPercent, GuardNextHit, IncomingDamageReduction, MissingManaDamagePercent,
}
Expand description

One operation a support stone performs on the ability it is socketed into.

A support carries a SET of these (Haste = payload ×0.80 AND mana ×1.10 AND cooldown ×0.75), so the operation kind is per-op, not per-stone. Rank scales the magnitude of each op; it never changes the op set, the Compatibility or the Exclusion Family.

Variants§

§

PayloadMult

Payload multiplier: every damage/DoT/heal component of the ability is multiplied by value (1.50 = +50%). Also the “magnitude per target / per tick” knob of Widen / Persist / Sustain.

§

ManaCostMult

Mana-cost multiplier (0.50 = half price).

§

CooldownMult

Cooldown multiplier (0.75 = casts 33% more often).

§

CastTimeMult

Cast-time multiplier: scales the cast’s delay + animation occupation (0.50 = Quickcast).

§

EffectDurationMult

Applied-effect duration multiplier (2.0 = Persist).

§

CritChanceBonus

Flat added crit chance in PERCENT POINTS (25.0 = +25% crit chance).

§

CoverageMult

Coverage multiplier: the ability’s AoE target cap is multiplied by value (1.60 = Widen). Inert on abilities with no cap (already unlimited).

§

ExtraTargets

+value flat targets for AoE abilities. Legacy “Охват” op, kept because it is the only additive coverage form.

§

Condense

Collapse copies/area into one primary payload multiplied by value; coverage becomes a single target (Condense).

§

SplitCopies

count extra instant copies on the SAME target, each at value% of the payload (Split).

§

ChainTargets

The payload jumps to count further targets at value% each (Chain).

§

PierceTargets

The payload passes through count further targets; each next hit is value% of the previous one (Pierce).

§

RepeatCast

count derived repeats of the cast interval_ms later, each at value% payload (Repeat).

§

PulseSplit

The single payload becomes count pulses at value% each, spaced interval_ms apart (Pulse). The first pulse is the original cast.

§

LeechPercent

value% of the final damage dealt heals the caster (Leech).

§

GuardNextHit

The next incoming hit after the cast deals value% less damage (Fortify).

§

IncomingDamageReduction

Incoming damage is reduced by value% for interval_ms after the cast (Shelter).

§

MissingManaDamagePercent

+value% damage for every 10% of the caster’s missing mana. Legacy “Отдача” op.

Trait Implementations§

Source§

impl Clone for AbilityStoneOpKind

Source§

fn clone(&self) -> AbilityStoneOpKind

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AbilityStoneOpKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AbilityStoneOpKind

Source§

fn default() -> AbilityStoneOpKind

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for AbilityStoneOpKind

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for AbilityStoneOpKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for AbilityStoneOpKind

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<AbilityStoneOpKind, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for AbilityStoneOpKind

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl JsonSchema for AbilityStoneOpKind

Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
Source§

fn json_schema(generator: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

impl PartialEq for AbilityStoneOpKind

Source§

fn eq(&self, other: &AbilityStoneOpKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for AbilityStoneOpKind

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for AbilityStoneOpKind

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from( s: &str, ) -> Result<AbilityStoneOpKind, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Tsify for AbilityStoneOpKind

Source§

const DECL: &'static str = "/**\n * One operation a support stone performs on the ability it is socketed into.\n *\n * A support carries a SET of these (`Haste` = payload \u{d7}0.80 AND mana \u{d7}1.10 AND\n * cooldown \u{d7}0.75), so the operation kind is per-op, not per-stone. Rank scales\n * the magnitude of each op; it never changes the op set, the Compatibility or\n * the Exclusion Family.\n */\ndeclare namespace AbilityStoneOpKind {\n /**\n * Payload multiplier: every damage/DoT/heal component of the ability is\n * multiplied by `value` (1.50 = +50%). Also the \\\"magnitude per target /\n * per tick\\\" knob of Widen / Persist / Sustain.\n */\n export type PayloadMult = \"PayloadMult\";\n /**\n * Mana-cost multiplier (0.50 = half price).\n */\n export type ManaCostMult = \"ManaCostMult\";\n /**\n * Cooldown multiplier (0.75 = casts 33% more often).\n */\n export type CooldownMult = \"CooldownMult\";\n /**\n * Cast-time multiplier: scales the cast\\\'s delay + animation occupation\n * (0.50 = Quickcast).\n */\n export type CastTimeMult = \"CastTimeMult\";\n /**\n * Applied-effect duration multiplier (2.0 = Persist).\n */\n export type EffectDurationMult = \"EffectDurationMult\";\n /**\n * Flat added crit chance in PERCENT POINTS (25.0 = +25% crit chance).\n */\n export type CritChanceBonus = \"CritChanceBonus\";\n /**\n * Coverage multiplier: the ability\\\'s AoE target cap is multiplied by\n * `value` (1.60 = Widen). Inert on abilities with no cap (already\n * unlimited).\n */\n export type CoverageMult = \"CoverageMult\";\n /**\n * `+value` flat targets for AoE abilities. Legacy \\\"\u{41e}\u{445}\u{432}\u{430}\u{442}\\\" op, kept because\n * it is the only additive coverage form.\n */\n export type ExtraTargets = \"ExtraTargets\";\n /**\n * Collapse copies/area into one primary payload multiplied by `value`;\n * coverage becomes a single target (Condense).\n */\n export type Condense = \"Condense\";\n /**\n * `count` extra instant copies on the SAME target, each at `value`% of the\n * payload (Split).\n */\n export type SplitCopies = \"SplitCopies\";\n /**\n * The payload jumps to `count` further targets at `value`% each (Chain).\n */\n export type ChainTargets = \"ChainTargets\";\n /**\n * The payload passes through `count` further targets; each next hit is\n * `value`% of the previous one (Pierce).\n */\n export type PierceTargets = \"PierceTargets\";\n /**\n * `count` derived repeats of the cast `interval_ms` later, each at\n * `value`% payload (Repeat).\n */\n export type RepeatCast = \"RepeatCast\";\n /**\n * The single payload becomes `count` pulses at `value`% each, spaced\n * `interval_ms` apart (Pulse). The first pulse is the original cast.\n */\n export type PulseSplit = \"PulseSplit\";\n /**\n * `value`% of the final damage dealt heals the caster (Leech).\n */\n export type LeechPercent = \"LeechPercent\";\n /**\n * The next incoming hit after the cast deals `value`% less damage\n * (Fortify).\n */\n export type GuardNextHit = \"GuardNextHit\";\n /**\n * Incoming damage is reduced by `value`% for `interval_ms` after the cast\n * (Shelter).\n */\n export type IncomingDamageReduction = \"IncomingDamageReduction\";\n /**\n * `+value%` damage for every 10% of the caster\\\'s missing mana. Legacy\n * \\\"\u{41e}\u{442}\u{434}\u{430}\u{447}\u{430}\\\" op.\n */\n export type MissingManaDamagePercent = \"MissingManaDamagePercent\";\n}\n\n/**\n * One operation a support stone performs on the ability it is socketed into.\n *\n * A support carries a SET of these (`Haste` = payload \u{d7}0.80 AND mana \u{d7}1.10 AND\n * cooldown \u{d7}0.75), so the operation kind is per-op, not per-stone. Rank scales\n * the magnitude of each op; it never changes the op set, the Compatibility or\n * the Exclusion Family.\n */\nexport type AbilityStoneOpKind = \"PayloadMult\" | \"ManaCostMult\" | \"CooldownMult\" | \"CastTimeMult\" | \"EffectDurationMult\" | \"CritChanceBonus\" | \"CoverageMult\" | \"ExtraTargets\" | \"Condense\" | \"SplitCopies\" | \"ChainTargets\" | \"PierceTargets\" | \"RepeatCast\" | \"PulseSplit\" | \"LeechPercent\" | \"GuardNextHit\" | \"IncomingDamageReduction\" | \"MissingManaDamagePercent\";"

Source§

const SERIALIZATION_CONFIG: SerializationConfig

Source§

type JsType = JsType

§

fn into_js(&self) -> Result<Self::JsType, Error>
where Self: Serialize,

§

fn from_js<T>(js: T) -> Result<Self, Error>
where T: Into<JsValue>, Self: DeserializeOwned,

Source§

impl Copy for AbilityStoneOpKind

Source§

impl Eq for AbilityStoneOpKind

Source§

impl StructuralPartialEq for AbilityStoneOpKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,