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

Template:Tt/Compu/Tabs:修订间差异

模板页面
src->Spotty McBumble Fuck
无编辑摘要
src->Spotty McBumble Fuck
fuck sake, I can't figure out why the bullet point bleed happens - continue tomorrow
第1行: 第1行:
<includeonly><center><table border=3; style="width:100%; text-align:center; valign:top">
<includeonly><table border=3; style="width:100%; text-align:center">
{{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<caption>Apply Defensive Reductions</caption>}}
{{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<caption>Apply Defensive Reductions</caption>}}
<tr><td>'''Attacker'''</td><td></td><td>'''Defender'''</td></tr>
<tr><td>'''Attacker'''</td><td></td><td>'''Defender'''</td></tr>
{{#switch:{{{1|}}}
{{#switch:{{{1|}}}
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK=<tr><td>Accuracy</td><td>vs</td><td>{{#switch:{{{1|}}}|AoeATK|EvaATK|WeaATK=Evasion|PhyATK=Physical<br>Resist|MagATK=Magic<br>Resist|MenATK|TeaATK=Mental<br>Resist
|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK=<tr><td>Accuracy</td><td>vs</td><td>{{#switch:{{{1|}}}|AoeATK|EvaATK|WeaATK=Evasion|PhyATK=Physical Resist|MagATK=Magic Resist|MenATK|TeaATK=Mental Resist
}}</td></tr>
}}</td></tr>
|WeapDMG|PhysDMG=<tr><td>Armor Penetration</td><td>-</td><td>Armor</td><td>=</td><td>'''Defense'''</td></tr>
|WeapDMG|PhysDMG=<tr><td>Armor Penetration</td><td>-</td><td>Armor</td><td>=</td><td>'''Defense'''</td></tr>
第9行: 第9行:
|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 <nowiki>*</nowiki> (100 /<br>(100 + Defense))</td></tr>}}
{{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">If '''Defense''' is > 0:<br/><code>Damage <nowiki>*</nowiki> (100 /<br/>(100 + Defense))</td></tr>}}
{{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">Apply '''{{{2|}}} Resistance''' by <code>Damage - (Damage <nowiki>*</nowiki> (Resistance / 100))</code></td></tr>}}
{{#switch:{{{1|}}}|MentDMG|PhysDMG|SpelDMG|TeasDMG|WeapDMG=<tr><td colspan="5">Apply '''{{{2|}}} Resistance''' by <code>Damage - (Damage <nowiki>*</nowiki> (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>}}}}
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#if:{{{3|}}}{{{4|}}}|<tr><td>{{{3|}}}</td><td>'''Other Bonus'''</td><td>{{{4|}}}</td></tr>}}}}
{{#switch:{{{1|}}}|AoeATK|EvaATK|MagATK|MenATK|PhyATK|TeaATK|WeaATK={{#if:{{{3|}}}{{{4|}}}|<tr><td>{{{3|}}}</td><td>'''Other Bonus'''</td><td>{{{4|}}}</td></tr>}}}}
</table></center></includeonly><noinclude>
</table></includeonly><noinclude>


==Documentation==
==Documentation==
第27行: 第27行:


==Usage==
==Usage==
This template is to be primarily used within [[Template:tt/Compu]], hence it being an extension name.  
This template is to be primarily used within [[Template:tt/Compu]], hence it being an extension name.
 
*TEST
*{{tt/Compu|MentDMG|Fire}}
*{{tt/Compu|AoeATK|Spell|+20|-50}}
*{{tt/Compu|MentDMG|Fire}} {{tt/Compu|MentDMG|Frost}}
*{{tt/Compu|AoeATK|Spell||-50}}
</noinclude>
</noinclude>

2025年4月4日 (五) 00:26的版本


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
  • 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

This template is to be primarily used within Template:tt/Compu, hence it being an extension name.

  • TEST
  • (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%
    )
    • (AOE Attack [+20][-50]Attempt a AOE Attack


      AttackerDefender
      AccuracyvsEvasion
      +Catalyst AccuracyCatalyst Bonus/
      +20Other Bonus-50
      )
      • (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%
        ) (Mental DamageCompute Mental Damage


        Apply Defensive Reductions
        AttackerDefender
        Temptation-Focus=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%
        )
        • (AOE Attack [-50]Attempt a AOE Attack


          AttackerDefender
          AccuracyvsEvasion
          +Catalyst AccuracyCatalyst Bonus/
          Other Bonus-50
          )