pub enum FinalHitRider {
None,
OnFinal {
chance: Rational,
ops: Vec<Op>,
},
}Expand description
What Op::RepeatHits does AFTER the final hit lands (Twineedle’s
final-hit-only poison, blueprint 15 §2). None ⇒ a plain multi-hit (Double
Kick / Fury Attack). InflictOnFinal ⇒ on the LAST hit only, draw ONE
chance byte and (if it passes the gate) apply the named status to the target —
the Twineedle 20%+1 (52/256) poison at the legacy side_effect ordinal. The
guards (poison-type immunity, Substitute block) are authored as the SAME
VetoIf ops a side-status move uses, evaluated game-side by the interpreter.
Variants§
None
No final-hit secondary.
OnFinal
On the final hit only: draw the chance byte, then (if it passes) run the
rider ops (VetoIf guards + InflictStatus) exactly like a side-status
hook. chance is [num, den]; the byte is drawn UNCONDITIONALLY of whether
the secondary fires (the consumed() invariant).
Trait Implementations§
Source§impl Clone for FinalHitRider
impl Clone for FinalHitRider
Source§fn clone(&self) -> FinalHitRider
fn clone(&self) -> FinalHitRider
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more