From Dark and Darker Wiki
(Fixed missing hitslows) |
(Fixed missing secondary attack values in combo) |
||
Line 267: | Line 267: | ||
-->{{#if:{{#pos:{{#var:abilities}}|Secondary}}<!-- | -->{{#if:{{#pos:{{#var:abilities}}|Secondary}}<!-- | ||
If the weapon has a global secondary damage type, display it | If the weapon has a global secondary damage type, display it | ||
-->|{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|global|damagetype}} }}<!-- | -->|<br><span style="color:#eee8;">Secondary Attacks</span><br><!-- | ||
-->| | -->{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|global|damagetype}} }}<!-- | ||
-->|All {{#var:global_damagetype}}<!-- | |||
Else if the weapon has secondary damage types, display them | Else if the weapon has secondary damage types, display them | ||
-->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 1|damagetype}} }}<!-- | -->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 1|damagetype}} }}<!-- | ||
-->| | -->|{{#var:damagetype}}<!-- | ||
-->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|damagetype}} }}<!-- | -->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|damagetype}} }}<!-- | ||
-->|/{{#var:damagetype}} }} }} }}<!-- | -->|/{{#var:damagetype}}<!-- | ||
-->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 3|damagetype}} }}<!-- | |||
-->|/{{#var:damagetype}} }} }} }} }}<!-- | |||
If the weapon has a global secondary combo damage, display it | If the weapon has a global secondary combo damage, display it | ||
-->{{#if:{{#vardefineecho:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|secondary|global|combodamage}} }}<!-- | -->{{#if:{{#vardefineecho:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|secondary|global|combodamage}} }}<!-- | ||
Line 283: | Line 284: | ||
-->|<br>{{#var:combodamage}}<!-- | -->|<br>{{#var:combodamage}}<!-- | ||
-->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|combodamage}} }}<!-- | -->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|combodamage}} }}<!-- | ||
-->|/{{#var:combodamage}} }} }} }} }}<!-- | -->|/{{#var:combodamage}}<!-- | ||
-->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 3|combodamage}} }}<!-- | |||
-->|/{{#var:combodamage}} }} }} }} }} }}<!-- | |||
-->{{#if:{{#pos:{{#var:abilities}}|Special}}<!-- | -->{{#if:{{#pos:{{#var:abilities}}|Special}}<!-- |
Revision as of 01:03, 28 February 2025
Parameters:
- 1={Craftable,Uncraftable,Both}
- 2={Shield,Sword,Axe,Polearm,Unarmed,Mace,Bow,Dagger,MagicStuff,Staff,Crossbow,Throwable,LightSource}
- type={Bow,Crossbow,Shield} (optional)
Code | Preview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{GenerateWeaponTable|Uncraftable|Dagger}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Craftable|Shield}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}} |
|