X2AbilityToHitCalc_StandardAim¶
Editor: X2AbilityToHitCalcEditor_StandardAim · extends X2AbilityToHitCalcEditor_Base.
Own fields¶
| Config field | Type | Requires | Game field | Description |
|---|---|---|---|---|
IndirectFire |
bool |
SetIndirectFire=true |
bIndirectFire |
Treats the attack as indirect, like a grenade: it always hits, though crit, dodge and armour mitigation still apply. |
MeleeAttack |
bool |
SetMeleeAttack=true |
bMeleeAttack |
Treats the attack as melee, which ignores cover and applies the intrinsic melee hit bonus. |
ReactionFire |
bool |
SetReactionFire=true |
bReactionFire |
Treats the attack as reaction fire, which takes the reaction penalty and forgoes the flanking bonus. |
AllowCrit |
bool |
SetAllowCrit=true |
bAllowCrit |
Whether crits are built into the hit table at all. Turning it off makes the ability incapable of critting. |
HitsAreCrits |
bool |
SetHitsAreCrits=true |
bHitsAreCrits |
Converts every successful hit into a crit after the roll is made. |
MultiTargetOnly |
bool |
SetMultiTargetOnly=true |
bMultiTargetOnly |
Guarantees success when the ability has no primary target, for abilities that only ever hit multi-targets. |
OnlyMultiHitWithSuccess |
bool |
SetOnlyMultiHitWithSuccess=true |
bOnlyMultiHitWithSuccess |
Multi-target hits only land if the roll succeeded, as with Faceoff. |
GuaranteedHit |
bool |
SetGuaranteedHit=true |
bGuaranteedHit |
Always hits, skipping the normal hit modifiers. Armour mitigation still rolls. |
IgnoreCoverBonus |
bool |
SetIgnoreCoverBonus=true |
bIgnoreCoverBonus |
Ignores the target's high and low cover bonuses. |
FinalMultiplier |
float |
SetFinalMultiplier=true |
FinalMultiplier |
Scales the final hit chance after everything else. Appears in the shot breakdown attributed to the ability. |
BuiltInHitMod |
int |
SetBuiltInHitMod=true |
BuiltInHitMod |
Flat aim modifier the ability always carries. |
BuiltInCritMod |
int |
SetBuiltInCritMod=true |
BuiltInCritMod |
Flat crit modifier the ability always carries. |
Inherited fields¶
From X2AbilityToHitCalcEditor (1)
HitModifiers
Every one of these is documented under Shared fields or on the page for the class that introduces it.
Not editable from config
SHOULD_ENABLE_PENALTY_ON_ANGLE_TO_EXTENDED_HIGH_COVER— config — tune it in the game's own iniSHOULD_DISABLE_BONUS_ON_ANGLE_TO_EXTENDED_LOW_COVER— config — tune it in the game's own iniMAX_TILE_DISTANCE_TO_COVER— config — tune it in the game's own iniMIN_ANGLE_TO_COVER— config — tune it in the game's own iniMAX_ANGLE_TO_COVER— config — tune it in the game's own iniMIN_ANGLE_BONUS_MOD— config — tune it in the game's own iniMAX_ANGLE_BONUS_MOD— config — tune it in the game's own iniMIN_ANGLE_PENALTY— config — tune it in the game's own iniMAX_ANGLE_PENALTY— config — tune it in the game's own iniLOW_COVER_BONUS— config — tune it in the game's own iniHIGH_COVER_BONUS— config — tune it in the game's own iniMP_FLANKING_CRIT_BONUS— config — tune it in the game's own iniMELEE_HIT_BONUS— config — tune it in the game's own iniSQUADSIGHT_CRIT_MOD— config — tune it in the game's own iniSQUADSIGHT_DISTANCE_MOD— config — tune it in the game's own iniREACTION_FINALMOD— config — tune it in the game's own iniREACTION_DASHING_FINALMOD— config — tune it in the game's own iniNormalSquadSize— config — tune it in the game's own iniReasonableShotMinimumToEnableAimAssist— config — tune it in the game's own iniMaxAimAssistScore— config — tune it in the game's own iniBaseXComHitChanceModifier— config — tune it in the game's own iniMissStreakChanceAdjustment— config — tune it in the game's own iniHitStreakChanceAdjustment— config — tune it in the game's own iniSoldiersLostXComHitChanceAdjustment— config — tune it in the game's own iniSoldiersLostAlienHitChanceAdjustment— config — tune it in the game's own iniAlienVsTheLostHitChanceAdjustment— config — tune it in the game's own iniTheLostVsAlienHitChanceAdjustment— config — tune it in the game's own iniCritUpgradesThatDontUseEffects— config — tune it in the game's own ini