From Dark and Darker Wiki

< Module:MergeSpells

Revision as of 03:52, 22 December 2024 by Sur (talk | contribs) (remove debug_mode, still not working)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:MergeSpells

Overview

Functions for Sorcerer's Merge Spells and their component spells. Data comes from Data:MergeSpells.json

Functions

draw_merge_recipe

Draws a visual for the components that make up a given merge spell

Parameters

  • merge_spell - 1st parameter - the name of the merge spell without spaces but capitalized properly, i.e. ElementalBolt

Example

{| 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
|-
| {{#invoke:MergeSpells|draw_merge_recipe|ElementalBolt}}
|}
Merge Spell Parent Spell 1 Parent Spell 2
Icon Spell ElementalBolt.png
Elemental Bolt
Icon Spell FireArrow.png
Fire Arrow
Icon Spell WaterBolt.png
Water Bolt