Difference between revisions of "Hit chance"

From Cassette Beasts
(Rewritten some formulas)
m (→‎Accuracy and Evasion: Added more details in accuracy and evasion formulas)
Line 15: Line 15:
 
<math>\text{AttackerAccuracy} = 100 \times \prod_{ \text{m} \in \text{stickers} }\left(\frac{\text{AccuracyAttribute}_\text{m} + 100}{100}\right) \times \text{AccuracyStageMultiplier}</math>
 
<math>\text{AttackerAccuracy} = 100 \times \prod_{ \text{m} \in \text{stickers} }\left(\frac{\text{AccuracyAttribute}_\text{m} + 100}{100}\right) \times \text{AccuracyStageMultiplier}</math>
  
*<math>\text{AccuracyAttribute}</math> accounts for the ''Passive: +x% Accuracy'' and ''Passive: +% Accuracy per empty slot'' attributes.
+
The product term here means that the attribute values are multiplied, not added.
 +
 
 +
*<math>\text{AccuracyAttribute}</math> accounts for the ''Passive: +x% Accuracy'' and ''Passive: +% Accuracy per empty slot'' attributes across all stickers in the tape, which are multiplied together instead of being additive.
 
*<math>\text{AccuracyStageMultiplier}</math> is the multiplier from all present [[Stat Stages|stat stages]] that affect accuracy.
 
*<math>\text{AccuracyStageMultiplier}</math> is the multiplier from all present [[Stat Stages|stat stages]] that affect accuracy.
  
 
<math>\text{MoveAccuracy} = \text{BaseMoveAccuracy} \times \prod_{\text{m} \in \text{stickers}} \left( \frac{ \text{MoveAccuracyAttribute}_\text{m} + 100 }{100} \right)</math>
 
<math>\text{MoveAccuracy} = \text{BaseMoveAccuracy} \times \prod_{\text{m} \in \text{stickers}} \left( \frac{ \text{MoveAccuracyAttribute}_\text{m} + 100 }{100} \right)</math>
  
*<math>\text{MoveAccuracyAttribute}</math> accounts for the ''+x% Move accuracy'' and ''+x% Move accuracy per empty slot'' attributes.
+
*<math>\text{MoveAccuracyAttribute}</math> accounts for the ''+x% Move accuracy'' and ''+x% Move accuracy per empty slot'' attributes across all stickers in the tape, which are multiplied together instead of being additive.
 
*If the user has the [[Unitarget]] status, <math>\text{MoveAccuracy}</math> is halved.
 
*If the user has the [[Unitarget]] status, <math>\text{MoveAccuracy}</math> is halved.
 
*When [[Fog (status effect)|Fog]] is in effect and the move's type is not in the list of exempted moves, <math>\text{MoveAccuracy}</math> is set to 0.
 
*When [[Fog (status effect)|Fog]] is in effect and the move's type is not in the list of exempted moves, <math>\text{MoveAccuracy}</math> is set to 0.
  
<math>\text{DefenderEvasion} = 100 \times \prod_{ \text{m} \in \text{stickers} } \left(\frac{\text{EvasionAttribute}_\text{m} + 100}{100} \times \text{EvasionStatModifier} \right) \times \text{EvasionStageMultiplier} \times \text{EvasionStatusMultiplier}</math>
+
<math>\begin{align} \text{DefenderEvasion} & = 100 \times \prod_{ \text{m} \in \text{stickers} } \left(\frac{\text{EvasionAttribute}_\text{m} + 100}{100} \times \text{EvasionStatModifier} \right) \\
 +
& \quad \times \text{EvasionStageMultiplier} \times \text{EvasionStatusMultiplier}
 +
\end{align}</math>
  
*<math>\text{EvasionAttribute}</math> accounts for the ''Passive: +x% Evasion'' and ''Passive: +% Evasion per empty slot'' attributes.
+
*<math>\text{EvasionAttribute}</math> accounts for the ''Passive: +x% Evasion'' and ''Passive: +% Evasion per empty slot'' attributes across all stickers in the tape, which are multiplied together instead of being additive.
 
*<math display="inline">\text{EvasionStatModifier}</math> uses the multiplier from [[Shear Luck]] if present.
 
*<math display="inline">\text{EvasionStatModifier}</math> uses the multiplier from [[Shear Luck]] if present.
*<math>\text{EvasionStageMultiplier}</math> is the multiplier from all present [[Stat Stages|stat stages]] that affect evasion
+
*<math>\text{EvasionStageMultiplier}</math> is the multiplier from all present [[Stat Stages|stat stages]] that affect evasion.
 
*<math>\text{EvasionStatusMultiplier}</math> is a separate multiplier used by certain status effects.
 
*<math>\text{EvasionStatusMultiplier}</math> is a separate multiplier used by certain status effects.
**[[Evasion Nullified]] gives a multiplier of 1/100.<!-- global/BattleFormulas.gd:get_stat_stage_multiplier -->
+
**[[Evasion Nullified]] has a multiplier of 1/100, effectively resulting in <math display="inline">\text{DefenderEvasion}</math>being set to 1 after rounding.<!-- global/BattleFormulas.gd:get_stat_stage_multiplier -->
  
 
====Accuracy Statuses====
 
====Accuracy Statuses====
Line 38: Line 42:
 
!Icon
 
!Icon
 
!Name
 
!Name
!Stages
+
! colspan="2" |Stages
 
|-
 
|-
 
|[[File:Status Accuracy Up.png|42x42px]]
 
|[[File:Status Accuracy Up.png|42x42px]]
 
|[[Accuracy Up]]
 
|[[Accuracy Up]]
 
| align="center" | +2
 
| align="center" | +2
 +
| +50%
 
|-
 
|-
 
|[[File:Status Accuracy Down.png|42x42px]]
 
|[[File:Status Accuracy Down.png|42x42px]]
 
|[[Accuracy Down]]
 
|[[Accuracy Down]]
 
| align="center" | -2
 
| align="center" | -2
 +
| -33%
 
|-
 
|-
 
|[[File:Status Gambit.png|42x42px]]
 
|[[File:Status Gambit.png|42x42px]]
 
|[[Gambit (status effect)|Gambit]]
 
|[[Gambit (status effect)|Gambit]]
 
| align="center" | +4
 
| align="center" | +4
 +
| +100%
 
|}
 
|}
  
Line 59: Line 66:
 
!Icon
 
!Icon
 
!Name
 
!Name
!Stages
+
! colspan="2" |Stages
 
|-
 
|-
 
|[[File:Status Evasion Up.png|42x42px]]
 
|[[File:Status Evasion Up.png|42x42px]]
 
|[[Evasion Up]]
 
|[[Evasion Up]]
 
| align="center" | +4
 
| align="center" | +4
 +
| +100%
 
|-
 
|-
 
|[[File:Status Evasion Down.png|42x42px]]
 
|[[File:Status Evasion Down.png|42x42px]]
 
|[[Evasion Down]]
 
|[[Evasion Down]]
 
| align="center" | -4
 
| align="center" | -4
 +
| -50%
 
|-
 
|-
 
|[[File:Status Evasion Nullified.png|42x42px]]
 
|[[File:Status Evasion Nullified.png|42x42px]]
 
|[[Evasion Nullified]]
 
|[[Evasion Nullified]]
| align="center" |{{tt|*|Multiplies the defender evasion by 1%, accounted for in StatusesEvasionMultiplier}}
+
| colspan="2" align="center" |{{tt|*|Multiplies the defender evasion by 1%, accounted for in StatusesEvasionMultiplier}}
 
|}
 
|}
  

Revision as of 05:26, 30 January 2024

Hit chance determines the chance that a move will hit.

General Formulas

If the attacker has the Locked On status, the hit chance is set to 100%. Otherwise, if the defender has the Cottoned On status, then the hit chance is set to 0%. When neither status effects are present, the hit chance is

Accuracy and Evasion

Main article: Stat

The base values for the accuracy and evasion of tapes and characters are 100, so the formulas can be simplified as such:

The product term here means that the attribute values are multiplied, not added.

  • accounts for the Passive: +x% Accuracy and Passive: +% Accuracy per empty slot attributes across all stickers in the tape, which are multiplied together instead of being additive.
  • is the multiplier from all present stat stages that affect accuracy.

  • accounts for the +x% Move accuracy and +x% Move accuracy per empty slot attributes across all stickers in the tape, which are multiplied together instead of being additive.
  • If the user has the Unitarget status, is halved.
  • When Fog is in effect and the move's type is not in the list of exempted moves, is set to 0.

  • accounts for the Passive: +x% Evasion and Passive: +% Evasion per empty slot attributes across all stickers in the tape, which are multiplied together instead of being additive.
  • uses the multiplier from Shear Luck if present.
  • is the multiplier from all present stat stages that affect evasion.
  • is a separate multiplier used by certain status effects.
    • Evasion Nullified has a multiplier of 1/100, effectively resulting in being set to 1 after rounding.

Accuracy Statuses

Main article: Stat Stages
Icon Name Stages
Status Accuracy Up.png Accuracy Up +2 +50%
Status Accuracy Down.png Accuracy Down -2 -33%
Status Gambit.png Gambit +4 +100%

Evasion Statuses

Main article: Stat Stages
Icon Name Stages
Status Evasion Up.png Evasion Up +4 +100%
Status Evasion Down.png Evasion Down -4 -50%
Status Evasion Nullified.png Evasion Nullified *


Mechanics
Battle StatsDamageStat StagesHit chanceCritical hits
TypesStatus EffectsFusionExperience
RecordingFleeingSlotsSticker Attributes
Other AbilitiesBootlegsRelationships