Difference between revisions of "Template:Tt/Compu"
Jump to navigation
Jump to search
(if statement to show if contains extra bonus for attack and damage tables) |
(Willpower & Presence amp) |
||
Line 4: | Line 4: | ||
|AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp={{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} Dmg Amp {{#if:{{{2|}}}|[+ Bonus]}} | |AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp={{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} Dmg Amp {{#if:{{{2|}}}|[+ Bonus]}} | ||
|MentDMG=Mental Damage|PhysDMG=Physical Damage|SpelDMG=Spell Damage|TeasDMG=Tease Damage|WeapDMG=Weapon Damage | |MentDMG=Mental Damage|PhysDMG=Physical Damage|SpelDMG=Spell Damage|TeasDMG=Tease Damage|WeapDMG=Weapon Damage | ||
+ | |WillAmp=Willpower Amp|PresAmp=Presence Amp | ||
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#switch:{{{1|}}}|AoeATK=AOE|EvaATK=Evasion|MagATK=Magic|MenATK=Mental|PhyATK=Physical|TeaATK=Tease|WeaATK=Weapon}} Attack {{#if:{{{3|}}}{{{4|}}}|[+ Bonus]}} | |AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#switch:{{{1|}}}|AoeATK=AOE|EvaATK=Evasion|MagATK=Magic|MenATK=Mental|PhyATK=Physical|TeaATK=Tease|WeaATK=Weapon}} Attack {{#if:{{{3|}}}{{{4|}}}|[+ Bonus]}} | ||
}}|2={{#switch:{{{1|}}} | }}|2={{#switch:{{{1|}}} | ||
Line 10: | Line 11: | ||
|AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp='''{{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} Damage Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} / 100</code>{{#if:{{{2|}}}|{{cw|spnhr}}Additional Bonus:<br>'''{{{2|}}}'''}} | |AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp='''{{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} Damage Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} / 100</code>{{#if:{{{2|}}}|{{cw|spnhr}}Additional Bonus:<br>'''{{{2|}}}'''}} | ||
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK=Attempt a {{#switch:{{{1|}}}|AoeATK=AOE|EvaATK=Evasion|MagATK=Magic|MenATK=Mental|PhyATK=Physical|TeaATK=Tease|WeaATK=Weapon}} Attack{{cw|spnhr}}{{tt/Compu/Tabs|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}} | |AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK=Attempt a {{#switch:{{{1|}}}|AoeATK=AOE|EvaATK=Evasion|MagATK=Magic|MenATK=Mental|PhyATK=Physical|TeaATK=Tease|WeaATK=Weapon}} Attack{{cw|spnhr}}{{tt/Compu/Tabs|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}} | ||
+ | |WillAmp|PresAmp={{#switch:{{{1|}}}|WillAmp=Willpower|PresAmp=Presence}} Amplification{{cw|spnhr}}<code>{{#switch:{{{1|}}}|WillAmp=10 * (1 + Willpower / 30)|PresAmp=10 * (1 + Presence / 40)}}</code> | ||
|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=Compute {{#switch:{{{1|}}}|MentDMG=Mental|PhysDMG=Physical|SpelDMG=Spell|TeasDMG=Tease|WeapDMG=Weapon}} Damage{{cw|spnhr}}{{tt/Compu/Tabs|{{{1|}}}|{{{2|}}}}}{{cw|spnhr}}Final Damage will have a random effectiveness of <code>95% to 105%</code> | |MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=Compute {{#switch:{{{1|}}}|MentDMG=Mental|PhysDMG=Physical|SpelDMG=Spell|TeasDMG=Tease|WeapDMG=Weapon}} Damage{{cw|spnhr}}{{tt/Compu/Tabs|{{{1|}}}|{{{2|}}}}}{{cw|spnhr}}Final Damage will have a random effectiveness of <code>95% to 105%</code> | ||
}}}})</span></includeonly><noinclude> | }}}})</span></includeonly><noinclude> | ||
==Documentation== | ==Documentation== | ||
Only has '''1''' parameter: | Only has '''1''' parameter: | ||
− | *<code>AtkP%</code> <code>Sexi%</code> <code>Spel%</code> | + | *<code>AtkP%</code> <code>Sexi%</code> <code>Spel%</code> |
+ | *<code>WillAmp</code> <code>PresAmp</code> | ||
Has '''two''' parameters: | Has '''two''' parameters: | ||
**'''1st Parameter''' - Computation name | **'''1st Parameter''' - Computation name | ||
***<code>SexiHealAmp</code> <code>SpelDmgAmp</code> | ***<code>SexiHealAmp</code> <code>SpelDmgAmp</code> | ||
***<code>AtkPDmgAmp</code> <code>SexiDmgAmp</code> <code>SpelHealAmp</code> | ***<code>AtkPDmgAmp</code> <code>SexiDmgAmp</code> <code>SpelHealAmp</code> | ||
+ | ***<code>WillAmp</code> <code>PresAmp</code> | ||
**'''2nd Parameter''' - if there is a bonus/power specific amplification | **'''2nd Parameter''' - if there is a bonus/power specific amplification | ||
***e.g. <code><nowiki>{{tt/Compu|AtkPDmgAmp|+100 Attack Power}}</nowiki></code> {{tt/Compu|AtkPDmgAmp|+100 Attack Power}} | ***e.g. <code><nowiki>{{tt/Compu|AtkPDmgAmp|+100 Attack Power}}</nowiki></code> {{tt/Compu|AtkPDmgAmp|+100 Attack Power}} | ||
Line 35: | Line 39: | ||
*{{tt/Compu|AtkP%}} {{tt/Compu|Spel%}} {{tt/Compu|Sexi%}} | *{{tt/Compu|AtkP%}} {{tt/Compu|Spel%}} {{tt/Compu|Sexi%}} | ||
*{{tt/Compu|SpelHealAmp}} {{tt/Compu|SexiHealAmp}} | *{{tt/Compu|SpelHealAmp}} {{tt/Compu|SexiHealAmp}} | ||
− | *{{tt/Compu|AtkPDmgAmp}} {{tt/Compu|SexiDmgAmp}} {{tt/Compu|SpelDmgAmp}} | + | *{{tt/Compu|AtkPDmgAmp}} {{tt/Compu|SexiDmgAmp}} {{tt/Compu|SpelDmgAmp}} |
+ | *{{tt/Compu|WillAmp}} {{tt/Compu|PresAmp}} | ||
Special Case | Special Case | ||
*<code><nowiki>{{tt/Compu|MentDMG|Fire}}</nowiki></code> {{tt/Compu|MentDMG|Fire}} | *<code><nowiki>{{tt/Compu|MentDMG|Fire}}</nowiki></code> {{tt/Compu|MentDMG|Fire}} |
Revision as of 12:43, 9 April 2025
Documentation
Only has 1 parameter:
AtkP%
Sexi%
Spel%
WillAmp
PresAmp
Has two parameters:
- 1st Parameter - Computation name
SexiHealAmp
SpelDmgAmp
AtkPDmgAmp
SexiDmgAmp
SpelHealAmp
WillAmp
PresAmp
- 2nd Parameter - if there is a bonus/power specific amplification
- e.g.
{{tt/Compu|AtkPDmgAmp|+100 Attack Power}}
(Attack Power Dmg Amp [+ Bonus]Attack Power Damage Amplification1 + Attack Power / 100
Additional Bonus:
+100 Attack Power)
- e.g.
- 1st Parameter - Computation name
Special Case, attack & damage table:
- 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 & Sample
- (Attack Power%Attack Power as a %Example: 50 Attack Power = 50%) (Spellpower%Spellpower as a %Example: 50 Spellpower = 50%) (Sexiness%Sexiness as a %Example: 50 Sexiness = 50%)
- (Spellpower Heal AmpSpellpower Healing Amplification
1 + Spellpower / 200
) (Sexiness Heal AmpSexiness Healing Amplification1 + Sexiness / 200
) - (Attack Power Dmg AmpAttack Power Damage Amplification
1 + Attack Power / 100
) (Sexiness Dmg AmpSexiness Damage Amplification1 + Sexiness / 100
) (Spellpower Dmg AmpSpellpower Damage Amplification1 + Spellpower / 100
) - (Willpower AmpWillpower Amplification
10 * (1 + Willpower / 30)
) (Presence AmpPresence Amplification10 * (1 + Presence / 40)
)
Special Case
{{tt/Compu|MentDMG|Fire}}
(Mental DamageCompute Mental Damage
Final Damage will have a random effectiveness ofApply Defensive Reductions Attacker Defender Temptation - Focus = Defense If Defense is > 0: Damage * (100 /
(100 + Defense))Apply Fire Resistance by Damage - (Damage * (Resistance / 100))
95% to 105%
){{tt/Compu|MagATK||+20|-50}}
(Magic Attack [+ Bonus]Attempt a Magic Attack
)Attacker Defender Accuracy vs Magic Resist +20 Other Bonus -50 {{tt/Compu|MagATK|Spell|+20|-50}}
(Magic Attack [+ Bonus]Attempt a Magic Attack
)Attacker Defender Accuracy vs Magic Resist +Catalyst Accuracy & Critical Chance Catalyst Bonus / +20 Other Bonus -50 {{tt/Compu|WeapDMG|Frost}}
(Weapon DamageCompute Weapon Damage
Final Damage will have a random effectiveness ofApply Defensive Reductions Attacker Defender Armor Penetration - Armor = Defense If Defense is > 0: Damage * (100 /
(100 + Defense))Apply Frost Resistance by Damage - (Damage * (Resistance / 100))
95% to 105%
){{tt/Compu|AoeATK|Spell||-50}}
(AOE Attack [+ Bonus]Attempt a AOE Attack
)Attacker Defender Accuracy vs Evasion +Catalyst Accuracy & Critical Chance Catalyst Bonus / Other Bonus -50