Module:CalculatedStats/doc: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:


===Platform===
===Platform===
''Shin Megami Tensei'' has different formulas for the Mega-CD version. Set Set the named parameter <code>platform</code> to <code>MCD</code> (case insensitive) to output the Mega-CD stats.
''Shin Megami Tensei'' has different formulas for the Mega-CD version. Set the named parameter <code>platform</code> to <code>MCD</code> (case insensitive) to output the Mega-CD stats.


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

Revision as of 02:45, 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
  • 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

Platform

Shin Megami Tensei has different formulas for the Mega-CD version. Set the named parameter platform to MCD (case insensitive) to output the Mega-CD stats.

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.

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.

Manual stat inputting

Shin Megami Tensei 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; non-Mega-CD Shin Megami Tensei still supports manual input to retain backwards compatibility with current articles which do not yet have a platform argument filled in.

Sources