Difference between revisions of "Damage"

From Cassette Beasts
m
(Correction to the CritMultiplier definition, and typos)
Line 5: Line 5:
 
*<math>Power</math> : Power of the attack
 
*<math>Power</math> : Power of the attack
 
*<math>Attack</math> : Statistic used by the attack. In most cases the attacker's melee or ranged attack, but it can be different for specific attacks or with sticker attributes.
 
*<math>Attack</math> : Statistic used by the attack. In most cases the attacker's melee or ranged attack, but it can be different for specific attacks or with sticker attributes.
*<math>Defense</math> : Defensive statistic of the defender, matching the [[phisicality|physicality]] of the attack.
+
*<math>Defense</math> : Defensive statistic of the defender, matching the [[Physicality|physicality]] of the attack.
 
*<math>Level</math> : Level of the attacker
 
*<math>Level</math> : Level of the attacker
*<math>Random</math> : Random integer between 85 and 100, following an uniform distribution.
+
*<math>Random</math> : Random integer between 85 and 100, following a uniform distribution.
 
*<math>STAB = \left\{ \begin{array}{cl}
 
*<math>STAB = \left\{ \begin{array}{cl}
 
1.2 & : \ \text{If any of the attack's types matches any of the attacker's types} \\
 
1.2 & : \ \text{If any of the attack's types matches any of the attacker's types} \\
Line 14: Line 14:
 
*<math>Advantage</math> : Number of negative [[Types|elemental reactions]] for the defender. (Equivalent to super-effective)
 
*<math>Advantage</math> : Number of negative [[Types|elemental reactions]] for the defender. (Equivalent to super-effective)
 
*<math>Disadvantage</math> : Number of positive [[Types|elemental reactions|Types]] for the defender. (Equivalent to not very effective)
 
*<math>Disadvantage</math> : Number of positive [[Types|elemental reactions|Types]] for the defender. (Equivalent to not very effective)
*<math>CritMultiplier = 1.5 + CritAttribute</math> ; where CritAttribute is the Critical Damage modifier of the sticker, if there is one (0 by default)
+
*<math>CritMultiplier = \left\{ \begin{array}{cl}
 +
1.5 + CritAttribute & : \ \text{If the attack is a critical hit} \\
 +
1 & : \ \text{Otherwise}
 +
\end{array} \right.</math> ; where CritAttribute is the Critical Damage modifier of the sticker (0 by default)
  
 
==Special Cases==
 
==Special Cases==

Revision as of 15:00, 15 May 2023

This section is a work in progress. It should be improved in the near future, but you are still free to edit it.

General Formula

Damage directly caused by attacks is calculated with the following formula :

  •  : Power of the attack
  •  : Statistic used by the attack. In most cases the attacker's melee or ranged attack, but it can be different for specific attacks or with sticker attributes.
  •  : Defensive statistic of the defender, matching the physicality of the attack.
  •  : Level of the attacker
  •  : Random integer between 85 and 100, following a uniform distribution.
  •  : Number of negative elemental reactions for the defender. (Equivalent to super-effective)
  •  : Number of positive elemental reactions|Types for the defender. (Equivalent to not very effective)
  •  ; where CritAttribute is the Critical Damage modifier of the sticker (0 by default)

Special Cases

Splash Damage

This section is incomplete. Feel free to add the missing information by editing it.

Damaging Statuses

This section is incomplete. Feel free to add the missing information by editing it.