Difference between revisions of "Template:Weapon"
*>Karuberu (easier alternate dps/tp calculations / fixed formatting issues / support for ammo / support for ability items (pet food, oil, etc) / added examples to usage) |
*>Karuberu m (forgot to enclose some *s in nowiki tags) |
||
Line 25: | Line 25: | ||
{{#if:{{{charges|}}}|{{!}}colspan="2" align="right" style="padding: 0px 0px 0px 20px; margin: 0px"{{!}}<includeonly>{{EnchantmentDetails|{{{charges}}}|{{{use delay}}}|{{{recast}}}}}</includeonly>|}} | {{#if:{{{charges|}}}|{{!}}colspan="2" align="right" style="padding: 0px 0px 0px 20px; margin: 0px"{{!}}<includeonly>{{EnchantmentDetails|{{{charges}}}|{{{use delay}}}|{{{recast}}}}}</includeonly>|}} | ||
|}<!-- | |}<!-- | ||
− | -->{{#if:{{{damage|}}}|<br style="line-height:1.1em"/>'''Damage Per Second:''' {{Weapon Calculation|dps|{{{damage}}}|{{{delay}}}|type={{{type}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|*}}{{#if:{{{alternate dps|}}}{{{alternate damage|}}}{{{alternate delay|}}}|<nowiki/> / {{#if:{{{alternate dps|}}}|{{{alternate dps}}}|{{Weapon Calculation|dps|{{{alternate damage|{{{damage}}}}}}|{{{alternate delay|{{{delay}}}}}}|type={{{type}}}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|*}}}}<br><!-- | + | -->{{#if:{{{damage|}}}|<br style="line-height:1.1em"/>'''Damage Per Second:''' {{Weapon Calculation|dps|{{{damage}}}|{{{delay}}}|type={{{type}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|<nowiki>*</nowiki>}}{{#if:{{{alternate dps|}}}{{{alternate damage|}}}{{{alternate delay|}}}|<nowiki/> / {{#if:{{{alternate dps|}}}|{{{alternate dps}}}|{{Weapon Calculation|dps|{{{alternate damage|{{{damage}}}}}}|{{{alternate delay|{{{delay}}}}}}|type={{{type}}}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|<nowiki>*</nowiki>}}}}<br><!-- |
− | -->'''TP Per Hit:''' {{Weapon Calculation|tp per hit|{{{delay}}}|type={{{type}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|*}}{{#if:{{{alternate tp|}}}{{{alternate delay|}}}|<nowiki/> / {{#if:{{{alternate tp|}}}|{{{alternate tp}}}|{{Weapon Calculation|tp per hit|{{{alternate delay|{{{delay}}}}}}|type={{{type}}}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|*}}}}<br><!-- | + | -->'''TP Per Hit:''' {{Weapon Calculation|tp per hit|{{{delay}}}|type={{{type}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|<nowiki>*</nowiki>}}{{#if:{{{alternate tp|}}}{{{alternate delay|}}}|<nowiki/> / {{#if:{{{alternate tp|}}}|{{{alternate tp}}}|{{Weapon Calculation|tp per hit|{{{alternate delay|{{{delay}}}}}}|type={{{type}}}}}}}{{#ifeq:{{lc:{{{type|}}}}}|hand-to-hand|<nowiki>*</nowiki>}}}}<br><!-- |
-->{{#ifeq:{{lc:{{{type}}}}}|hand-to-hand|<small>*Base delay for Hand-to-Hand is assumed to be 480.</small>}}|}}<!-- | -->{{#ifeq:{{lc:{{{type}}}}}|hand-to-hand|<small>*Base delay for Hand-to-Hand is assumed to be 480.</small>}}|}}<!-- | ||
-->{{#if:{{{stackable|}}}|{{#if:{{{damage|}}}|<br>|<br style="line-height:1.1em"/>}}'''Stackable:''' {{#switch:{{lc:{{{stackable|}}}}}|1 = ''Not Stackable''|not stackable = ''Not Stackable''|#default = {{{stackable}}}}}<br>|}}<!-- | -->{{#if:{{{stackable|}}}|{{#if:{{{damage|}}}|<br>|<br style="line-height:1.1em"/>}}'''Stackable:''' {{#switch:{{lc:{{{stackable|}}}}}|1 = ''Not Stackable''|not stackable = ''Not Stackable''|#default = {{{stackable}}}}}<br>|}}<!-- |
Revision as of 05:42, 24 February 2015
Weapon | |
All Races |
Usage
{{Weapon | name = | tags = | type = | races = | description = | damage = | delay = | stats = | level = | jobs = | item level = | charges = | use delay = | recast = | stackable = | alternate damage = | alternate delay = | evolith 1 = | evolith 2 = | evolith 3 = | ability activated = | ability effects = | image = | image caption = | image size = }}
- name: The full name of the item, as shown on the item in-game. If this parameter isn't set, the page's name is displayed.
- tags: {{Rare}}, {{Exclusive}}, {{Augment}}, and/or {{Temp}}
- type: The type of the weapon, such as Sword, Club, Wind Instrument, or Grip.
- races: The races that can use this weapon. If this parameter isn't set, it defaults to All Races.
- description: The description given on the item in-game.
- damage: The damage of the weapon. Only enter numeric values for this parameter (12, +4, etc.).
- delay: The delay of the weapon. Only enter numeric values for this parameter (180, +60, etc.).
- stats: Any additional stats this weapon has, as shown on the item in-game.
- level: The level of the weapon.
- jobs: The jobs that can use this weapon. The jobs should be listed all on one line with breaks (<br>) to create new lines where needed. See the talk page for examples.
- item level: The Item Level which has been introduced with Adoulin expansion describes the weapons relative level. Omit if unsed.
- charges: The number of charges the weapon has, if any. Omit if unused.
- use delay: How long it takes to consume a charge on this weapon. Omit if the weapon has no charges.
- recast: The amount of time that needs to pass before another charge on this weapon can be consumed. Omit if the weapon has no charges.
- stackable: The maximum stack size of this item (1, 12, 99) or "Not Stackable." Only used for ammunition; omit if unused.
- alternate damage: An alternative damage for this weapon. Used to calculate an alternate DPS (damage per second). Used when items have a triggered effect that modifies the base damage of the weapon. Omit if unused.
- alternate delay: An alternative delay for this weapon. Used when items have a triggered effect that modifies the base delay of the weapon. Used to calculate an alternate DPS and TP per hit. Omit if unused.
- evolith 1, evolith 2, evolith 3: The evolith slots of the weapon (see {{Evolith}}). Omit if unused.
- ability activated: The ability that consumes this type of weapon, such as pet food or automaton oil. Omit if unused.
- ability effects: The effects gained when this item is consumed by an ability (see {{Effect}}). Omit if unused.
- image: An image of the weapon when equipped. Only use on items that have a unique model. Omit if unused.
- image caption: Sets a caption for the image. Omit if unused.
- image size: Sets the size of the image. Omit if unused.
Examples
Code | Result | ||||||
---|---|---|---|---|---|---|---|
{{Weapon | name = Maple harp | type = String Instrument | level = 1 | jobs = [[BRD]] }} |
| ||||||
{{Weapon | name = Happy egg | tags = {{Rare}}{{Exclusive}} | type = Ammo | stats = '''[[HP]]''' +1% '''[[VIT]]''' +1 | level = 1 }} |
| ||||||
{{Weapon | name = Sweet sachet | tags = {{Rare}}{{Exclusive}} | type = Ammunition | races = Tarutaru | stats = '''[[INT]]''' +2 | level = 30 }} |
| ||||||
{{Weapon | name = Balm sachet | tags = {{Rare}}{{Exclusive}} | type = Ammunition | races = Hume Male | stats = '''[[STR]]''' +1 '''[[INT]]''' +1 | level = 30 }} |
| ||||||
{{Weapon | name = Wooden katana | tags = {{Rare}}{{Exclusive}} | type = Great Katana | damage = 1 | delay = 450 | level = 1 }} |
Damage Per Second: 0.13 TP Per Hit: 115 | ||||||
{{Weapon | name = Claws | type = Hand-to-Hand | damage = +7 | delay = +66 | level = 30 | jobs = [[WAR]] / [[MNK]] / [[DRK]] / [[BST]] / [[NIN]] / [[PUP]] }} |
Damage Per Second: +1.54* TP Per Hit: +4* *Base delay for Hand-to-Hand is assumed to be 480. | ||||||
{{Weapon | name = Warp cudgel | type = Club | damage = 15 | delay = 264 | stats = <br>'''{{Enchantment}}: "[[Warp]]"''' | level = 36 | charges = 30 | use delay = 0:10 | recast = 0:01:00 }} |
Damage Per Second: 3.41 TP Per Hit: 70 | ||||||
{{Weapon | name = Battle bow | type = Archery | damage = 54 | delay = 540 | level = 40 | jobs = [[WAR]] / [[PLD]] / [[DRK]] / [[RNG]] / [[SAM]] | evolith 1 = {{Evolith|Light|Filled Diamond|3}} }} |
Damage Per Second: 6 TP Per Hit: 145
| ||||||
{{Weapon | name = Nadrs | tags = {{Rare}}{{Exclusive}} | type = Sword | damage = 18 | delay = 236 | stats = {{Resist|Water|+3}}<br>{{Additional Effect|Poison}} | level = 24 | jobs = [[WAR]] / [[THF]] / [[DRK]] / [[SAM]] / [[BLU]] | image = Nadrs-candid.PNG | image size = 80px }} |
Damage Per Second: 4.58 TP Per Hit: 63 | ||||||
{{Weapon | name = Eminent crossbow | tags = {{Rare}}{{Exclusive}} | type = Marksmanship | damage = 88 | delay = 288 | stats = <br>'''[[Marksmanship|Marksmanship skill]]''' +215<br> '''[[Latent effect]]:''' '''DMG:'''93<br> '''[[Ranged Accuracy]]'''+15 '''[[Ranged Attack]]'''+10 | level = 99 | jobs = [[RNG]] | item level = 117 | alternate dps = 19.38 }} |
Damage Per Second: 18.33 / 19.38 TP Per Hit: 76 | ||||||
{{Weapon | name = Pet Food Zeta biscuit | type = Pet Item | description = A biscuit created by the legendary<br> beastmaster [[Choh Moui|Moui]].<br> It contains all the nutrients a beast<br> needs for a healthy diet. | level = 72 | stackable = 12 | ability activated = Reward | ability effects = *{{Effect|Positive|Hit Points|display = Instantly restores ~900 HP}} *{{Effect|Positive|Regen (Status Effect)|display = Regen effect}} }} |
Stackable: 12 Reward Effects: (Charmed or Called pets only) |