Function touch_enemy

Source
pub fn touch_enemy(
    rng: &GameRng,
    lookups: &ContentLookups,
    target: &Entity,
) -> bool
Expand description

Native: returns whether target is touched (i.e. did NOT evade). Balance v2: dodge probability follows the DR curve ev/(ev+K_DODGE) (asymptote < 100%, no 100%-dodge cliff). Attribute-balance track: the dodge OUTCOME is resolved through the entropy accumulator, not an independent roll — a 20% dodge evades exactly every 5th incoming touch, never streaks (the variance compensation that makes evasion safe to grant as a live stat).