Difference between revisions of "Template:Tt/Compu/Tabs"
< Template:Tt | Compu
Jump to navigation
Jump to search
m |
m |
||
Line 10: | Line 10: | ||
|MentDMG|TeasDMG=<tr><td>Temptation</td><td>-</td><td>Focus</td><td>=</td><td>'''Defense'''</td></tr> | |MentDMG|TeasDMG=<tr><td>Temptation</td><td>-</td><td>Focus</td><td>=</td><td>'''Defense'''</td></tr> | ||
}} | }} | ||
− | {{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">If '''Defense''' is > 0:<br><code>Damage * (100 / (100 + Defense))</td></tr>}} | + | {{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">If '''Defense''' is > 0:<br><code>Damage * (100 /<br>(100 + Defense))</td></tr>}} |
{{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">Apply '''{{{2|}}} Resistance''' by <code>Damage - (Damage * (Resistance / 100))</code></td></tr>}} | {{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">Apply '''{{{2|}}} Resistance''' by <code>Damage - (Damage * (Resistance / 100))</code></td></tr>}} | ||
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#switch:{{{2|}}}|Charm|Spell=<tr><td>+Catalyst Accuracy</td><td>'''Catalyst Bonus'''</td><td>/</td></tr>}}}} | {{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#switch:{{{2|}}}|Charm|Spell=<tr><td>+Catalyst Accuracy</td><td>'''Catalyst Bonus'''</td><td>/</td></tr>}}}} |
Revision as of 10:45, 3 April 2025
Documentation
- 1st Parameter - Table Type (i.e. is it to calculate if an attack hits or to how damage is calculated)
- Attack Table:
AoeATK
EvaATK
MagATK
MenATK
PhyATK
TeaATK
WeaATK
- Damage Table:
MentDMG
PhysDMG
SpelDMG
TeasDMG
WeapDMG
- Attack Table:
- The next set of parameters depends on if its an attack or damage table:
- Attack Table
- 2nd Parameter - Includes catalyst bonus? (either
Charm
orSpell
, or leave blank) - 3rd & 4th Parameter - If there are any other bonuses or negatives to the attacker's accuracy (3) or the target's defense (4)
- 2nd Parameter - Includes catalyst bonus? (either
- Damage Table
- 2nd Parameter - Name of the Element/Resistance type
- Attack Table
Usage
This template is to be primarily used within Template:tt/Compu, hence it being an extension name.