pub struct OnKill {
pub fires: Option<KillFires>,
pub effects: Vec<QuestEffect>,
}Expand description
What happens each time a body of this fight is killed (spec-0074): the
on_kill of a wave or an actor.
Fields§
§fires: Option<KillFires>Whether a body that comes back pays again. Required where the fight comes
back after the party has met it — a bonfire re-seats it, or the beat that
seats it can fire more than once (DW0915); left off where it does not,
and every-kill there is refused as inert (DW0914). No default: whether
an economy can be farmed is the creator’s judgement.
effects: Vec<QuestEffect>The effects, run as the credited player for each credited kill. Every verb
an on_objective_complete bundle accepts, each gated by its own when.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnKill
impl<'de> Deserialize<'de> for OnKill
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 JsonSchema for OnKill
impl JsonSchema for OnKill
Source§fn schema_id() -> Cow<'static, str>
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
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for OnKill
Auto Trait Implementations§
impl Freeze for OnKill
impl RefUnwindSafe for OnKill
impl Send for OnKill
impl Sync for OnKill
impl Unpin for OnKill
impl UnsafeUnpin for OnKill
impl UnwindSafe for OnKill
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