pub struct SupportAttackCtx<'a> {
pub rng: &'a GameRng,
pub lookups: &'a ContentLookups,
pub fight: &'a ActiveFight,
pub player_id: Uuid,
pub caster: &'a Entity,
pub mods: &'a AbilityStoneMods,
pub source: CombatSource,
}Expand description
Everything the attack seam needs to expand one ability hit into the shape the socketed supports describe.
Fields§
§rng: &'a GameRng§lookups: &'a ContentLookups§fight: &'a ActiveFight§player_id: Uuid§caster: &'a Entity§mods: &'a AbilityStoneMods§source: CombatSourceBreakdown attribution of the PRIMARY hit. Shape copies and the Leech
heal are attributed to its derived form
(CombatSource::derived) — a support’s extra hits are a support’s
output, not a second cast of the skill.
Auto Trait Implementations§
impl<'a> Freeze for SupportAttackCtx<'a>
impl<'a> RefUnwindSafe for SupportAttackCtx<'a>
impl<'a> Send for SupportAttackCtx<'a>
impl<'a> Sync for SupportAttackCtx<'a>
impl<'a> Unpin for SupportAttackCtx<'a>
impl<'a> UnwindSafe for SupportAttackCtx<'a>
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].