From Dark and Darker Wiki

mNo edit summary
m (use merge spells module)
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Why is it broken?==
<tabber>
The error mentioning that its broken can be displayed for a few reasons
|-|Tab1=
* The ability name was spelled incorrectly/typo'd
content1
* The ability' tag was spelled incorrectly/typo'd
|-|Tab2=
* IronMace changed the ability's name
content2
* IronMace changed the ability such that the ability no longer has that tag
|-|{{TabNameTest}}=
content3
</tabber>


==How to fix==
Recommended to edit from a PC rather than mobile.


After signing in/creating a Wiki account, click the Pencil icon in the top right and click "Edit Source" from the class page, like [[Barbarian]].<br>
{{TabToggle|1|Tab1}}
{{TabToggle|2|Tab2}}
{{TabToggle|3|{{TabNameTest}}}}


Press Ctrl+F and search for "|abilityname" like "|achillesstrike" (no spaces), at the very bottom of the page you will see data that looks like...
<div class="1-data All-data" style="display:none;">
Include Image
content1</div>
<br>
<div class="2-data All-data" style="display:none;">
content2</div>
<div class="3-data All-data" style="display:none;">
content3</div>


As seen above, Achilles Strike's tags that can be called are PhysicalBaseDamage, Scaling, and Duration. Now, in the table (towards the middle of the Class page) where the description for "Achilles Strike" is written, correct the <pre style="width:fit-content;">{{template call}}</pre> such that the tag is spelled correctly.
As of writing this, Achilles Strike's description and scaling is written as
<pre><td> The next physical attack applies a debuff that lasts {{:Barbarian|AchillesStrike|HitslowDuration}}. During this debuff, the victim loses {{:Barbarian|AchillesStrike|HitslowMoveSpeed}}, and any step they take will inflict {{:Barbarian|AchillesStrike|PhysicalBaseDamage}}.</td>
        <td> Damage per step: {{:Barbarian|AchillesStrike|Scaling}} </td>
        <td> {{:Barbarian|AchillesStrike|SkillCooldown}} </td></pre>
       
Which then appears as<br>
Include Image




==Case Sensitivity==
Sort by the 2nd or 3rd column to see row contents duplicated.
Template calls are not case sensitive, it can be full uppercase (BARBARIAN) or full lowercase (barbarian), but preferred to be propercase (Barbarian).  
{| class="wikitable sortable jquery-tablesorter ClassesTable" style="min-width:360px;>
! style="width:15%" class="headerSort" role="columnheader button" title="Sort ascending" colspan="2" | Name
! style="width:65%" class="headerSort" role="columnheader button" title="Sort ascending" | Description
! style="width: 5%" class="headerSort" role="columnheader button" title="Sort ascending" | Casting Time
|-
|style="border-bottom:none; border-right:none"| [[File:Icon_Spell ElectricDash.png|link=|96px]] <br> Component 1
|style="border-bottom:none; border-left:none"| [[File:Icon_Spell ElectricDash.png|link=|96px]] <br> Component 2
|rowspan="2"| {{:Sorcerer|desc=ElectricDash}}
|rowspan="2"| {{Ability_Data|ElectricDash|CastingTime}}
|-
|colspan="2" style="border-top:none"| [[File:Icon_Spell ElectricDash.png|link=|96px]] <br> Merge Spell
|-
|style="border-bottom:none; border-right:none"| [[File:Icon_Spell ElectricDash.png|link=|96px]] <br> Component 1
|style="border-bottom:none; border-left:none"| [[File:Icon_Spell ElectricDash.png|link=|96px]] <br> Component 2
|rowspan="2"| {{:Sorcerer|desc=ElectricDash}}
|rowspan="2"| {{Ability_Data|ElectricDash|CastingTime}}
|-
|colspan="2" style="border-top:none"| [[File:Icon_Spell ElectricDash.png|link=|96px]] <br> Merge Spell
|}


==Spaces==
Spaces are never present in the ability name nor the tag name. "AchillesStrike" is a valid ability, "Achilles Strike" is not.


==Examples==
How to call an ability's tag value:
<pre style="width:fit-content;">{{:Barbarian|AchillesStrike|PhysicalBaseDamage}}</pre>


{{:Barbarian|AchillesStrike|PhysicalBaseDamage}}
{| class="wikitable sortable jquery-tablesorter ClassesTable" style="min-width:360px;>
! style="width:15%" class="headerSort" role="columnheader button" title="Sort ascending" | Merge Spell
! style="width:15%" class="headerSort" role="columnheader button" title="Sort ascending" | Parent Spell 1
! style="width:15%" class="headerSort" role="columnheader button" title="Sort ascending" | Parent Spell 2
! style="width:65%" class="headerSort" role="columnheader button" title="Sort ascending" | Description
! style="width: 5%" class="headerSort" role="columnheader button" title="Sort ascending" | Casting Time
|-


 
{{#invoke:MergeSpells|draw_merge_recipe|ElementalBolt}}
 
| {{:Sorcerer|desc=ElectricDash}}
If the ability doesn't exist:
| {{Ability_Data|ElectricDash|CastingTime}}
<pre style="width:fit-content;">{{:Barbarian|Achilles Strike|PhysicalBaseDamage}}</pre>
|-
 
{{#invoke:MergeSpells|draw_merge_recipe|ElectricDash}}
{{:Barbarian|Achilles Strike|PhysicalBaseDamage}}
| {{:Sorcerer|desc=ElectricDash}}  
 
| {{Ability_Data|ElectricDash|CastingTime}}
 
|}
 
If the tag doesn't exist for that ability
<pre style="width:fit-content;">{{:Barbarian|AchillesStrike|PhysicalDamage}}</pre>
{{:Barbarian|AchillesStrike|PhysicalDamage}}

Latest revision as of 00:54, 21 December 2024

content1

content2
content3


Tab1
Tab2
MyCoolTabName


Sort by the 2nd or 3rd column to see row contents duplicated.

Name Description Casting Time
Icon Spell ElectricDash.png
Component 1
Icon Spell ElectricDash.png
Component 2
Transform into a lightning orb and quickly move to the selected location within 7m, Electrifying all targets along the path and dealing 10 Lightning Lightning Magical Base Damage (100% Scaling). Upon reaching the destination, unleash a lightning strike, dealing 20 Lightning Lightning Magical Base Damage (100% Scaling) to nearby targets.

The caster is immune to physical attacks while moving but remains affected by area magic.

Electrified: The target loses -20% Move Speed Bonus for 1s.

No tag found for "CastingTime", please correct it

Icon Spell ElectricDash.png
Merge Spell
Icon Spell ElectricDash.png
Component 1
Icon Spell ElectricDash.png
Component 2
Transform into a lightning orb and quickly move to the selected location within 7m, Electrifying all targets along the path and dealing 10 Lightning Lightning Magical Base Damage (100% Scaling). Upon reaching the destination, unleash a lightning strike, dealing 20 Lightning Lightning Magical Base Damage (100% Scaling) to nearby targets.

The caster is immune to physical attacks while moving but remains affected by area magic.

Electrified: The target loses -20% Move Speed Bonus for 1s.

No tag found for "CastingTime", please correct it

Icon Spell ElectricDash.png
Merge Spell


Merge Spell Parent Spell 1 Parent Spell 2 Description Casting Time
Icon Spell ElementalBolt.png
Elemental Bolt
Icon Spell FireArrow.png
Fire Arrow
Icon Spell WaterBolt.png
Water Bolt
Transform into a lightning orb and quickly move to the selected location within 7m, Electrifying all targets along the path and dealing 10 Lightning Lightning Magical Base Damage (100% Scaling). Upon reaching the destination, unleash a lightning strike, dealing 20 Lightning Lightning Magical Base Damage (100% Scaling) to nearby targets.

The caster is immune to physical attacks while moving but remains affected by area magic.

Electrified: The target loses -20% Move Speed Bonus for 1s.

No tag found for "CastingTime", please correct it

Icon Spell ElectricDash.png
Electric Dash
Icon Spell Vortex.png
Vortex
Icon Spell LightningBolt.png
Lightning Bolt
Transform into a lightning orb and quickly move to the selected location within 7m, Electrifying all targets along the path and dealing 10 Lightning Lightning Magical Base Damage (100% Scaling). Upon reaching the destination, unleash a lightning strike, dealing 20 Lightning Lightning Magical Base Damage (100% Scaling) to nearby targets.

The caster is immune to physical attacks while moving but remains affected by area magic.

Electrified: The target loses -20% Move Speed Bonus for 1s.

No tag found for "CastingTime", please correct it