Difference between revisions of "User:LingoSalad/damage"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 32: Line 32:
 
* '''[[Mini-Crit]]''': {{#expr:{{User:LingoSalad/damage/base}} * 1.35}} per hit
 
* '''[[Mini-Crit]]''': {{#expr:{{User:LingoSalad/damage/base}} * 1.35}} per hit
  
{{#if:{{BASEPAGENAME}}|Sandman|* Baseball: 15
+
{{#ifeq:{{BASEPAGENAME}}|Sandman|* Baseball: 15
 
** Mini-Crit: 20
 
** Mini-Crit: 20
 
** Critical Hit: 45| }}
 
** Critical Hit: 45| }}
{{#if:{{BASEPAGENAME}}|Homewrecker|* Damage vs. [[Buildings]]: 130|}}
+
{{#ifeq:{{BASEPAGENAME}}|Homewrecker|* Damage vs. [[Buildings]]: 130|}}
{{#if:{{BASEPAGENAME}}|Ullapool Caber}|
+
{{#ifeq:{{BASEPAGENAME}}|Ullapool Caber|
 
Explosion:  
 
Explosion:  
 
* Base: 149
 
* Base: 149

Revision as of 18:41, 21 February 2011

See also: Damage


Documentation for LingoSalad/damage


Place {{damage}} into a weapon's page to include its damage info. It will use {{BASEPAGENAME}} to detect what info to place.

If you want to test it, insert {{User:LingoSalad/damage}} and use Show Preview (don't save, of course!) it is currently functional on: Scattergun, Force-A-Nature, Shortstop, Bat, Flamethrower, Backburner, Degreaser - to name a few