Template:Shooter data S2: Difference between revisions
From Inkipedia, the Splatoon wiki
(made a parameter optional) |
(Add exception for weapons that do not have damage falloff (blasters)) |
||
Line 36: | Line 36: | ||
}}{{#if: {{{DamageReduceStartFrame|}}} | | }}{{#if: {{{DamageReduceStartFrame|}}} | | ||
{{#ifeq: {{{DamageReduceStartFrame|}}} | -1 | | | |||
* If a shot is in the air for more than {{{DamageReduceStartFrame}}} frames after being fired, it loses {{#expr: ( {{{DamageMax}}} - {{{DamageMin}}} ) / ( {{{DamageReduceEndFrame}}} - {{{DamageReduceStartFrame}}} ) / 10 }} damage per frame until it reaches {{#expr: {{{DamageMin}}} / 10 }} damage at frame {{{DamageReduceEndFrame}}}. | * If a shot is in the air for more than {{{DamageReduceStartFrame}}} frames after being fired, it loses {{#expr: ( {{{DamageMax}}} - {{{DamageMin}}} ) / ( {{{DamageReduceEndFrame}}} - {{{DamageReduceStartFrame}}} ) / 10 }} damage per frame until it reaches {{#expr: {{{DamageMin}}} / 10 }} damage at frame {{{DamageReduceEndFrame}}}. | ||
}}{{#if: {{{ColRadius|}}} | | }}}}{{#if: {{{ColRadius|}}} | | ||
* Shots have a radius of {{{ColRadius}}} units. | * Shots have a radius of {{{ColRadius}}} units. | ||
Revision as of 05:50, 2 August 2020
This template will do most of the work when making data sections for shooters.
Parameters
Nearly all of these parameters are optional.
{{shooter data |weight class = |InkConsume = |InkMagazineRatio = |VariableShotFrame = |initial fire kid = |initial fire squid = |RepeatFrame = |TripleShotSpan = |MoveSpeed = |InkRecoverStop = |DamageReduceStartFrame = |DamageMin = |DamageReduceEndFrame = |ColRadius = |DegRandom = |DegJumpRandom = |DegJumpBiasStartFrame = |DegJumpBiasFrame = |DegBiasMin = |DegBiasKf = |DegBias = |DegJumpBias = |DegBiasDecrease = |InitVel = |StraightFrame = |StraightStateEndSpeed = |CreateSplashLength = |CreateSplashNum = |SplashSplitNum = |PaintNearDistance = |PaintNearRadius = |NearestSplahSplitLength = |NearestSplashMaxScaleClamp = |SplashMinScaleHighest = |NearestSplashPaintRadiusTimes = |SplashMaxScaleHighest = |PaintFarDistance = |PaintFarRadius = |SplashPaintRadius = |SplashMinScaleClamp = |SplashMaxScaleClamp = |ForceDropNearestSplashAddNum = |paint feet ensure notes = }}
Notes
weight class
, initial fire kid
, and initial fire squid
are manually measured. They cannot be found in the game's parameter files.
Example
This example is for the L-3 Nozzlenose in Splatoon 2. Template:Shooter data