Template:Exedra Skill Scaling

From Puella Magi Wiki
Jump to navigation Jump to search

Parameters

  • text - The description of the Skill. The values dependent on level should be replaced by letters in square braces, for example (consider turn count to be independent from level):
    • Original description: Deals 220% light DMG to a single enemy. Increases all allies' ATK by 16% (2 turns).
    • Modified description: Deals [a]% light DMG to a single enemy. Increases all allies' ATK by [b]% (2 turns).
  • a1 a10, b1 b10 ... z1 z10 - specific scale-able parameters at level 1 and 10, respectively. The letter corresponds to the letter in square brackets in text.

Usage example

{{Exedra Skill Scaling
|text = Deals [a]% DMG to a single enemy, and [b]% to the enemy on the right at [c]% chance. Increases SPD by [d] (1 turn) and ATK by [e]% ([f] turns).
|a1   = 220
|a10  = 330
|b1   = 75
|b10  = 150
|c1   = 21
|c10  = 37
|d1   = 6
|d10  = 9
|e1   = 69
|e10  = 666
|f1   = 2
|f10  = 11
}}

Deals 220-330% DMG to a single enemy, and 75-150% to the enemy on the right at 21-37% chance. Increases SPD by 6-9 (1 turn) and ATK by 69-666% (2-11 turns).

Maintenance code

The following is C code which can be used to quickly generate the template filled out with data from Template:Magia Exedra Stats/Test.

#include <stdio.h>
int main(){
    char type_of_attack[100] = "support_ability";
    int amt_of_parameters = 6;
    int amt_of_levels = 10;
    printf("{{Exedra_Skill_Scaling\n|text={{{%s_effect|}}}\n",type_of_attack);
    int i;
    for (i = 0; i < amt_of_parameters; ++i){
        printf("|%c1={{{%s_lvl_1_%d|}}}\t",'a'+i,type_of_attack,i+1);
        printf("|%c%d={{{%s_lvl_%d_%d|}}}\n",'a'+i,amt_of_levels,type_of_attack,amt_of_levels,i+1);
    }
printf("}}\n");
return 0;}