Star Wars Knights of the Old Republic II: The Sith Lords/Combat

Attack
Attacks with weapons cannot normally hit and subsequently damage an opponent unless an attack roll is equal to or greater than that opponent's. An attack roll is the sum of the roll of a twenty-sided die (d20) and all attack bonuses and penalties. According to the log, a minimum d20 roll (1) is an automatic miss while a maximum d20 roll (20) is an automatic hit (and ), so chance to hit has a minimum of 5% and a maximum of 95% regardless of whether or not the total attack roll would equal or exceed defense.

Maximum 95% chance to hit is achieved when the sum of 2 (the lowest d20 roll that isn't an automatic miss) and attack bonuses and penalties is equal to or greater than the target's defense.

All characters have a base attack bonus equal to their character or class level(s). Although enemies normally only have class level 1 and thus base 1, they receive a bonus to this based on your main character level:

Dual Wield Penalty
Using two weapons or a double-bladed weapon normally incurs an attack penalty, which depends on whether or not the attacker has any feat and a balanced weapon (which adds Small Offhand Bonus 2 to the attack(s) of the main hand):

All blaster pistols, s and double-handed melee weapons are balanced, as are all s, short swords and vibroblades in the off hand.

Once Two-Weapon Fighting has been mastered, the and  Prestige classes can then select  to reduce this attack penalty even further:

Feats
Some feats add a bonus to, or inflict a penalty on, the attack roll:

🇨🇴

🇨🇴

🇨🇴

All ../Prestige classes/ are granted Weapon Focus: Lightsaber and can select : Lightsaber, but only a or  can then select : Lightsaber.

Ranged
Bonuses can be added to the attack roll for close proximity ranged attacks, and melee attacks on ranged attackers, depending on whether or not the attacker, or defender, has any feat:

Close Combat is granted to level 4 s, but these feats can be selected by all classes except ../Prestige classes/.

Scouts are also granted feats, which add an attack bonus when using blaster pistols and rifles:

Lightsaber form
Some lightsaber forms add a bonus to the attack roll:

Attribute modifier
mod(ifier) is normally added to the attack roll when using melee weapons and lightsabers.

Dexterity mod(ifier) is added to the attack roll when using ranged weapons. If greater than strength mod, then it can be added to melee attack rolls instead of Strength modifier after selecting the : Melee Weapons feat, and to lightsaber attack rolls after selecting either of the Finesse: Melee Weapons or Lightsaber feats.

Player Modifier is also added to your party's attack rolls, but not your own.

Effect Bonus
Some weapons and items add an effect bonus or penalty to the attack roll, as do the following ../Force powers/ and stimulants:

🇨🇴

🇨🇴

🇨🇴

Critical Threat
As well as resulting in an automatic hit, an attack roll with a maximum d20 roll (20) results in an automatic Critical Threat. This threat roll is effectively a second attack roll which can result in a critical hit, multiplying damage rolls and bonuses when equal to or greater than an opponent's. However, unlike an attack roll, a threat roll cannot automatically miss (roll 1) or hit (roll 20) so conversion of critical threats to critical hits can be 0% (roll 20 + Attack < Defense) and 100% (roll 1 + Attack ≥ Defense).

lightsaber form adds 4 to the threat roll, although the only indication of this in the log's Threat Breakdown is if there's threat success with Attack < Defense (for example, threat success with Attack 40 vs Defense 44; without this form, success would require at least Attack = Defense, or 44).

Unarmed attacks have Critical Threat: 20-20,x2 but some weapons have a higher Critical Threat range, increasing the chance of a roll within that range:

The Keen bonus can increase base Critical Threat range, as can the and  feats. According to the log, any Keen bonus is additive with feat bonuses, resulting in the following:

lightsaber form can then decrease weapon Threat range by 1 (5%) to minimum 20-20 (5%), while lightsaber form increases it by 1 (5%) to maximum 10-20 (55%) using a Keen (Short) Lightsaber with Master Critical Strike.

Defense
Characters can only be hit and subsequently damaged by attacks with weapons when an attack roll is equal to or greater than defense. An attack roll is the sum of the roll of a twenty-sided die (d20) and all attack bonuses and penalties. According to the log, a minimum d20 roll (1) is an automatic miss while a maximum d20 roll (20) is an automatic hit (and ), so chance to hit has a minimum of 5% and a maximum of 95% regardless of whether or not the total attack roll would equal or exceed defense.

Minimum 5% chance to hit is achieved when the sum of 19 (the highest d20 roll that isn't an automatic hit) and the attacker's attack bonuses and penalties is less than defense.

All characters start with base 10 defense.

Armor
Body armor adds to defense, but it can also restrict how much of a character's dex(terity) mod(ifier) is added as well: for example, an armor displaying Max Dexterity Bonus: +5 restricts defense added by dex mod to +5, even when it's greater than +5.

The has armor 1, but no Max Dexterity Bonus.

Any remaining Defense Bonus is added to feats and effects mod. Some armors have higher Max Dexterity Bonus, and underlays can increase it for any heavy armor:

🇨🇴

🇨🇴

🇨🇴

🇨🇴

🇨🇴

Otherwise, dex mod is unrestricted when unarmored (unclothed, or wearing clothing or robes with no Max Dexterity Bonus specified).

Class
All classes except the and  are granted a defense bonus which can increase on level up:

Although this bonus is normally attributed to a feat, it's entirely dependent on class: for example,, and  are all granted the same bonus as all are Soldiers, even though only Mandalore has the Mandalorian Courage feat.

Classes are granted this bonus at the following levels:

Although enemies normally only have class level 1, a defense bonus is added to any class bonus based on your main character level:

Some characters, like, are also granted a natural bonus.

Feats and effects
The log sums defense bonuses and penalties from the following under feats and effects mod:

🇨🇴

🇨🇴

🇨🇴

and other items can also have defense bonuses and penalties added to feats and effects:

🇨🇴

🇨🇴

🇨🇴

Feats and effects from all of the above are restricted to maximum 10: for example, a Jedi using Master Speed (+4) and Force Armor (+6) with (+1) and two s with Expert s (+2 each) only receives a defense bonus of 10, not 15.

However, this also means that penalties can be incurred without reducing defense, since they can be offset by any excess: for example, for that same Jedi it makes no difference if Critical Strike (-5) is used since the defense bonus is 10 in either case (15 is restricted to 10, or 15 - 5 = 10).

The following are also added to feats and effects, but they are not restricted to maximum 10:

🇨🇴

🇨🇴

🇨🇴



🇨🇴

🇨🇴

🇨🇴

Defense and Defense vs Current Target bonuses and penalties are cumulative:

Defense bonuses restricted by enemy damage type or alignment are added to feats and effects unrestricted:

🇨🇴

modifier is also added to feats and effects unrestricted for a male character with, as long as he's not wearing anything with an armor value.

So feats and effects can exceed maximum 10 in these cases: for example, a Jedi using Master Speed (+4) and Force Armor (+6) with Ossus Keeper Robe (+1) and two Lightsabers with Expert Fencing Emitters (+2 each) and Moderation (Niman) lightsaber form (+1) receives a defense bonus of 11 (min(15, 10) + 1).

However, this also means that any subsequent penalties cannot be offset by any excess: for example, if that same Jedi uses Master Fury (-6) as well, the defense bonus is 5 (min(15, 10) + 1 - 6).

Any bonus is listed separately as feat:

Debilitated penalty
Debilitated penalty results in -4 defense whenever a target is debilitated by any of the following:

Being debilitated also means modifier isn't added to defense or Reflex save (although  modifier can still be added to defense by ), and debilitated droids have saves reduced by 2. Characters may avoid being debilitated with a successful save, Immunity:, , or feats.

Damage

 * Weapon damage and bonuses of same type
 * Bonuses of different damage type(s)
 * mod(ifier)

Misc. effect damage

 * Battle

Then damage, none are multiplied by a critical hit

Damage Immunity
Sums as expected, despite what descriptions may display.

Shields
../Arms/ and ../Shields/

Toughness
or before Improved

Damage Resistance
Only highest value counts

Combat Difficulty
Adjusting Combat Difficulty in Gameplay at any time has the following effect on damage from enemy attacks:

Final enemy damage is reduced by 50% on Easy and increased by 50% on Hard, rounding down in both cases. This includes 'friendly' fire from grenades, and returned blaster bolts.

Vitality
Your main character and party are granted the following Vitality per class level:

However, enemies normally have their own base Vitality value, with a multiplier based on your main character level:

modifier is also added to Vitality per level for all characters, retroactive for levels previously gained, as are the following:

🇨🇴

🇨🇴

🇨🇴

Vitality bonuses are also granted by the following:

Regeneration
Your main character and party can regenerate lost once every 6 seconds, depending on  modifier (CON): 0.3 * CON is regenerated in combat, +1 out of combat. For example:

The Vitality Points feat adds 0.5 to these values, which  then doubles while active: for example, a character with 20 Constitution (CON +5), Regenerate Vitality Points and Battle Meditation active regenerates ((0.3 * 5) + 0.5) * 2 = 4 Vitality once every 6 seconds in combat, and ((0.3 * 5) + 1 + 0.5) * 2 = 6 out of combat.

Any Regeneration item bonuses are then simply added to these values:

🇨🇴

🇨🇴

🇨🇴

Maximum Regeneration: 18 for a dark Jedi with at least 12 Constitution, : Medium and two (Short) Lightsabers (upgraded item descriptions may only display the highest bonus, but all are summed).