From Dark and Darker Wiki
m (Changing Template to use calls that work with Weapon Data.) |
(Changing to python-esque whitespace formatting. Changed if then else structure more efficiently handle artifacts.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:rarities|{{Weapon Data|{{{1}}}|rarities}}}}<!-- | <includeonly><!-- | ||
-->{{#vardefine:rarities|{{Weapon Data|{{{1}}}|rarities}}}}<!-- | |||
-->|{{Tabs | -->{{#if:{{#pos:{{#var:rarities}}|,}}<!-- | ||
-->|{{Tabs<!-- | |||
-->|firstShownTier={{#expr:{{#explode:{{#var:rarities}}|,|0|2}}+1}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|0}}}} | -->|content1 =<!-- | ||
-->{{#if:{{#pos:{{#var:rarities}}|0}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|1}}}} | -->|{{GenerateWeaponInfobox|{{{1}}}|0}}}}<!-- | ||
-->|content2 =<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|2}}}} | -->{{#if:{{#pos:{{#var:rarities}}|1}}<!-- | ||
-->|{{GenerateWeaponInfobox|{{{1}}}|1}}}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|3}}}} | -->|content3 =<!-- | ||
-->{{#if:{{#pos:{{#var:rarities}}|2}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|4}}}} | -->|{{GenerateWeaponInfobox|{{{1}}}|2}}}}<!-- | ||
-->|content4 =<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|5}}}} | -->{{#if:{{#pos:{{#var:rarities}}|3}}<!-- | ||
-->|{{GenerateWeaponInfobox|{{{1}}}|3}}}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|6}}}} | -->|content5 =<!-- | ||
-->{{#if:{{#pos:{{#var:rarities}}|4}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|4}}}}<!-- | |||
-->|content6 =<!-- | |||
-->{{#if:{{#pos:{{#var:rarities}}|5}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|5}}}}<!-- | |||
-->|content7 =<!-- | |||
-->{{#if:{{#pos:{{#var:rarities}}|6}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|6}}}}<!-- | |||
-->|content8 =<!-- | |||
-->{{#if:{{#pos:{{#var:rarities}}|7}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{{1}}}|7}}}}<!-- | -->|{{GenerateWeaponInfobox|{{{1}}}|7}}}}<!-- | ||
-->|{{#if:{{Weapon Data|{{{1}}}|artifactname}}<!-- | |||
-->|{{GenerateWeaponInfobox|{{Weapon Data|{{{1}}}|artifactname}}|7}}}}}}<!-- | |||
}}<!-- | -->|<div class="cardtabs" data-cardtabs><!-- | ||
-->|<div class="cardtabs" data-cardtabs>{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}</includeonly><noinclude> | -->{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}<!-- | ||
--></includeonly><noinclude> | |||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
<th>Code</th> | <th>Code</th> | ||
<th>Preview</th> | <th>Preview</th></tr> | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
<pre>{{GenerateWeaponTabs|Arming Sword}}</pre> | <pre>{{GenerateWeaponTabs|Arming Sword}}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
{{GenerateWeaponTabs|Arming Sword}} | {{GenerateWeaponTabs|Arming Sword}}</td></tr> | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
<pre>{{GenerateWeaponTabs|Longsword}}</pre> | <pre>{{GenerateWeaponTabs|Longsword}}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
{{GenerateWeaponTabs|Longsword}} | {{GenerateWeaponTabs|Longsword}}</td></tr> | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
<pre>{{GenerateWeaponTabs|Demon's Glee}}</pre> | <pre>{{GenerateWeaponTabs|Demon's Glee}}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
{{GenerateWeaponTabs|Demon's Glee}} | {{GenerateWeaponTabs|Demon's Glee}}</td></tr> | ||
</table></noinclude> | </table></noinclude> |
Revision as of 05:04, 9 April 2024
Code | Preview |
---|---|
{{GenerateWeaponTabs|Arming Sword}} |
- Physical Base Weapon Damage 30~31 - - Move Speed -20 - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 47.24x10.38x1.67 Gear Score: 2 Sell Price: 6 A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand. - Physical Base Weapon Damage 32~33 - - Move Speed -20 - - Up to 1 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 47.24x10.38x1.67 Gear Score: 27 Sell Price: 9 Item Achieve: 3 A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand. - Physical Base Weapon Damage 34~35 - - Move Speed -20 - - Up to 2 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 47.24x10.38x1.67 Gear Score: 36 Sell Price: 18 Item Achieve: 6 A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand. - Physical Base Weapon Damage 36~37 - - Move Speed -20 - - Up to 3 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 47.24x10.38x1.67 Gear Score: 54 Sell Price: 30 Item Achieve: 9 A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand. - Physical Base Weapon Damage 38~39 - - Move Speed -20 - - Up to 4 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 47.24x10.38x1.67 Gear Score: 72 Sell Price: 60 Item Achieve: 15 A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand. |
{{GenerateWeaponTabs|Longsword}} |
- Physical Base Weapon Damage 40~42 - - Move Speed -30 - Weapon Type: Sword Slot Type: Main-Hand Hand Type: Two Handed Hitbox: 72.75x12.87x2.05 Gear Score: 4 Sell Price: 8 A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp. - Physical Base Weapon Damage 43~44 - - Move Speed -30 - - Up to 1 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: Two Handed Hitbox: 72.75x12.87x2.05 Gear Score: 45 Sell Price: 12 Item Achieve: 4 A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp. - Physical Base Weapon Damage 45~46 - - Move Speed -30 - - Up to 2 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: Two Handed Hitbox: 72.75x12.87x2.05 Gear Score: 60 Sell Price: 24 Item Achieve: 8 A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp. - Physical Base Weapon Damage 47 - - Move Speed -30 - - Up to 3 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: Two Handed Hitbox: 72.75x12.87x2.05 Gear Score: 90 Sell Price: 40 Item Achieve: 12 A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp. - Physical Base Weapon Damage 48 - - Move Speed -30 - - Up to 4 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: Two Handed Hitbox: 72.75x12.87x2.05 Gear Score: 120 Sell Price: 80 Item Achieve: 20 A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp. |
{{GenerateWeaponTabs|Demon's Glee}} |
- Physical Base Weapon Damage 28 - - Move Speed -15 - - Magical Base Weapon Damage 1 - - Up to 4 extra enchantments - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 55.82x7.53x5.89 Gear Score: 54 Sell Price: 60 Item Achieve: 9 A blade fused with unholy blood is said to become almost sentient, craving destruction. |