Shieldstun: Difference between revisions

170 bytes added ,  2 years ago
Line 14: Line 14:
In ''Melee'', shieldstun duration in general was reduced. A large difference from other ''Smash'' games is the introduction of analog shielding. The analog shield level used when blocking affects shieldstun: the lighter the shield, the more shieldstun the blocker suffers. The formula for shieldstun frames in ''Melee'' is <code>200 / 201 * (((d * (a + 0.3)) * 1.5) + 2)</code> rounded down, where the values correspond to the following:
In ''Melee'', shieldstun duration in general was reduced. A large difference from other ''Smash'' games is the introduction of analog shielding. The analog shield level used when blocking affects shieldstun: the lighter the shield, the more shieldstun the blocker suffers. The formula for shieldstun frames in ''Melee'' is <code>200 / 201 * (((d * (a + 0.3)) * 1.5) + 2)</code> rounded down, where the values correspond to the following:
*'''d''' is the amount of [[damage]] the attack would deal if not shielded, rounded down.
*'''d''' is the amount of [[damage]] the attack would deal if not shielded, rounded down.
*'''a''' is <code>0.65 * (1 - ((s - 0.3) / 0.7))</code>, where '''s''' describes the analog shield level used. A fully depressed trigger corresponds to <code>s = 1.0</code>, while the lightest possible analog press that still yields shield corresponds to <code>s = 0.30714</code>.<ref>https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-28#post-20577303</ref>
*'''a''' is <code>0.65 * (1 - ((s - 0.3) / 0.7))</code>, where '''s''' describes the analog shield level used, and is equal to <code>n / 140</code>, with '''n''' ranging between 43 and 140 depending on how much the shield button is pressed.<ref>https://smashboards.com/threads/official-ask-anyone-frame-things-thread.313889/page-28#post-20577303</ref> As a result, '''s''' can be as low as 0.30714 with the lightest possible shield, and caps at 1 with a full shield. Shielding with the Z button corresponds to <code>s = 0.35</code>, or <code>n = 49/140</code>.
**The general formula can be approximately simplified to <code>d * 0.45 + 2</code> for a full press, and <code>d * 1.925 + 2</code> for the lightest press, resulting in a significant difference. For example, an attack that deals 13% damage will inflict 7 frames of shieldstun with a full shield, and 27 frames with the lightest possible shield.
**The general formula can be approximately simplified to <code>d * 0.45 + 2</code> for a full press, and <code>d * 1.925 + 2</code> for the lightest press, resulting in a significant difference. For example, an attack that deals 13% damage will inflict 7 frames of shieldstun with a full shield, and 27 frames with the lightest possible shield.