Template:PunisherTable/doc: Difference between revisions

Template page
No edit summary
(rewrite)
 
Line 1: Line 1:
{{Uses Cargo|Special:CargoTables/Move|Special:CargoTables/Punisher}}
{{Uses Cargo|Special:CargoTables/Move|Special:CargoTables/Punisher}}
{{Lua|Module:Move|Module:Move/functions|Module:Move/game}}
{{Lua|Module:Move|Module:Game}}
{{Hatnote|This page is for ''Tekken 8''. For ''Tekken 7'', see [[Template:PunisherTable7]].}}
{{Navbox Cargo}}
{{Hatnote|{{tl|PunisherTable7}} is the same as {{tl|PunisherTable}} but instead reads from [[Special:CargoTables/Move7]] and saves to [[Special:CargoTables/Punisher7]].}}


It displays characters punishers in a table format and also stores them in a cargo table.
This template displays punishers in a table format – fetching move data (e.g. startup and damage) from the database – and stores the punishers in the database to be used by {{tl|PunishmentChart}}.
 
{{Move/doc/related}}


== Usage ==
== Usage ==
Line 11: Line 10:
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{PunisherTable
{{PunisherTable
| char = Bryan
| standing = {{o
| standing = {{o
     |{{o| moveId = Bryan-2,3 }}
     |{{o| moveId = Bryan-2,3 }}
Line 37: Line 37:
== Parameters ==
== Parameters ==


There are 4 types of punishers (Whiff punishers declared in a different table):
* standing
* crouching
* backTurnedOpponent
* groundedOpponent
There is a corresponding parameter for every type. Each takes an {{tl|o}} with 1 or more punishers.


Each punisher is an {{tl|o}} with following parameters:
{| class="wikitable"
! Parameter !! Required !! Description
|-
| <code>char</code>
| {{ya}}
| Name of the character that this is a punisher for.
|-
| <code>standing</code>
|
| rowspan="4" | An {{tl|o}} list of {{tl|o}} objects, with parameters specified in [[#Subparameters]]. Each object is a punisher for this category.
|-
| <code>crouching</code>
|
|-
| <code>backTurnedOpponent</code>
|
|-
| <code>groundedOpponent</code>
|
|}
 
Note that whiff punishers are not defined here but in {{tl|WhiffPunisherTable}}.
 
=== Subparameters ===


{| class="wikitable"
{| class="wikitable"

Latest revision as of 08:22, 6 March 2024

{{PunisherTable7}} is the same as {{PunisherTable}} but instead reads from Special:CargoTables/Move7 and saves to Special:CargoTables/Punisher7.

This template displays punishers in a table format – fetching move data (e.g. startup and damage) from the database – and stores the punishers in the database to be used by {{PunishmentChart}}.

Usage

{{PunisherTable
| char = Bryan
| standing = {{o
    |{{o| moveId = Bryan-2,3 }}
    |{{o| moveId = Bryan-1,4 }}
    |{{o| moveId = Bryan-4,3 }}
    |{{o| moveId = Bryan-df+2,1 }}
    |{{o| moveId = Bryan-f,n,b+2 | staple = 77 }}
    |{{o| moveId = Bryan-b+4 | mini = 50 | wall = 80 }}
    |{{o| moveId = Bryan-f+4,1   | staple = 72 }}
    |{{o| moveId = Bryan-R.b+1+2               | rage = 89 }}
    |{{o| moveId = Bryan-uf,n,4  | staple = 82 }}
  }}
| crouching = {{o
    |{{o| moveId = Generic-hFC.1 }}
    |{{o| moveId = Bryan-ws4 }}
    |{{o| moveId = Bryan-ws3 }}
    |{{o| moveId = Bryan-2,3 | enemy = -12 | input = cc 2,3 | hard = true | frames = +7 | damage = 25 }}
    |{{o| moveId = Bryan-FC.df+2,1 }}
    |{{o| moveId = Bryan-ws1     | staple = 77 }}
    |{{o| moveId = Bryan-ws2,b+2 | staple = 87 }}
    |{{o| moveId = Bryan-uf,n,4  | staple = 82 }}
  }}
}}

Parameters

Parameter Required Description
char ✔︎ Name of the character that this is a punisher for.
standing An {{o}} list of {{o}} objects, with parameters specified in #Subparameters. Each object is a punisher for this category.
crouching
backTurnedOpponent
groundedOpponent

Note that whiff punishers are not defined here but in {{WhiffPunisherTable}}.

Subparameters

Parameter Required Description
moveId ✔︎ Unique id of the move.
mini Max damage of a mini combo, if any.
staple Max damage of a staple combo, if any.
wall Max damage of a wall combo, if any. Should be staple + wall combo (wall hit included), or damage + wall combo, if punisher is a wallsplat.
rage Max damage of a rage combo, if any. Should be combo without a wall.
hard Set to true if punisher can't make full use of the input buffer.
${column} Overrides value of any column:
  • enemy - Overrides minimal enemy disadvantage which can be punished by the punisher. By default it's the punisher's startup.
  • move - Overrides move input.
    • Example: for crouching -13 punish Jin can do 'cc 2,4' for bigger damage and possible wallsplat
  • damage - Overrides move damage.
    • Example: Lidia's uf+4 is a double hit hopkick that deals 10,23 damage - 33 total, but 2nd hit is scaled because it hits airborne.
  • frames - Overrides move advantage on hit.
    • Example: moves with stance transitions have different advantage with and without a transition.
${column}Note Add a note to any of the columns. Notes should be in <ref> tag.

Example

Standing
Enemy Move Damage Frames
-102,324+6
1,421+4
-124,327+2
-13df+2,123+8
-14f,n,b+220 (77)+43a (+33)
-16b+418 (50/80)+15
-18R.b+1+230 (89)+83a
f+4,120 (72)+40a (+32)
-23uf,n,425 (82)+34a (+24)
Crouching
Back-turned opponent
Grounded opponent