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)
(WIP SAVE - CLOCKING OUT)
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
+
<includeonly>({{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=Sexiness|SpelHealAmp=Spellpower}} Heal Amp
|AtkP%={{tt|1=(Attack Power%)|2=Attack Power as a %{{cw|spnhr}}'''Example''': 50 Attack Power = 50%}}
+
|AtkPDmgAmp|SexiDmgAmp|SpelDmgAmp={{#switch:{{{1|}}}|AtkPDmgAmp=Attack Power|SexiDmgAmp=Sexiness|SpelDmgAmp=Spellpower}} Dmg Amp
|SpelHealAmp={{tt|1=(Spellpower Heal Amp)|2='''Spellpower Healing Amplification'''{{cw|spnhr}}<code>1 + (Spellpower / 200)</code>}}
+
}}|2={{#switch:{{{1|}}}
|SpelDmgAmp={{tt|1=(Spellpower Dmg Amp)|2='''Spellpower Damage Amplification'''{{cw|spnhr}}<code>1 + (Spellpower / 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%
|SexiDmgAmp={{tt|1=(Sexiness Dmg Amp)|2='''Sexiness Damage Amplification'''{{cw|spnhr}}<code>1 + (Sexiness / 100)</code>}}
+
|SexiHealAmp|SpelHealAmp='''{{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} Healing Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} / 200</code>
|SexiHealAmp={{tt|1=(Sexiness Heal Amp)|2='''Sexiness Healing Amplification'''{{cw|spnhr}}<code>1 + (Sexiness / 200)</code>}}
+
|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>
|AtkPDmgAmp={{tt|1=(Attack Power Dmg Amp)|2='''Attack Power Damage Amplification'''{{cw|spnhr}}<code>1 + (Attack Power / 100)</code>}}
+
}}
|MagATK={{tt|1=Magic Attack|2=Attempt a Magic Attack{{cw|spnhr}}{{tt/Compu/Tabs|Magic|{{{2|}}}|{{{3|}}}|{{{4|}}}}}}}
+
}})</includeonly><noinclude>
|TeaseDMG={{tt|1=Tease Damage|2=Compute Tease Damage{{cw|spnhr}}<center><table border=3; style="width:100%; text-align:center">
 
<caption>Apply Defensive Reductions</caption>
 
<tr><th>Attacker</th><td></td><th>'''Defender'''</th></tr>
 
<tr><td>Spell Penetration</td><td>-</td><td>Ward</td><td>=</td><td>'''Defense'''</td></tr>
 
<tr><td colspan="5">If '''Defense''' is > 0:<br><code>Damage * (100 / (100 + Defense))</td></tr>
 
<tr><td colspan="5">Apply '''{{{2|}}} Resistance''' by <code>Damage - (Damage * (Resistance / 100))</code>
 
</table>{{cw|spnhr}}Final Damage will have a random effectiveness of <code>95% to 105%</code>
 
</center>}}
 
}}</includeonly><noinclude>
 
  
==Parameters & Usage==
+
==Documentation==
This template only has '''1''' parameter:
+
*<code>AtkP%</code> <code>Sexi%</code>   <code>Spel%</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>SexiHealAmp</code> <code>SpelDmgAmp</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}}
+
*<code>AtkPDmgAmp</code> <code>SexiDmgAmp</code> <code>SpelHealAmp</code>
Sample:
 
*<code><nowiki>{{tt/Compu|AtkP%}}</nowiki></code> = {{tt/Compu|AtkP%}}
 
*<code><nowiki>{{tt/Compu|SpelHealAmp}}</nowiki></code> = {{tt/Compu|SpelHealAmp}}
 
*{{tt/Compu|MagATK|Spell|+15|-20}} {{tt/Compu|MagATK|||-20}} {{tt/Compu|MagATK}}
 
*{{tt/Compu|TeaseDMG|Fire}}
 
Advanced Sample:
 
  
*<code><nowiki>Add [{{color|pur|Presence * {{tt/Compu|SexiDmgAmp}}}}] '''Fire Damage'''</nowiki></code> = Add [{{color|pur|Presence * {{tt/Compu|SexiDmgAmp}}}}] '''Fire Damage'''
+
==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}}  
 +
 
 +
HEAVY WIP
 
</noinclude>
 
</noinclude>

Revision as of 15:50, 31 March 2025


Documentation

  • AtkP% Sexi% Spel%
  • SexiHealAmp SpelDmgAmp
  • AtkPDmgAmp SexiDmgAmp SpelHealAmp

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 Amplification1 + Spellpower / 200) (Sexiness Heal AmpSexiness Healing Amplification1 + Sexiness / 200)
  • (Attack Power Dmg AmpAttack Power Damage Amplification1 + Attack Power / 100) (Sexiness Dmg AmpSexiness Damage Amplification1 + Sexiness / 100) (Spellpower Dmg AmpSpellpower Damage Amplification1 + Spellpower / 100)

HEAVY WIP