10,966
editsAd placeholder
Template:Weapon page: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
== Properties == | == Properties == | ||
{{#if:{{{versatile damage|}}}| | {{#if: {{{versatile damage|}}} | | ||
One-handed damage: | One-handed damage: | ||
}}{{DamageInfo | }}{{DamageInfo | ||
| | | {{{damage}}} | ||
| | | {{{damage type}}} | ||
| modifier = {{#if:{{{finesse|}}}|finesse|{{{melee or ranged}}}}} | | modifier = {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} | ||
}}{{#if:{{{versatile damage|}}}| | }}{{#if: {{{versatile damage|}}} | | ||
Two-handed damage: | Two-handed damage: | ||
{{DamageInfo | {{DamageInfo | ||
| {{{versatile damage}}} | | {{{versatile damage}}} | ||
| | | {{{damage type}}} | ||
| modifier = {{#if:{{{finesse|}}}|finesse|{{{melee or ranged}}}}} | | modifier = {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} | ||
}} | }} | ||
}}{{#if:{{{extra damage|}}}| | }}{{#if: {{{extra damage|}}} | | ||
Extra damage: | Extra damage: | ||
{{DamageInfo | {{DamageInfo <!-- The following isn't used for regular damage because we want to be able to query weapons by damage type. --> | ||
| {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }} | | {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }} | ||
| {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }} | | {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }} |