Difference between revisions of "Damage"
(Make some readability improvements) |
(Corrected the level term in the damage formula (line 36 uses l + 4 where l = level + 33)) |
||
Line 2: | Line 2: | ||
Damage directly caused by attacks is calculated with the following formula: | Damage directly caused by attacks is calculated with the following formula: | ||
− | <math>\text{Damage} = \left[\text{Power} \times \frac{\text{Attack}}{\text{Defense}} \times \frac{\text{Level} + | + | <math>\text{Damage} = \left[\text{Power} \times \frac{\text{Attack}}{\text{Defense}} \times \frac{\text{Level} + 37}{100} \times \frac{\text{Random}}{100} + 1\right] \times \text{STAB} \times 1.3^{(\text{Advantage} - \text{Disadvantage})} \times \text{CritMultiplier}</math> |
*<math>\text{Power}</math> : Power of the attack | *<math>\text{Power}</math> : Power of the attack | ||
*<math>\text{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>\text{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. | ||
Line 27: | Line 27: | ||
Some attacks first deal damage to the user before proceeding. This damage is typeless, cannot STAB, and cannot critically strike. It is calculated with the following formula: | Some attacks first deal damage to the user before proceeding. This damage is typeless, cannot STAB, and cannot critically strike. It is calculated with the following formula: | ||
− | <math>\text{Damage} = \left[\text{ReturnPower} \times \frac{\text{Attack}}{\text{Defense}} \times \frac{\text{Level} + | + | <math>\text{Damage} = \left[\text{ReturnPower} \times \frac{\text{Attack}}{\text{Defense}} \times \frac{\text{Level} + 37}{100} \times \frac{\text{Random}}{100} + 1\right] + \text{ReturnAbsolute} + \frac{\text{ReturnPercent}}{100} \times \text{MaxHP}</math> |
*<math>\text{ReturnPower}</math> : Return power of the attack (not the power listed on the sticker) | *<math>\text{ReturnPower}</math> : Return power of the attack (not the power listed on the sticker) | ||
*<math>\text{Attack}</math> : Offensive statistic of the user, depending on the move's [[Physicality|physicality]]. Ignores any alternate statistic attribute. | *<math>\text{Attack}</math> : Offensive statistic of the user, depending on the move's [[Physicality|physicality]]. Ignores any alternate statistic attribute. |
Revision as of 17:01, 25 September 2023
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 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
Some rare stickers have a bonus splash damage effect, which does a given percentage of the damage to any teammates of the attack target. Strangely enough, splash damage can hurt characters with the Ghostly status.
Self-Damage
Some attacks first deal damage to the user before proceeding. This damage is typeless, cannot STAB, and cannot critically strike. It is calculated with the following formula:
- : Return power of the attack (not the power listed on the sticker)
- : Offensive statistic of the user, depending on the move's physicality. Ignores any alternate statistic attribute.
- : Defensive statistic of the user, depending on the move's physicality.
- : Level of the user.
- : Random integer between 85 and 100, following a uniform distribution.
- : Absolute self-damage of the attack.
- : Percentage of maximum health inflicted as self-damage by the attack.
Bulletino Dash
The damage from Bulletino Dash is applied before the player or their partner transforms.
It is considered a 30 power fire type attack launched by the player. The calculation uses the level and melee attack stat of the player, and the melee defense stats of the opponents.
This damage cannot critically strike, and STAB cannot apply.
Trivia
- The abbreviation STAB is used because of the similarity of the mechanic to Pokémon's Same-Type Attack Bonus, although it is named Same-Type Damage Multiplier in the game's files.
Mechanics | ||||
|