From Dark and Darker Wiki
(Fixed missing secondary attack values in combo) |
(Changed globalization logic on combo mults.) |
||
Line 254: | Line 254: | ||
-->|/{{#var:damagetype}} }} }} }} }} }}<!-- | -->|/{{#var:damagetype}} }} }} }} }} }}<!-- | ||
If the weapon have a global primary combo damage, display it | If the weapon have a global primary combo damage, display it | ||
-->{{# | -->{{#vardefine:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|primary|global|combodamage}} }}<!-- | ||
--><br>{{Weapon Data|{{#var:current}}|abilities|primary|attack 1|combodamage}}<!-- | |||
-->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|primary|attack 2|combodamage}} }}<!-- | |||
-->|/{{#var:combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|primary|attack 3|combodamage}} }}<!-- | |||
-->|/{{#var:combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|primary|attack 4|combodamage}} }}<!-- | |||
-->|/{{#var:combodamage}}{{#var:global_combodamage}} }} }} }} }}<!-- | |||
-->{{#if:{{#pos:{{#var:abilities}}|Secondary}}<!-- | -->{{#if:{{#pos:{{#var:abilities}}|Secondary}}<!-- |
Revision as of 01:28, 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}} |
|