Tutorial:Manipulating the Blue Magic template
From BGWiki
The Blue Magic template is probably the most complex template written yet, reason being that the template incorporates a number of factors. Based in the inputs of the template, the template changes form to display certain information.
The Template, In Full
The template appears as follows, in it's full glory:
{{Blue Magic
|class= <!-- Either Physical/Magical -->
|subclass= <!-- The most IMPORTANT variable. Input either damage, nuke, drain, breath, healing, buff or enfeeble and it will alter the table's displayed parameters
|type= <!-- Input the type of damage (if physical, Blunt/Slashing/Piercing, nuke=element, breath=Breath, healing=Healing, enfeeble=Enfeeble, buff=Enhancement, etc)
|nohits= <!-- Can be left null and will not appear. Otherwise it will appear with the number of hits -->
|desc= <!-- Description -->
|mp= <!-- MP Cost -->
|blupoint= <!-- Blue Mage Point Cost -->
|cast= <!-- Cast time -->
|recast= <!-- Recast time -->
|target= <!-- Target (Single/Cone/AOE) -->
|range= <!-- Range -->
|stats= <!-- Stats -->
|trait= <!-- Trait the spell can create, can be left null -->
|effects= <!-- Any additional effects (turns into Enhancement for buffs and Enfeeble for enfeeble) -->
|duration= <!-- Duration of the additional effect -->
|level= <!-- Level usable -->
|family= <!-- Family ability is learned from- links directly to the category page -->
|blucap= <!-- Used in the damage table, Blue Magic Skill Cap -->
|fstrcap= <!-- Used in the damage table, fSTR cap -->
|tm <!-- TM, used in nuke (whatever this is) -->
|primod <!-- Primary modifier, used in nuke -->
|element=Light <!-- Element, used in breath -->
|hppercent=50 <!-- HP %, used in breath -->
|flv=2.0 <!-- fLV, used in breath -->
|wsc= <!-- Used in the damage table, Weapon Skill Secondary Attribute Modifier -->
|ftp100= <!-- Used in the damage AND nuke table, fTP modifier at 100% -->
|ftp200= <!-- Used in the damage AND nuke table, fTP modifier at 100% -->
|ftp300= <!-- Used in the damage AND nuke table, fTP modifier at 100% -->
|scprop= <!-- Used in the damage table, skillchain properties -->
|ve= <!-- Volatile Enmity generated -->
|ce= <!-- Cumulative Enmity generate -->
|ale= <!-- Azure Lore Effect -->
|notes= <!-- Notes -->
}}
Some examples:
Physical Spell
| Blue Mage Spell Information | |||
|---|---|---|---|
| Description | Blah blah | ||
| Class | Physical | ||
| Damage Type | Blunt | Number of Hits | 3 |
| MP Cost | 3MP | Point Cost | 3 |
| Cast Time | 00:00:05 | Recast Time | 00:01:00 |
| Target | Single | Range | 21 yalms |
| Stat Modifiers | STR +3, INT +3 | ||
| Additional Effects | You die | Duration | Permanent |
| Available Level | 1 | Monster Family | Wyrm |
| Spell Mechanics | |||||
|---|---|---|---|---|---|
| Blue Magic Cap | 260 | fSTR Cap | 180 | ||
| WSC% | 75% | ||||
| fTP | 100% | 1.0 | |||
| 200% | 2.5 | ||||
| 300% | 5.0 | ||||
| Skillchain Properties | Fusion | ||||
| Volatile Enmity | 200 | Cumulative Enmity | 150 | ||
| Azure Lore effects | No Effect | ||||
Notes
- This is a note
Magical Nuke
| Blue Mage Spell Information | |||
|---|---|---|---|
| Description | Blah blah | ||
| Class | Magical | ||
| Damage Type | Fire | ||
| MP Cost | 3MP | Point Cost | 3 |
| Cast Time | 00:00:05 | Recast Time | 00:01:00 |
| Target | Single | Range | 21 yalms |
| Stat Modifiers | STR +3, INT +3 | ||
| Additional Effects | You die | Duration | Permenant |
| Available Level | 1 | Monster Family | Wyrm |
| Spell Mechanics | |||
|---|---|---|---|
| Primary Modifier | INT | ||
| WSC% | 75% | TM | 3.0 |
| fTP | 100% | 1.0 | |
| 200% | 2.5 | ||
| 300% | 5.0 | ||
| Volatile Enmity | 200 | Cumulative Enmity | 150 |
| Azure Lore effects | No Effect | ||
Notes
- This is a note
Breath Spell
| Blue Mage Spell Information | |||
|---|---|---|---|
| Description | Blah blah | ||
| Class | Magical | ||
| Damage Type | Breath | ||
| MP Cost | 3MP | Point Cost | 3 |
| Cast Time | 00:00:05 | Recast Time | 00:01:00 |
| Target | Single | Range | 21 yalms |
| Stat Modifiers | STR +3, INT +3 | ||
| Additional Effects | You die | Duration | Permenant |
| Available Level | 1 | Monster Family | Wyrm |
| Spell Mechanics | |||
|---|---|---|---|
| Element | Light | ||
| HP% | 50 | fLV | 2.0 |
| Volatile Enmity | 200 | Cumulative Enmity | 150 |
| Azure Lore effects | No Effect | ||
Notes
- This is a note
Healing Spell
| Blue Mage Spell Information | |||
|---|---|---|---|
| Description | Blah blah | ||
| Class | Magical | ||
| Damage Type | Healing | ||
| MP Cost | 3MP | Point Cost | 3 |
| Cast Time | 00:00:05 | Recast Time | 00:01:00 |
| Target | Single | Range | 21 yalms |
| Stat Modifiers | STR +3, INT +3 | ||
| Additional Effects | Duration | ||
| Available Level | 1 | Monster Family | Wyrm |
| Spell Mechanics | |||
|---|---|---|---|
| Volatile Enmity | 200 | Cumulative Enmity | 150 |
| Azure Lore effects | No Effect | ||
Notes
- This is a note
Enhancement
| Blue Mage Spell Information | |||
|---|---|---|---|
| Description | Blah blah | ||
| Class | Magical | ||
| Damage Type | Enhancement | ||
| MP Cost | 3MP | Point Cost | 3 |
| Cast Time | 00:00:05 | Recast Time | 00:01:00 |
| Target | Single | Range | 21 yalms |
| Stat Modifiers | STR +3, INT +3 | ||
| Enhancement | Stoneskin | Duration | 00:05:00 |
| Available Level | 1 | Monster Family | Wyrm |
| Spell Mechanics | |||
|---|---|---|---|
| Volatile Enmity | 200 | Cumulative Enmity | 150 |
| Azure Lore effects | No Effect | ||
Notes
- This is a note