打开/关闭菜单
2529
2489
5
4.4万
Corruption of Champions II Bilingual Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Template:Tt/Compu:修订间差异

模板页面
src->Spotty McBumble Fuck
Undo revision 39276 by Spotty McBumble Fuck (talk)
src->Spotty McBumble Fuck
great, now the 3rd&4th parameters are breaking
第9行: 第9行:
|SexiHealAmp|SpelHealAmp='''{{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} Healing Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} / 200</code>
|SexiHealAmp|SpelHealAmp='''{{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} Healing Amplification'''{{cw|spnhr}}<code>1 + {{#switch:{{{1|}}}|SexiHealAmp=Sexiness|SpelHealAmp=Spellpower}} / 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|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>
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{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|}}}}}
|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG={{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>
}}}})</includeonly><noinclude>
}}}})</includeonly><noinclude>
==Documentation==
==Documentation==
Most only have '''1''' parameter, which will call upon the computations.
*<code>AtkP%</code> <code>Sexi%</code> <code>Spel%</code>  
*<code>AtkP%</code> <code>Sexi%</code> <code>Spel%</code>  
*<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>
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: <code>AoeATK</code> <code>EvaATK</code> <code>MagATK</code> <code>MenATK</code> <code>PhyATK</code> <code>TeaATK</code> <code>WeaATK</code>
**Damage Table: <code>MentDMG</code> <code>PhysDMG</code> <code>SpelDMG</code> <code>TeasDMG</code> <code>WeapDMG</code>
*The next set of parameters '''depends on if its an attack or damage table''':
**Attack Table
***'''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)
**Damage Table
***'''2nd Parameter''' - Name of the Element/Resistance type


==Usage & Sample==
==Usage & Sample==
*{{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|AtkPDmgAmp}} {{tt/Compu|SexiDmgAmp}} {{tt/Compu|SpelDmgAmp}}  
*{{tt/Compu|SpelHealAmp}} {{tt/Compu|SexiHealAmp}}
*TEST
*{{tt/Compu|AtkPDmgAmp}} {{tt/Compu|SexiDmgAmp}} {{tt/Compu|SpelDmgAmp}}  
*{{tt/Compu|MentDMG|Fire}}
Special Case
*{{tt/Compu|AoeATK|Spell|+20|-50}}
*<code><nowiki>{{tt/Compu|MentDMG|Fire}}</nowiki></code> {{tt/Compu|MentDMG|Fire}}
*{{tt/Compu|MentDMG|Fire}} {{tt/Compu|MentDMG|Frost}}
*<code><nowiki>{{tt/Compu|MagATK||+20|-50}}</nowiki></code> {{tt/Compu|MagATK|test|+20|-50}}
*{{tt/Compu|AoeATK|Spell||-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}}</nowiki></code> {{tt/Compu|AoeATK|Spell||-50}}
</noinclude>
</noinclude>

2025年4月4日 (五) 14:23的版本

Documentation

Most only have 1 parameter, which will call upon the computations.

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

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
  • 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)
    • Damage Table
      • 2nd Parameter - Name of the Element/Resistance type

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)

Special Case

  • {{tt/Compu|MentDMG|Fire}} (Mental DamageCompute Mental Damage
    Apply Defensive Reductions
    AttackerDefender
    Temptation-Focus=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 AttackAttempt a Magic Attack
    AttackerDefender
    AccuracyvsMagic Resist
    +20-50Other Bonus
    )
  • {{tt/Compu|MagATK|Spell|+20|-50}} (Magic AttackAttempt a Magic Attack
    AttackerDefender
    AccuracyvsMagic Resist
    +Catalyst Accuracy & Critical ChanceCatalyst Bonus/
    +20-50Other Bonus
    )
  • {{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}} (AOE AttackAttempt a AOE Attack
    AttackerDefender
    AccuracyvsEvasion
    +Catalyst Accuracy & Critical ChanceCatalyst Bonus/
    -50Other Bonus
    )