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 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)
- 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
This template is to be primarily used within Template:tt/Compu, hence it being an extension name.
{{tt/Compu|MentDMG|Fire|SPEC|TEST}} (Mental DamageCompute Mental DamageApply Defensive Reductions| Attacker | | Defender |
| SPEC | - | TEST | = | 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|AoeATK|Spell|+20|-50}} (AOE Attack [+20][-50]Attempt a AOE Attack| Attacker | | Defender |
| Accuracy | vs | Evasion |
| +Catalyst Accuracy & Critical Chance | Catalyst Bonus | / |
| +20 | Other Bonus | -50 |
)
{{tt/Compu|MentDMG|Frost}} (Mental DamageCompute Mental DamageApply Defensive Reductions| Attacker | | Defender |
| 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%)
{{tt/Compu|AoeATK|Spell||-50}} (AOE Attack [-50]Attempt a AOE Attack| Attacker | | Defender |
| Accuracy | vs | Evasion |
| +Catalyst Accuracy & Critical Chance | Catalyst Bonus | / |
| Other Bonus | -50 |
)