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