8,290
edits
m (Water usage chance should be 15 - Tier) |
(Adjust to avoid redundant integer range (4-4)) |
||
Line 31: | Line 31: | ||
== Table == | == Table == | ||
The following weapons can be {{name}}: | The following weapons can be {{name}}: | ||
{{#cargo_query:tables=ItemsTable=IT, GeneralData=GD|join on=IT.JoinKey=GD.JoinKey|fields=CONCAT('{{((}}favilink page {{!}}', IT._pageName, '{{))}}')=Gun | {{#cargo_query:tables=ItemsTable=IT, GeneralData=GD | ||
|join on=IT.JoinKey=GD.JoinKey | |||
|fields=CONCAT('{{((}}favilink page {{!}}', IT._pageName, '{{))}}')=Gun | |||
, GD.Tier=Tier | |||
, Shots=Shots (Base) | |||
, CONCAT(CASE | |||
WHEN Shots+1 >= FLOOR(Shots*1.3) | |||
THEN | |||
CASE | |||
WHEN FLOOR(Shots*1.6) > Shots+1 | |||
THEN CONCAT(Shots+1, '-', FLOOR(Shots*1.6)) | |||
ELSE Shots+1 | |||
END | |||
ELSE | |||
CASE | |||
WHEN FLOOR(Shots*1.6) > FLOOR(Shots*1.3) | |||
THEN CONCAT(FLOOR(Shots*1.3), '-', FLOOR(Shots*1.6)) | |||
ELSE FLOOR(Shots*1.3) | |||
END | |||
END)=Shots (Cooled) | |||
, CONCAT(CASE | |||
WHEN Shots%4 = 0 THEN FLOOR(Shots * 2) | WHEN Shots%4 = 0 THEN FLOOR(Shots * 2) | ||
ELSE 2 * FLOOR(Shots) + (8-(Shots*2)%8) | ELSE 2 * FLOOR(Shots) + (8-(Shots*2)%8) | ||
END) = Volume, CONCAT(15 - GD.Tier,'%') = Water | END) = Volume | ||
, CONCAT(15 - GD.Tier,'%') = Water Usage Chance | |||
|where= Shots > 1 AND Shots = AmmoPerAction AND GD._pageNamespace = 0 | |||
|format = table | |||
|order by=GD.Tier ASC | |||
}} | |||
{{Mod Navbox}} | {{Mod Navbox}} |