Difference between revisions of "Critical Hit Chance Formula"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SnakeChomp
(Improve formatting)
imported>SnakeChomp
(Rename formula components to indicate intent. Attempt to indicate that game settings are not constants.)
Line 1: Line 1:
  Critical Hit Chance = PerkModifiers(ConditionFactor * (LuckFactor + CritChanceBonuses) * WeaponFactor) + VATSFactor
  Critical Hit Chance = PerkModifiers(ConditionPenalty * (LuckBonus + CritChanceBonuses) * WeaponMultiplier) + VATSBonus


'''PerkModifiers''' is a function that modifies the input value using any perks active on the actor that have a "Calculate My Critical Hit Chance" [[Entry Point]] and returns the result.
'''PerkModifiers''' is a function that modifies the input value using any perks active on the actor that have a "Calculate My Critical Hit Chance" [[Entry Point]] and returns the result.


'''ConditionFactor''' = WeaponCondition * fWeaponConditionCriticalChanceMult
'''ConditionPenalty''' = WeaponCondition * fWeaponConditionCriticalChanceMult
:*fWeaponConditionCriticalChanceMult = 0.1
:*fWeaponConditionCriticalChanceMult defaults to: 0.1
:*WeaponCondition is 10 at 100% condition, 5 at 50% condition, and etc.
:*WeaponCondition is 10 at 100% condition, 5 at 50% condition, and etc.


'''LuckFactor''' = fAVDCritLuckBase + ActorLuckValue * fAVDCritLuckMult
'''LuckBonus''' = fAVDCritLuckBase + ActorLuckValue * fAVDCritLuckMult
:*fAVDCritLuckBase = 0
:*fAVDCritLuckBase defaults to: 0
:*fAVDCritLuckMult = 1
:*fAVDCritLuckMult defaults to: 1
:*ActorLuckValue is the actor's luck value.
:*ActorLuckValue is the actor's luck value.


'''CritChanceBonuses''' are granted by certain abilities. For example, the Finesse perk is implemented as an ability which applies the "Increase Critical Chance" effect with a magnitute of 5, resulting in a value of 5 for CritChanceBonuses.
'''CritChanceBonuses''' are granted by certain abilities. For example, the Finesse perk is implemented as an ability which applies the "Increase Critical Chance" effect with a magnitude of 5, resulting in a value of 5 for CritChanceBonuses.


'''WeaponFactor''' is the "Crit % Mult" specified on the [[Weapons|weapon form]]. For automatic weapons, this value is divided by the "Fire Rate", also specified on the weapon form. For example, an Assault Rifle has a "Crit % Mult" of 1.0, and a "Fire Rate" of 8, so the WeaponFactor will be 0.125.
'''WeaponMultiplier''' is the "Crit % Mult" specified on the [[Weapons|weapon form]]. For automatic weapons, this value is divided by the "Fire Rate", also specified on the weapon form. For example, an Assault Rifle has a "Crit % Mult" of 1.0, and a "Fire Rate" of 8, so the WeaponMultiplier will be 0.125.


'''VATSFactor''' = fVATSCriticalChanceBonus
'''VATSBonus''' = fVATSCriticalChanceBonus
:*fVATSCriticalChanceBonus = 15
:*fVATSCriticalChanceBonus defaults to: 15
:*:This value is zero unless the attack is being made using VATS.
:*:This value is zero unless the attack is being made using VATS.

Revision as of 20:16, 24 December 2008

Critical Hit Chance = PerkModifiers(ConditionPenalty * (LuckBonus + CritChanceBonuses) * WeaponMultiplier) + VATSBonus

PerkModifiers is a function that modifies the input value using any perks active on the actor that have a "Calculate My Critical Hit Chance" Entry Point and returns the result.

ConditionPenalty = WeaponCondition * fWeaponConditionCriticalChanceMult

  • fWeaponConditionCriticalChanceMult defaults to: 0.1
  • WeaponCondition is 10 at 100% condition, 5 at 50% condition, and etc.

LuckBonus = fAVDCritLuckBase + ActorLuckValue * fAVDCritLuckMult

  • fAVDCritLuckBase defaults to: 0
  • fAVDCritLuckMult defaults to: 1
  • ActorLuckValue is the actor's luck value.

CritChanceBonuses are granted by certain abilities. For example, the Finesse perk is implemented as an ability which applies the "Increase Critical Chance" effect with a magnitude of 5, resulting in a value of 5 for CritChanceBonuses.

WeaponMultiplier is the "Crit % Mult" specified on the weapon form. For automatic weapons, this value is divided by the "Fire Rate", also specified on the weapon form. For example, an Assault Rifle has a "Crit % Mult" of 1.0, and a "Fire Rate" of 8, so the WeaponMultiplier will be 0.125.

VATSBonus = fVATSCriticalChanceBonus

  • fVATSCriticalChanceBonus defaults to: 15
    This value is zero unless the attack is being made using VATS.