User:CanvasK/Sandbox: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(An attempt at a Kazuya-friendly template. I'll restore the hitlag stuff later; didn't want to make a page that will likely get deleted down the line and make a red-link)
Line 1: Line 1:
==Formula==
<noinclude>
The formula for calculating the number of frames of hitlag experienced by both the attacker and victim has been different for most of the games (<code>&lfloor;x&rfloor;</code> means to round down):
{|class="wikitable"
*In ''[[Super Smash Bros.]]'', it is <code>&lfloor;&lfloor;&lfloor;d/3 + 4&rfloor; * e&rfloor; * c&rfloor;</code> (NTSC-J) / <code>&lfloor;&lfloor;&lfloor;d/3 + 5&rfloor; * e&rfloor; * c&rfloor;</code> (International)
</noinclude>|-
*In ''[[Super Smash Bros. Melee]]'', it is <code>&lfloor;&lfloor;&lfloor;d/3 + 3&rfloor; * e&rfloor; * c&rfloor;</code>
{{#switch:{{{angles|1}}}
*In ''[[Super Smash Bros. Brawl]]'' and ''[[Super Smash Bros. 4]]'', it is <code>&lfloor;&lfloor;(d * 0.3846154<!--it is stored as a 0.3846154 multiplier in battle_object.bin; it does not divide by 2.6--> + 5) * h * e&rfloor; * c&rfloor;</code>
|1=
*In ''[[Super Smash Bros. Ultimate]]'', it is <code>&lfloor;[&lfloor;(d * 0.65 + 6) * h * e * s&rfloor; * p] * c&rfloor;</code>
!rowspan={{{ftiltcount|1}}} colspan="2"{{!}}<includeonly>[[/Forward tilt|Forward tilt]]</includeonly><noinclude>/Forward tilt</noinclude>
**When [[spirit]]s are enabled in the [[Rules]] and the above formula exceeds 15 frames (10 when crouch cancelling), it is <code>&lfloor;[&lfloor;&lfloor;(d * 0.65 + 6) * h * e * s&rfloor; * 0.3 + 10.5&rfloor; * p] * c&rfloor;</code><ref group="note">This formula is used even if no spirits are used. In [[Training Mode]], after version {{SSBU|3.0.0}}, this formula is only applied when a spirit is used.</ref>
{{!}}rowspan={{{ftiltcount|1}}}{{!}}{{{ftiltname}}}{{!!}}{{{ftiltdmg}}}{{!!}}rowspan={{{ftiltcount|1}}}{{!}}{{{ftiltdesc}}}
 
|3=
The values correspond to the following (all apply to both the attacker and victim unless stated otherwise):
!rowspan="3"{{!}}<includeonly>[[/Forward tilt|Forward tilt]]</includeonly><noinclude>/Forward tilt</noinclude>{{!!}}↗
*'''d''', the amount of [[damage]] an attack would deal (rounded up in ''Smash 64'')
{{!}}rowspan="3"{{!}}{{{ftiltname}}}{{!!}}{{{ftiltupdmg}}}{{!!}}rowspan="3"{{!}}{{{ftiltdesc}}}
**[[Stale move negation|Stale/fresh]] damage, [[equipment]], spirits, etc. are factored. The [[1v1 multiplier]] and [[shield damage]] are not factored.
{{!}}-
*'''e''', [[electric]] effect; 1.5× (for the victim only in ''Melee'', and for both the attacker and victim in every other game)
!→
*'''c''', [[crouch cancel]]ing; 0.666667× in ''Melee'' and 0.67× in ''Brawl'' onward (for the victim only in every game except ''Ultimate'', where it is applied to both the attacker and victim)
{{!}}{{{ftiltsidedmg|{{{ftiltdmg}}}}}}
*'''h''', hitlag multiplier; defined by every hitbox and defaults to 1×
{{!}}-
**For example, the majority of [[Marth]]'s attacks have a hitlag multiplier of 1.25× if the [[tipper]] connects, and 0.7× otherwise.
!↘
**Some moves are coded to deal no hitlag at all, either by being given a hitlag multiplier of 0× or using a special parameter that disables hitlag when turned on. Examples of such moves are [[Bowser Bomb]] in ''Brawl'' and {{SSB4|Falco}}'s {{b|Reflector|Falco}} in ''Smash 4''.
{{!}}{{{ftiltdowndmg}}}
***In ''Brawl'' and ''Smash 4'' prior to version [[1.1.0]], [[shield]]ing opponents were not affected by these hitlag multipliers; therefore, moves with below-average multipliers were safer on shield, while those with above-average multipliers were less safe, as the attacker experienced less or more hitlag (respectively) than the shield user. Beginning in version 1.1.0 of ''Smash 4'', shields are properly affected by hitlag multipliers, therefore removing the difference in shield safety caused by them.
|5=
****In ''Smash 4'', starting in version 1.1.0, if the hitlag multiplier of a move is higher than 1×, it is multiplied by 0.8× if it hits a shield, though without dropping below 1×. For example, the 1.25× hitlag multiplier of Marth's tippers is reduced to 1× if they are shielded. This applies only to the attacker in 1.1.0, and to both the attacker and victim from [[1.1.1]] onward. As a result, in the former case, moves with above-average hitlag are effectively safer on shield, while in the latter case, shielding them merely reduces the usual hitlag period.
!rowspan="5"{{!}}<includeonly>[ [/Forward tilt|Forward tilt]]</includeonly><noinclude>/Forward tilt</noinclude>{{!!}}↑
*'''s''', shielding; 0.67×
{{!}}rowspan="5"{{!}}{{{ftiltname}}}{{!!}}{{{ftiltupdmg}}}{{!!}}rowspan="5"{{!}}{{{ftiltdesc}}}
**Hitlag multipliers less than 1× are ignored if shielding. This is especially noticeable for moves such as {{SSBU|Cloud}}'s [[Limit Break|Limit]] [[Cross Slash]], which normally uses a hitlag multiplier of 0.3× for its linking hits; the move's hits transition considerably slower if it hits a shield.
{{!}}-
*'''p''', based on player count:
!↗
:{|class="wikitable"
{{!}}{{{ftiltmidupdmg}}}
!Players||style="width:4em"|2||style="width:4em"|3||style="width:4em"|4||style="width:4em"|5||style="width:4em"|6||style="width:4em"|7||style="width:4em"|8
{{!}}-
!→
{{!}}{{{ftiltsidedmg|{{{ftiltdmg}}}}}}
{{!}}-
!↘
{{!}}{{{ftiltmiddowndmg}}}
{{!}}-
!↓
{{!}}{{{ftiltdowndmg}}}
|#default=
{{!}}colspan="5"{{!}}<span class="error">Invalid number of f-tilt angles entered.</span>
}}
|-
{{#ifexpr:{{{ftiltcount|1}}}>=2|
{{!}}{{{ftilt2dmg}}}}}
{{!}}-
{{#ifexpr:{{{ftiltcount|1}}}>=3|
{{!}}{{{ftilt3dmg}}}}}
|-
!colspan="2"|<includeonly>[[/Up tilt|Up tilt]]</includeonly><noinclude>/Up tilt</noinclude>
|{{{utiltname}}}||{{{utiltdmg}}}||{{{utiltdesc}}}
|-
!rowspan={{{dtiltcount|1}}} colspan="2"|<includeonly>[[/Down tilt|Down tilt]]</includeonly><noinclude>/Down tilt</noinclude>
|rowspan={{{dtiltcount|1}}}|{{{dtiltname}}}||{{{dtiltdmg}}}||rowspan={{{dtiltcount|1}}}|{{{dtiltdesc}}}
|-
{{#ifexpr:{{{dtiltcount|1}}}>=2|
{{!}}{{{dtilt2dmg}}}}}
|-
|-
!''Ultimate''
!colspan="2"|<includeonly>[[/Dash attack|Dash attack]]</includeonly><noinclude>/Dash attack</noinclude>
|1.0
|{{{dashname}}}||{{{dashdmg}}}||{{{dashdesc}}}<!--
|0.925
|0.862
|0.8116
|0.77464
|0.752464
|0.75
|}


As shown by the formulas, the general amount of hitlag on moves is at its lowest in ''Melee'', and has since increased throughout the series, with ''Ultimate'' having the most hitlag. In all games, hitlag is higher the more damage a move deals. For example, weak attacks such as [[Mario]]'s [[jab]] have minimal hitlag, but the hitlag of strong or {{b|sweetspot|hitbox}}ed attacks can last much longer; up to a maximum of 20 frames in ''Melee'', and 30 frames (20 for the victim if crouch cancelling) from ''Brawl'' onward. In addition, ''Brawl'' introduced the mechanic of hitlag modifiers, causing variance in the hitlag duration of attacks; this is in contrast to ''Melee'' and ''Smash 64'', where the duration of hitlag was predictable.


Hitlag only affects the object that deals the damage; all other game elements (including, interestingly enough, any particle effects the attack generated) are uninterrupted. For example, both [[Captain Falcon]] and his opponent sustain hitlag upon a sweetspotted [[Knee Smash]], while [[Samus]]' movement is not interrupted by a [[Charge Shot]] hitting someone, since it is a projectile not attached to her. Hitlag affects the attacker as long as the attack connects, even if it deals no damage as a result of hitting opponents with [[invincibility]]. Hitlag is also exaggerated if two attacks clash, or if an attack is [[perfect shield]]ed; in the latter case, the attacker suffers from hitlag while the defender receives none. Additionally, if an attack deals no knockback, the target does not experience any hitlag.
-->
{{#loop:et
|1
|{{{extratiltcount|}}}
|<nowiki/>
{{!}}-
!colspan="2" rowspan="{{{extratilt{{#var:et}}count|1}}}"{{!}}<includeonly>[[/{{{extratilt{{#var:et}}link|}}}|{{{extratilt{{#var:et}}link|}}}]]</includeonly>
{{!}}rowspan="{{{extratilt{{#var:et}}count|1}}}"{{!}}{{{extratilt{{#var:et}}name }}}<!--
-->{{!!}}{{{extratilt{{#var:et}}damage|{{{extratilt{{#var:et}}damage1| }}} }}}<!--
-->{{!!}}rowspan="{{{extratilt{{#var:et}}count|1}}}"{{!}}{{{extratilt{{#var:et}}desc }}}
{{#ifexpr:{{{extratilt{{#var:et}}count|1}}}>=2|
{{#loop: c
|2
|{{#expr:{{{extratilt{{#var:et}}count}}}-1}}
|<nowiki/>
{{!}}-
{{!}}{{{extratilt{{#var:et}}damage{{#var:c}}}}}}}
}}
}}<!--
{{#forargs:extratiltlink|key|value|
{{!}}-
!colspan="2" rowspan="{{{extratiltcount{{#var:key}}|1}}}"{{!}}<includeonly>[[/{{{extratiltlink{{#var:key}}|}}}|{{{extratiltlink{{#var:key}}|}}}]]</includeonly>
{{!}}{{{extratiltname{{#var:key}} }}}{{!!}}{{{extratiltdamage{{#var:key}} }}}{{!!}}{{{extratiltdesc{{#var:key}} }}}
{{#ifexpr:{{{extratiltcount{{#var:key}}|1}}}>=2|
{{#loop: c
|1
|extratiltcount{{#var:key}}
|<nowiki/>
{{!}}-
{{!}}{{{extratiltdamage}}}}}
}}
}}--><noinclude>
|}


Attacks with the [[electric]] effect are unique in that they increase the amount of hitlag, multiplying the number of frames by 1.5 (rounded down), which stacks with the hitlag multiplier that the move otherwise has (for example, an electric attack with a hitlag multiplier of 1.2 deals 1.8 times the amount of hitlag). Interestingly, in ''Smash 4'' if a character is hit by an electric attack from another, and either character is affected by slowdown (such as the [[Timer]] item), then the target receives additional hitlag, while the attacker does not. This phenomenon does not occur with non-electric attacks, even those that have a hitlag multiplier.
{|class="wikitable"
|-
!colspan="2"|&nbsp;!!Name!!Damage!!Description
{{User:CanvasK/Sandbox
|extratiltcount=2
|extratilt1link=Up-forward tilt
|extratilt1name=Roundhouse to Triple Spin Kicks
|extratilt1count=4
|extratilt1damage=10
|extratilt1damage2=11
|extratilt1damage3=12
|extratilt1damage4=13
|extratilt1desc=test


===Notes===
|extratilt2link=Up-back tilt
<references group="note"/>
|extratilt2name=Jump Side Kick
|extratilt2damage=10
|extratilt2desc=test
}}

Revision as of 18:21, June 29, 2021

/Forward tilt {{{ftiltname}}} {{{ftiltdmg}}} {{{ftiltdesc}}}
/Up tilt {{{utiltname}}} {{{utiltdmg}}} {{{utiltdesc}}}
/Down tilt {{{dtiltname}}} {{{dtiltdmg}}} {{{dtiltdesc}}}
/Dash attack {{{dashname}}} {{{dashdmg}}} {{{dashdesc}}}
  Name Damage Description
Forward tilt {{{ftiltname}}} {{{ftiltdmg}}} {{{ftiltdesc}}}
Up tilt {{{utiltname}}} {{{utiltdmg}}} {{{utiltdesc}}}
Down tilt {{{dtiltname}}} {{{dtiltdmg}}} {{{dtiltdesc}}}
Dash attack {{{dashname}}} {{{dashdmg}}} {{{dashdesc}}}

Up-forward tilt Roundhouse to Triple Spin Kicks 10 test

11
12
13
Up-back tilt Jump Side Kick 10 test