Module:Data/Skill/dx2

Revision as of 07:48, 14 April 2024 by Rman41 (talk | contribs) (Protected "Module:Dx2 Skills" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))

Purpose

Data module used to document skill details from Shin Megami Tensei: Liberation Dx2.

Usage

This module is to be updated with skill data for use with Template:Dx2 Ally Demon Stats and Template:Dx2 Enemy Demon Stats.

[''] = {
    cost = '',
    pow = '',
    hit = '',
    target_list = '',
    attribute = '',
    description = '',
    effect = '',
    skillpoints = '',
    unique = '',
    level = '',
    name = '',
    default = ''
},
Parameter Notes
[' ']
The name of the skill. Must be input between the apostrophes in all lowercase.
cost
The cost of the skill. Input " MP" after the number.
pow
The base power of the skill.
hit
The amount of hits a skill does per target. This parameter should not be used for Passive skills where an attack is part of an effect.
In the case of skills that hit multiple times as part of separate effects, include an Template:Exp note after the number of hits of the initial attack saying "Subsequent attack(s) upon success".
If the amount of hits changes, include an Template:Exp note after the initial amount of hits saying "Increases with Boost level".
target_list
The unit(s) targeted by the skill.
  • Types of targets include:
    • Allied Party: "Self" and "Entire Party"
    • Enemy Party: "Single", "All Enemies", and "Random"
    • Both: "All"
attribute
The attribute of the skill. This parameter determines the icon of the skill.
Attributes should be rendered as the following: "Phys", "Fire", "Ice", "Elec", "Force", "Light", "Dark", "Multi-Element", "Almighty", "Fractional", "Healing", "Support", "Ailment", and "Passive".
The following skill attributes do not have icons to display: Healing, Support, Ailment, and Fractional.
description
The official description of the skill.
If a description has multiple sub-effects, use <hr> to separate them.
If an effect/sub-effect has minor details that explains how a skill works mechanically, separate the text using <br>.
If a description starts with a plus sign (+), use &plus; instead of the symbol. If character "+" is used at the start of the information, the parameter will not function.
effect
An unofficial description of the skill. This parameter is used when a skill's mechanics are not sufficiently explained by the official description. Do not use when unnecessary.
skillpoints
The amount of skill points it costs to transfer a skill onto a demon.
unique
The demon(s) that the skill is unique to. A skill is considered unique when less than 5 demons have access to it. Any skill that can be transferred cannot be considered unique.
level
The description of a skill's maximum level.
  • Example: For the skill Cleave, level would be rendered as level = 'Lv. 6: +17% to damage.',
name
The name of a skill. Should be rendered as a link with a span id in order to be linked to within the Skills in Shin Megami Tensei: Liberation_Dx2 page.
  • Example: For the skill Cleave, name would be rendered as name = '[[Cleave]]<span id="Cleave"></span>',
default
The default output of the skill data. Input the name of the skill as a link.
  • Example: For the skill Cleave, default would be rendered as default = '[[Cleave]]'

Code

[''] = {
    cost = '',
    pow = '',
    hit = '',
    target_list = '',
    attribute = '',
    description = '',
    effect = '',
    skillpoints = '',
    unique = '',
    level = '',
    name = '',
    default = ''
},

Examples

['cleave'] = {
    cost = '4 MP',
    pow = '120',
    hit = '1',
    target_list = 'Single',
    attribute = 'Phys',
    description = 'Inflicts Phys (Physical) damage with 120 power on a Single Enemy.',
    effect = '—',
    skillpoints = '1',
    unique = '—',
    level = 'Lv. 6: +17% to damage.',
    name = '[[Cleave]]<span id="Cleave"></span>',
    default = '[[Cleave]]'
},

local skill = {
	['cleave'] = {
		cost = '4 MP',
		pow = '120',
		hit = '1',
		target = '{{Tt|1|Single}}',
		target_list = 'Single',
		description = 'Inflicts Phys (Physical) damage with 120 power on a Single Enemy.',
		effect = '—',
		skillpoints = '1',
		unique = '—',
		level = 'Lv. 6: +17% to damage.',
		name = '[[Cleave]]',
	},
}

return {
	skill = skill,
}