Module:CalculatedStats/doc: Difference between revisions

Jump to navigation Jump to search
Line 20: Line 20:


===Manual stat inputting===
===Manual stat inputting===
''Shin Megami Tensei'', ''Shin Megami Tensei'' (Mega-CD), and ''Devil Summoner: Soul Hackers'' support manual input of stats through named arguments (which are <code>st</code>, <code>in</code>, <code>ma</code>, <code>vi</code>/<code>en</code>, <code>ag</code>, and <code>lu</code>). This is because the calculations for ''Shin Megami Tensei'' (Mega-CD) and ''Devil Summoner: Soul Hackers'' are not yet perfect; regular ''Shin Megami Tensei'' supports manual input to retain backwards compatibility with current articles which do not yet have a platform argument filled in.
''Shin Megami Tensei'', ''Shin Megami Tensei'' (Mega-CD), and ''Devil Summoner: Soul Hackers'' support manual input of stats through named arguments (which are <code>st</code>, <code>in</code>, <code>ma</code>, <code>vi</code>/<code>en</code>, <code>ag</code>, and <code>lu</code>). This is because some of the calculations for ''Shin Megami Tensei'' (Mega-CD) and ''Devil Summoner: Soul Hackers'' are not yet perfect; regular ''Shin Megami Tensei'' supports manual input to retain backwards compatibility with current articles which do not yet have a platform argument filled in.


==Sources==
==Sources==

Revision as of 01:42, 21 September 2024

Documentation

Basic use

To use this module, do as follows:

{{#invoke:CalculatedStats|<function>|<level>|<strength>|<intelligence>|<magic>|<vitality/endurance>|<agility>|<luck>}}

This module should not be invoked directly in the mainspace and should be part of a template, with the values filled with template parameters.

Valid values for function (case sensitive):

  • smt1 for Shin Megami Tensei
  • smt1mcd for Shin Megami Tensei (Mega-CD)
  • smt2 for Shin Megami Tensei II
  • smtif for Shin Megami Tensei if... (alias for smt2)
  • desum for Shin Megami Tensei: Devil Summoner
  • sh1 for Devil Summoner: Soul Hackers

Boss

Shin Megami Tensei (Mega-CD) appears to use different stat calculations for bosses than it does for regular demons. Set the named parameter boss to something (recommended: y) to use the boss calculations.

Platform

Shin Megami Tensei: Devil Summoner by default shows both the Sega Saturn and PlayStation Portable values for Magic Defense. Set the named parameter platform to either sat or psp (case insensitive) to display only one of them.

Manual stat inputting

Shin Megami Tensei, Shin Megami Tensei (Mega-CD), and Devil Summoner: Soul Hackers support manual input of stats through named arguments (which are st, in, ma, vi/en, ag, and lu). This is because some of the calculations for Shin Megami Tensei (Mega-CD) and Devil Summoner: Soul Hackers are not yet perfect; regular Shin Megami Tensei supports manual input to retain backwards compatibility with current articles which do not yet have a platform argument filled in.

Sources