Editing Critical Hit Chance Formula

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
'''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.


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


'''CritChanceActorValue''' is an [[ActorValue]]. The base value = fAVDCritLuckBase + fAVDCritLuckMult * ''ActorLuckValue''
'''CritChanceActorValue''' is an [[ActorValue]]. The base value = fAVDCritLuckBase + ActorLuckValue * fAVDCritLuckMult
:*fAVDCritLuckBase defaults to: 0
:*fAVDCritLuckMult defaults to: 1
:*ActorLuckValue is the actor's luck value.
:The value of the CritChance actor value can be increased or decreased by certain abilities, effects, perks, enchanted armors, and consumables. For example, the Finesse perk is implemented by granting the player an ability which increases critical chance by 5. With this perk, the base value calculated from luck is further increased by 5 when calculating the CritChance actor value.
:The value of the CritChance actor value can be increased or decreased by certain abilities, effects, perks, enchanted armors, and consumables. For example, the Finesse perk is implemented by granting the player an ability which increases critical chance by 5. With this perk, the base value calculated from luck is further increased by 5 when calculating the CritChance actor value.


'''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.
'''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.


'''VATSBonus''' = fVATSCriticalChanceBonus * ''IsUsingVATS''
'''VATSBonus''' = fVATSCriticalChanceBonus
 
:*fVATSCriticalChanceBonus defaults to: 15
 
:*:This value is zero unless the attack is being made using VATS.
''ActorLuckValue'' is the actor's luck value.
 
''WeaponCondition'' is 10 at 100% condition, 5 at 50% condition, and etc.
 
''IsUsingVATS'' is 1 if the attack is being made with VATS, 0 otherwise.
 
=== Game settings used by this formula ===
 
{{SettingGroupHeader}}
{{SettingGroupSetting
|Name = fWeaponConditionCriticalChanceMult
|Default = 0.1
|Description = Used when calculating ''ConditionPenalty''
}}
{{SettingGroupSetting
|Name = fAVDCritLuckBase
|Default = 0
|Description = Used when calculating the ''CritChanceActorValue''
}}
{{SettingGroupSetting
|Name = fAVDCritLuckMult
|Default = 1
|Description = Used when calculating the ''CritChanceActorValue''
}}
{{SettingGroupSetting
|Name = fVATSCriticalChanceBonus
|Default = 15
|Description = Applied as a bonus chance to critically hit when attacking with VATS. A value of 100 adds 100% chance to crit, 15 is 15% chance to crit, etc.
}}
{{SettingGroupFooter}}

Please note that all contributions to the Fallout3 GECK Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see GECK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)