Difference between revisions of "Template:Tt/Compu"

From Corruption of Champions II
Jump to navigation Jump to search
(TESTING SAVE - IT WORKS BUT IF BLANK SEEMS OFF)
m
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
+
<includeonly><span style="display: inline-block">({{tt|1={{#switch:{{{1|}}}
|Sexi%={{tt|1=(Sexiness%)|2=Sexiness as a %{{cw|spnhr}}'''Example''': 50 Sexiness = 50%}}
+
|Sexi%=Sexiness%|Spel%=Spellpower%|AtkP%=Attack Power%
|Spel%={{tt|1=(Spellpower%)|2=Spellpower as a %{{cw|spnhr}}'''Example''': 50 Spellpower = 50%}}
+
|SexiHealAmp|SpelHealAmp={{#switch:{{{1|}}}|SexiHealAmp=Sexi|SpelHealAmp=Splpow}} HealAmp
|AtkP%={{tt|1=(Attack Power%)|2=Attack Power as a %{{cw|spnhr}}'''Example''': 50 Attack Power = 50%}}
+
|AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp|CunnDmgAmp={{#switch:{{{1|}}}|AtkPDmgAmp=AtkPow|SexiDmgAmp=Sexi|SpelDmgAmp=Splpow|CunnDmgAmp=Cunn}} DmgAmp {{#if:{{{2|}}}|[+ Bonus]}}
|SpelHealAmp={{tt|1=(Spellpower Heal Amp)|2='''Spellpower Healing Amplification'''{{cw|spnhr}}<code>1 + (Spellpower / 200)</code>}}
+
|MentDMG=Mental Damage|PhysDMG=Physical Damage|SpelDMG=Spell Damage|TeasDMG=Tease Damage|WeapDMG=Weapon Damage|OffWeapDMG=Offhand Weapon Damage
|SpelDmgAmp={{tt|1=(Spellpower Dmg Amp)|2='''Spellpower Damage Amplification'''{{cw|spnhr}}<code>1 + (Spellpower / 100)</code>}}
+
|WillAmp=Willpower Amp|PresAmp=Presence Amp|TougAmp=Toughness Amp|CunnAmp=Cunning Amp|StrnAmp=Strength Amp
|SexiDmgAmp={{tt|1=(Sexiness Dmg Amp)|2='''Sexiness Damage Amplification'''{{cw|spnhr}}<code>1 + (Sexiness / 100)</code>}}
+
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK|OffWeaATK={{#switch:{{{1|}}}|AoeATK=AOE|EvaATK=Evasion|MagATK=Magic|MenATK=Mental|PhyATK=Physical|TeaATK=Tease|WeaATK=Weapon|OffWeaATK=Offhand Weapon}} Attack {{#if:{{{3|}}}{{{4|}}}{{{5|}}}|[+ Bonus]}}
|SexiHealAmp={{tt|1=(Sexiness Heal Amp)|2='''Sexiness Healing Amplification'''{{cw|spnhr}}<code>1 + (Sexiness / 200)</code>}}
+
}}|2={{#switch:{{{1|}}}
|AtkPDmgAmp={{tt|1=(Attack Power Dmg Amp)|2='''Attack Power Damage Amplification'''{{cw|spnhr}}<code>1 + (Attack Power / 100)</code>}}
+
|Sexi%|Spel%|AtkP%={{#switch:{{{1|}}}|Sexi%=Sexiness|Spel%=Spellpower|AtkP%=Attack Power}} as a %{{cw|spnhr}}'''Example''': 50 {{#switch:{{{1|}}}|Sexi%=Sexiness|Spel%=Spellpower|AtkP%=Attack Power}} = 50%
|MagATK={{tt|1=Magic Attack|2=Attempt a Magic Attack{{cw|spnhr}}{{tt/Compu/Tabs|Magic|{{{2|}}}|{{{3|}}}|{{{4|}}}}}}}
+
|SexiHealAmp|SpelHealAmp='''{{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} Healing Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} / 200</code>{{#if:{{{2|}}}|{{cw|spnhr}}Additional Bonus:<br>'''{{{2|}}}'''}}{{cw|spnhr}}Final amount will have a random effectiveness of <code>95% to 105%</code>
|TeaseDMG={{tt|1=Tease Damage|2=Compute Tease Damage{{cw|spnhr}}<center><table border=3; style="width:100%; text-align:center">
+
|AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp|CunnDmgAmp='''{{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower|CunnDmgAmp=Cunning}} Damage Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower|CunnDmgAmp=Cunning}} / 100</code>{{#if:{{{2|}}}|{{cw|spnhr}}Additional Bonus:<br>'''{{{2|}}}'''}}  
<caption>Apply Defensive Reductions</caption>
+
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK|OffWeaATK=Attempt a {{#switch:{{{1|}}}|AoeATK=AOE|EvaATK=Evasion|MagATK=Magic|MenATK=Mental|PhyATK=Physical|TeaATK=Tease|WeaATK=Weapon|OffWeaATK=Offhand Weapon}} Attack{{cw|spnhr}}{{tt/Compu/Tabs|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}{{#if:{{{5|}}}|{{cw|spnhr}}{{{5|}}}}}{{#switch:{{{1|}}}|OffWeaATK={{cw|spnhr}}'''Offhand Penalty'''<br>'''-10 Accuracy'''}}
<tr><th>Attacker</th><td></td><th>'''Defender'''</th></tr>
+
|WillAmp|PresAmp|TougAmp|CunnAmp|StrnAmp={{#switch:{{{1|}}}|WillAmp=Willpower|PresAmp=Presence|TougAmp=Toughness|CunnAmp=Cunning|StrnAmp=Strength}} Amplification{{cw|spnhr}}<code>{{#switch:{{{1|}}}|WillAmp=1 + Willpower / {{{2|}}}|PresAmp=1 + Presence / {{{2|}}}|TougAmp=1 + Toughness / {{{2|}}}|StrnAmp=1 + Strength / {{{2|}}}|CunnAmp=1 + Cunning / {{{2|}}}}}</code>
<tr><td>Spell Penetration</td><td>-</td><td>Ward</td><td>=</td><td>'''Defense'''</td></tr>
+
|MentDMG|PhysDMG|SpelDMG|TeasDMG|OffWeapDMG|WeapDMG=Compute {{#switch:{{{1|}}}|MentDMG=Mental|PhysDMG=Physical|SpelDMG=Spell|TeasDMG=Tease|WeapDMG=Weapon|OffWeapDMG=Offhand Weapon}} Damage{{cw|spnhr}}{{tt/Compu/Tabs|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}{{cw|spnhr}}Final Damage will have a random effectiveness of <code>95% to 105%</code>{{#switch:{{{1|}}}|TeasDMG={{cw|spnhr}}'''Likes / Dislikes''' for {{tt/PTag|Body-Tease Attacks}}<br>Each matching likes or dislikes gives a<br><code>+ or - 10%</code> to the damage|OffWeapDMG={{cw|spnhr}}'''Offhand Penalty'''<br>Only deals [<code>75%</code>] Damage}}
<tr><td colspan="5">If '''Defense''' is > 0:<br><code>Damage * (100 / (100 + Defense))</td></tr>
+
}}}})</span></includeonly><noinclude>
<tr><td colspan="5">Apply '''{{{2|}}} Resistance''' by <code>Damage - (Damage * (Resistance / 100))</code>
+
==Documentation==
</table>{{cw|spnhr}}Final Damage will have a random effectiveness of <code>95% to 105%</code>
+
Only has '''1''' parameter:
</center>}}
+
*<code>AtkP%</code> <code>Sexi%</code> <code>Spel%</code>
}}</includeonly><noinclude>
+
Has '''two''' parameters:
 
+
*'''1st Parameter''' - Computation name
==Parameters & Usage==
+
**<code>SexiHealAmp</code> <code>SpelHealAmp</code>
This template only has '''1''' parameter:
+
**<code>AtkPDmgAmp</code> <code>SexiDmgAmp</code> <code>SpelDmgAmp</code> <code>CunnDmgAmp</code>
*<code>AtkP%</code> <code>AtkPDmgAmp</code> <code>Sexi%</code> <code>SexiDmgAmp</code> <code>SexiHealAmp</code> <code>Spel%</code> <code>SpelDmgAmp</code> <code>SpelHealAmp</code>
+
**<code>WillAmp</code> <code>PresAmp</code> <code>TougAmp</code> <code>CunnAmp</code> <code>StrnAmp</code>
*{{tt/Compu|AtkP%}} {{tt/Compu|AtkPDmgAmp}} {{tt/Compu|Sexi%}} {{tt/Compu|SexiDmgAmp}} {{tt/Compu|SexiHealAmp}} {{tt/Compu|Spel%}} {{tt/Compu|SpelDmgAmp}} {{tt/Compu|SpelHealAmp}}
+
*'''2nd Parameter''' - if there is a bonus/power specific amplification
Sample:
+
**e.g. <code><nowiki>{{tt/Compu|AtkPDmgAmp|+100 Attack Power}}</nowiki></code> {{tt/Compu|AtkPDmgAmp|+100 Attack Power}}
*<code><nowiki>{{tt/Compu|AtkP%}}</nowiki></code> = {{tt/Compu|AtkP%}}
+
Special Case, attack & damage table:
*<code><nowiki>{{tt/Compu|SpelHealAmp}}</nowiki></code> = {{tt/Compu|SpelHealAmp}}
+
*'''1st Parameter''' - Table Type (i.e. is it to calculate if an attack hits or to how damage is calculated)
*{{tt/Compu|MagATK|Spell|+15|-20}} {{tt/Compu|MagATK|||-20}} {{tt/Compu|MagATK}}
+
**Attack Table: <code>AoeATK</code> <code>EvaATK</code> <code>MagATK</code> <code>MenATK</code> <code>PhyATK</code> <code>TeaATK</code> <code>WeaATK</code> <code>OffWeaATK</code>
*{{tt/Compu|TeaseDMG|Fire}}
+
**Damage Table: <code>MentDMG</code> <code>PhysDMG</code> <code>SpelDMG</code> <code>TeasDMG</code> <code>WeapDMG</code> <code>OffWeapDMG</code>
Advanced Sample:
+
*The next set of parameters '''depends on if its an attack or damage table''':
 
+
**Attack Table
*<code><nowiki>Add [{{color|pur|Presence * {{tt/Compu|SexiDmgAmp}}}}] '''Fire Damage'''</nowiki></code> = Add [{{color|pur|Presence * {{tt/Compu|SexiDmgAmp}}}}] '''Fire Damage'''
+
***'''2nd Parameter''' - Includes catalyst bonus? (either <code>Charm</code> or <code>Spell</code>, 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)
 +
***'''5th Parameter''' - Any other bonuses/notes
 +
**Damage Table
 +
***'''2nd Parameter''' - Name of the Element/Resistance type
 +
***'''3rd & 4th Parameters''' - (optional) special catch case in the event the attack type and defense is different
 +
==Usage & Sample==
 +
*{{tt/Compu|AtkP%}} {{tt/Compu|Spel%}} {{tt/Compu|Sexi%}}
 +
*{{tt/Compu|SpelHealAmp}} {{tt/Compu|SexiHealAmp}}
 +
*{{tt/Compu|AtkPDmgAmp}} {{tt/Compu|SexiDmgAmp}} {{tt/Compu|SpelDmgAmp}} {{tt/Compu|CunnDmgAmp}}
 +
*{{tt/Compu|WillAmp}} {{tt/Compu|PresAmp}} {{tt/Compu|TougAmp}} {{tt/Compu|CunnAmp}} {{tt/Compu|StrnAmp}}
 +
*{{tt/Compu|OffWeaATK}} {{tt/Compu|OffWeapDMG}}
 +
Special Case
 +
*<code><nowiki>{{tt/Compu|MentDMG|Fire|TEST|SPEC}}</nowiki></code> {{tt/Compu|MentDMG|Fire|TEST|SPEC}}
 +
*<code><nowiki>{{tt/Compu|MagATK||+20|-50}}</nowiki></code> {{tt/Compu|MagATK|test|+20|-50}}
 +
*<code><nowiki>{{tt/Compu|MagATK|Spell|+20|-50}}</nowiki></code> {{tt/Compu|MagATK|Spell|+20|-50}}
 +
*<code><nowiki>{{tt/Compu|WeapDMG|Frost}}</nowiki></code> {{tt/Compu|WeapDMG|Frost}}
 +
*<code><nowiki>{{tt/Compu|AoeATK|Spell||-50|+20 Critical Chance if target is affected by {{tt/Eff|Flight}}}}</nowiki></code> {{tt/Compu|AoeATK|Spell||-50|+20 Critical Chance if target is affected by {{tt/Eff|Flight}}}}
 +
[[Category:Useable templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:55, 25 June 2025

Documentation

Only has 1 parameter:

  • AtkP% Sexi% Spel%

Has two parameters:

  • 1st Parameter - Computation name
    • SexiHealAmp SpelHealAmp
    • AtkPDmgAmp SexiDmgAmp SpelDmgAmp CunnDmgAmp
    • WillAmp PresAmp TougAmp CunnAmp StrnAmp
  • 2nd Parameter - if there is a bonus/power specific amplification
    • e.g. {{tt/Compu|AtkPDmgAmp|+100 Attack Power}} (AtkPow DmgAmp [+ Bonus]Attack Power Damage Amplification1 + Attack Power / 100Additional Bonus:
      +100 Attack Power
      )

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 OffWeaATK
    • Damage Table: MentDMG PhysDMG SpelDMG TeasDMG WeapDMG OffWeapDMG
  • The next set of parameters depends on if its an attack or damage table:
    • Attack Table
      • 2nd Parameter - Includes catalyst bonus? (either Charm or Spell, 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)
      • 5th Parameter - Any other bonuses/notes
    • Damage Table
      • 2nd Parameter - Name of the Element/Resistance type
      • 3rd & 4th Parameters - (optional) special catch case in the event the attack type and defense is different

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%)
  • (Splpow HealAmpSpellpower Healing Amplification1 + Spellpower / 200Final amount will have a random effectiveness of 95% to 105%) (Sexi HealAmpSexiness Healing Amplification1 + Sexiness / 200Final amount will have a random effectiveness of 95% to 105%)
  • (AtkPow DmgAmpAttack Power Damage Amplification1 + Attack Power / 100) (Sexi DmgAmpSexiness Damage Amplification1 + Sexiness / 100) (Splpow DmgAmpSpellpower Damage Amplification1 + Spellpower / 100) (Cunn DmgAmpCunning Damage Amplification1 + Cunning / 100)
  • (Willpower AmpWillpower Amplification1 + Willpower /) (Presence AmpPresence Amplification1 + Presence /) (Toughness AmpToughness Amplification1 + Toughness /) (Cunning AmpCunning Amplification1 + Cunning /) (Strength AmpStrength Amplification1 + Strength /)
  • (Offhand Weapon AttackAttempt a Offhand Weapon Attack
    AttackerDefender
    AccuracyvsEvasion
    -10Offhand
    Penalty
    /
    Offhand Penalty
    -10 Accuracy
    )
    (Offhand Weapon DamageCompute Offhand Weapon Damage
    Apply Defensive Reductions
    AttackerDefender
    Armor Penetration-Armor=Defense
    If Defense is > 0:
    Damage * (100 /
    (100 + Defense))
    Final Damage will have a random effectiveness of 95% to 105%Offhand Penalty
    Only deals [75%] Damage
    )

Special Case

  • {{tt/Compu|MentDMG|Fire|TEST|SPEC}} (Mental DamageCompute Mental Damage
    Apply Defensive Reductions
    AttackerDefender
    TEST-SPEC=Defense
    If Defense is > 0:
    Damage * (100 /
    (100 + Defense))
    Apply Fire Resistance by Damage - (Damage * (Resistance / 100))
    Final Damage will have a random effectiveness of 95% to 105%
    )
  • {{tt/Compu|MagATK||+20|-50}} (Magic Attack [+ Bonus]Attempt a Magic Attack
    AttackerDefender
    AccuracyvsMagic Resist
    +20Other Bonus-50
    )
  • {{tt/Compu|MagATK|Spell|+20|-50}} (Magic Attack [+ Bonus]Attempt a Magic Attack
    AttackerDefender
    AccuracyvsMagic Resist
    +Catalyst Accuracy & Critical ChanceCatalyst Bonus/
    +20Other Bonus-50
    )
  • {{tt/Compu|WeapDMG|Frost}} (Weapon DamageCompute Weapon Damage
    Apply Defensive Reductions
    AttackerDefender
    Armor Penetration-Armor=Defense
    If Defense is > 0:
    Damage * (100 /
    (100 + Defense))
    Apply Frost Resistance by Damage - (Damage * (Resistance / 100))
    Final Damage will have a random effectiveness of 95% to 105%
    )
  • {{tt/Compu|AoeATK|Spell||-50|+20 Critical Chance if target is affected by {{tt/Eff|Flight}}}} (AOE Attack [+ Bonus]Attempt a AOE Attack
    AttackerDefender
    AccuracyvsEvasion
    +Catalyst Accuracy & Critical ChanceCatalyst Bonus/
    Other Bonus-50
    +20 Critical Chance if target is affected by [Icon-SE-Pos.pngFlightCombat EffectNon-Ranged or Thrown (Weapon AttackAttempt a Weapon Attack
    AttackerDefender
    AccuracyvsEvasion
    )
    s against the user have -20 AccuracyDuration: Until encounter end (or caster is interrupted/defeated)
    ]
    )