Editing Template:Melee Weapons Table Row
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
-->{{#vardefine:hasQuality | {{Q|{{#var:weaponMWT}}|Has Quality}} }}<!-- | -->{{#vardefine:hasQuality | {{Q|{{#var:weaponMWT}}|Has Quality}} }}<!-- | ||
-->{{#vardefine:material | {{{material|}}} }}<!-- | -->{{#vardefine:material | {{{material|}}} }}<!-- | ||
− | + | -->{{#vardefine:bodyPart | {{Q|{{#var:weaponMWT}}|Body Part}} }}<!-- the body part that gets replaced if the weapon is an artificial body part | |
− | -->{{#vardefine:bodyPart | ||
-->{{#vardefine:normalDPS | {{True Melee DPS Calculator <!-- Decide whether a body part is replaced --> | -->{{#vardefine:normalDPS | {{True Melee DPS Calculator <!-- Decide whether a body part is replaced --> | ||
− | | {{#if: | + | | {{#if: {{#var:bodyPart}}||{{#var:weaponMWT}} }} <!-- Weapon --> |
| {{#var:material}} <!-- Material --> | | {{#var:material}} <!-- Material --> | ||
| Normal <!-- Quality --> | | Normal <!-- Quality --> | ||
| Human <!-- Pawn --> | | Human <!-- Pawn --> | ||
− | | {{#switch: {{#var:bodyPart}} | Hand | + | | {{#switch: {{#var:bodyPart}} | Hand | Shoulder = {{#var:weaponMWT}} }} <!-- Body parts that replace the left fist attack --> |
| <!-- Body parts that replace the right fist attack --> | | <!-- Body parts that replace the right fist attack --> | ||
− | | <!-- Body parts that replace the teeth attack --> | + | | {{#ifeq: {{#var:bodyPart}} | Teeth | {{#var:weaponMWT}} }} <!-- Body parts that replace the teeth attack --> |
| <!-- Body parts that replace the head attack --> | | <!-- Body parts that replace the head attack --> | ||
− | | {{# | + | | {{#switch: {{#var:bodyPart}} | Arm | Leg = {{#var:weaponMWT}} }} <!-- Body parts that add an extra attack --> |
}} }}<!-- | }} }}<!-- | ||
-->{{#vardefine:normalAP | {{#var:trueAP}} }}<!-- used as default sort value | -->{{#vardefine:normalAP | {{#var:trueAP}} }}<!-- used as default sort value |