Template:Brella data S2: Difference between revisions

From Inkipedia, the Splatoon wiki
(Added parameter so the Undercover Brella can show its proper damage.)
('Bullet' to 'shot', slight cleanup.)
Line 20: Line 20:
}}
}}
* When firing while moving, the player's movement speed is set to {{{MoveSpeed}}} units per frame. {{#ifeq: {{{MoveSpeed}}} | {{{MoveSpeedCharge}}} | | While holding the brella open, the player's movement speed is set to {{{MoveSpeedCharge}}} units per frame.}}
* When firing while moving, the player's movement speed is set to {{{MoveSpeed}}} units per frame. {{#ifeq: {{{MoveSpeed}}} | {{{MoveSpeedCharge}}} | | While holding the brella open, the player's movement speed is set to {{{MoveSpeedCharge}}} units per frame.}}
* The {{PAGENAME}} fires {{{CreateSplashNum}}} bullets per attack. Each bullet {{#ifeq: {{{DamageCenterMin}}} | {{{DamageCenterMax}}} | deals {{#expr: {{{DamageCenterMin}}} / 10 }} damage. | can do between {{#expr: {{{DamageCenterMin}}} / 10 }} and {{#expr: {{{DamageCenterMax}}} / 10 }} damage.}} A maximum of {{{DamageEffectiveDiffusionNum}}} bullets per attack will damage the opponent, {{#iferror: {{#expr: {{{DamageEffectiveTotalMax}}} / 10 }} | so the maximum possible damage per attack is {{#expr: {{{DamageEffectiveDiffusionNum}}} * {{{DamageCenterMax}}} / 10 }} | but the maximum possible damage per attack is capped at {{#expr: {{{DamageEffectiveTotalMax}}} / 10 }} }}.<!--
* The {{PAGENAME}} fires {{{CreateSplashNum}}} shots per attack. Each shot {{#ifeq: {{{DamageCenterMin}}} | {{{DamageCenterMax}}} | deals {{#expr: {{{DamageCenterMin}}} / 10 }} damage. | can do between {{#expr: {{{DamageCenterMin}}} / 10 }} and {{#expr: {{{DamageCenterMax}}} / 10 }} damage.}} A maximum of {{{DamageEffectiveDiffusionNum}}} shots per attack will damage the opponent, {{#iferror: {{#expr: {{{DamageEffectiveTotalMax}}} / 10 }} | so the maximum possible damage per attack is {{#expr: {{{DamageEffectiveDiffusionNum}}} * {{{DamageCenterMax}}} / 10 }} | but the maximum possible damage per attack is capped at {{#expr: {{{DamageEffectiveTotalMax}}} / 10 }} }}.<!--
** It could take between {{#expr: ceil( 100 / ( {{{DamageEffectiveDiffusionNum}}} * ( {{{DamageCenterMax}}} / 10 ) ) ) }} and {{#expr: ceil( 100 / ( {{{DamageCenterMin}}} / 10 ) ) }} attacks to splat an opponent, depending on damage falloff and on how many bullets connect with the opponent.-->
** It could take between {{#expr: ceil( 100 / ( {{{DamageEffectiveDiffusionNum}}} * ( {{{DamageCenterMax}}} / 10 ) ) ) }} and {{#expr: ceil( 100 / ( {{{DamageCenterMin}}} / 10 ) ) }} attacks to splat an opponent, depending on damage falloff and on how many shots connect with the opponent.-->
* If a bullet is in the air for more than {{{DamageReduceStartFrame}}} frames after being fired, it loses {{#expr: ( {{{DamageCenterMax}}} / 10 - {{{DamageCenterMin}}} / 10 ) / ( {{{DamageReduceEndFrame}}} - {{{DamageReduceStartFrame}}} ) }} damage per frame until it reaches {{#expr: {{{DamageCenterMin}}} / 10 }} damage at frame {{{DamageReduceEndFrame}}}.
* If a shot is in the air for more than {{{DamageReduceStartFrame}}} frames after being fired, it loses {{#expr: ( {{{DamageCenterMax}}} / 10 - {{{DamageCenterMin}}} / 10 ) / ( {{{DamageReduceEndFrame}}} - {{{DamageReduceStartFrame}}} ) }} damage per frame until it reaches {{#expr: {{{DamageCenterMin}}} / 10 }} damage at frame {{{DamageReduceEndFrame}}}.
* Bullets initially travel at a rate of {{{InitVel}}} units per frame for {{{StraightFrame}}} frames, having an effective range of {{#expr: {{{InitVel}}} * {{{StraightFrame}}} }} units.
* Shots initially travel at a rate of {{{InitVel}}} units per frame for {{{StraightFrame}}} frames, having an effective range of {{#expr: {{{InitVel}}} * {{{StraightFrame}}} }} units.
** After that, the bullet's velocity is set to {{{StraightStateEndSpeed}}} units if the bullet's velocity is not already lower than the listed value, and decreases further as it falls to the ground.
** After that, the shot's velocity is set to {{{StraightStateEndSpeed}}} units if the shot's velocity is not already lower than the listed value, and decreases further as it falls to the ground.


</div></includeonly><noinclude>
</div></includeonly><noinclude>
This template takes [[brella]] weapon parameters as input and generates a list of facts about the weapon.
This template takes [[brella]] weapon parameters as input and generates a list of facts about the weapon.


== Parameters ==
==Parameters==
Most parameters are required.
Most parameters are required.


<pre>{{brella data
<pre>{{brella data
| weight class =  
|weight class =
| CanopyAttackedDamageRate =  
|CanopyAttackedDamageRate =
| CanopyChargeFrame =  
|CanopyChargeFrame =
| CanopyDamage =  
|CanopyDamage =
| CanopyFrame =  
|CanopyFrame =
| CanopyHP =  
|CanopyHP =
| CanopyInitSpeed =  
|CanopyInitSpeed =
| CanopyNakedFrame =  
|CanopyNakedFrame =
| CanopyOpenFrame =  
|CanopyOpenFrame =
| CanopyShotFrame =  
|CanopyShotFrame =
| CanopyShotOn =  
|CanopyShotOn =
| CreateSplashNum =  
|CreateSplashNum =
| DamageCenterMax =  
|DamageCenterMax =
| DamageCenterMin =  
|DamageCenterMin =
| DamageEffectiveDiffusionNum =  
|DamageEffectiveDiffusionNum =
| DamageEffectiveTotalMax =
|DamageEffectiveTotalMax =
| DamageReduceEndFrame =  
|DamageReduceEndFrame =
| DamageReduceStartFrame =  
|DamageReduceStartFrame =
| InitVel =  
|InitVel =
| InkConsume =  
|InkConsume =
| InkConsumeUmbrella =  
|InkConsumeUmbrella =
| InkRecoverStop =  
|InkRecoverStop =
| InkRecoverStopCanopy =  
|InkRecoverStopCanopy =
| InkRecoverStopCharge =  
|InkRecoverStopCharge =
| MoveSpeed =  
|MoveSpeed =
| MoveSpeedCharge =  
|MoveSpeedCharge =
| StraightFrame =  
|StraightFrame =
| StraightStateEndSpeed =  
|StraightStateEndSpeed =
}}</pre>
}}</pre>


=== Notes ===
===Notes===
The <code>weight class</code> parameter must be found manually. It cannot be found in the game's parameter files.
The <code>weight class</code> parameter must be found manually. It cannot be found in the game's parameter files.


== Example ==
==Example==
For the [[Splat Brella]]:
For the [[Splat Brella]]:
{{brella data
{{brella data
| weight class = middle
|weight class = middle
| CanopyAttackedDamageRate = 0.5
|CanopyAttackedDamageRate = 0.5
| CanopyChargeFrame = 12
|CanopyChargeFrame = 12
| CanopyDamage = 300
|CanopyDamage = 300
| CanopyFrame = 300
|CanopyFrame = 300
| CanopyHP = 5000
|CanopyHP = 5000
| CanopyInitSpeed = 1.32
|CanopyInitSpeed = 1.32
| CanopyNakedFrame = 390
|CanopyNakedFrame = 390
| CanopyOpenFrame = 20
|CanopyOpenFrame = 20
| CanopyShotFrame = 90
|CanopyShotFrame = 90
| CanopyShotOn = True
|CanopyShotOn = True
| CreateSplashNum = 6
|CreateSplashNum = 6
| DamageCenterMax = 180
|DamageCenterMax = 180
| DamageCenterMin = 120
|DamageCenterMin = 120
| DamageEffectiveDiffusionNum = 5
|DamageEffectiveDiffusionNum = 5
| DamageReduceEndFrame = 24
|DamageReduceEndFrame = 24
| DamageReduceStartFrame = 8
|DamageReduceStartFrame = 8
| InitVel = 26
|InitVel = 26
| InkConsume = 0.055
|InkConsume = 0.055
| InkConsumeUmbrella = 0.3
|InkConsumeUmbrella = 0.3
| InkRecoverStop = 60
|InkRecoverStop = 60
| InkRecoverStopCanopy = 120
|InkRecoverStopCanopy = 120
| InkRecoverStopCharge = 20
|InkRecoverStopCharge = 20
| MoveSpeed = 0.65
|MoveSpeed = 0.65
| MoveSpeedCharge = 0.55
|MoveSpeedCharge = 0.55
| StraightFrame = 3
|StraightFrame = 3
| StraightStateEndSpeed = 16.52
|StraightStateEndSpeed = 16.52
}}
}}
</noinclude>
</noinclude>

Revision as of 18:06, 6 January 2020

This template takes brella weapon parameters as input and generates a list of facts about the weapon.

Parameters

Most parameters are required.

{{brella data
|weight class =
|CanopyAttackedDamageRate =
|CanopyChargeFrame =
|CanopyDamage =
|CanopyFrame =
|CanopyHP =
|CanopyInitSpeed =
|CanopyNakedFrame =
|CanopyOpenFrame =
|CanopyShotFrame =
|CanopyShotOn =
|CreateSplashNum =
|DamageCenterMax =
|DamageCenterMin =
|DamageEffectiveDiffusionNum =
|DamageEffectiveTotalMax =
|DamageReduceEndFrame =
|DamageReduceStartFrame =
|InitVel =
|InkConsume =
|InkConsumeUmbrella =
|InkRecoverStop =
|InkRecoverStopCanopy =
|InkRecoverStopCharge =
|MoveSpeed =
|MoveSpeedCharge =
|StraightFrame =
|StraightStateEndSpeed =
}}

Notes

The weight class parameter must be found manually. It cannot be found in the game's parameter files.

Example

For the Splat Brella:

Template:Brella data