From 701276ae5dcd93d9bfabea86dd4a05e68f0bf121 Mon Sep 17 00:00:00 2001 From: BoroBongo Date: Sun, 22 Nov 2026 02:28:40 +0000 Subject: [PATCH] docs: G1 bow/crossbow critical hits are done - remove the stale FIXMEs G1RangedCombatService.GetRangedDamage already rolls the bow/crossbow talent value as the critical hit chance (damage x DAM_CRITICAL_MULTIPLIER, since 86ae516e0). The FIXME in it and in RangedHitDomain said it was missing, which the lost-fixes analysis of the experimental branch (5c678f0ab) took at face value. --- Assets/Gothic-Core/Scripts/Domain/Npc/RangedHitDomain.cs | 4 ++-- .../Gothic1/Scripts/Services/Fight/G1RangedCombatService.cs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/Gothic-Core/Scripts/Domain/Npc/RangedHitDomain.cs b/Assets/Gothic-Core/Scripts/Domain/Npc/RangedHitDomain.cs index 7de8312d7..c1aee9b30 100644 --- a/Assets/Gothic-Core/Scripts/Domain/Npc/RangedHitDomain.cs +++ b/Assets/Gothic-Core/Scripts/Domain/Npc/RangedHitDomain.cs @@ -29,8 +29,8 @@ public RangedHitDomain(Action app } /// - /// The hit chance roll is skipped - a VR projectile that physically hit, hit. - /// FIXME - G1 crit (TALENT_BOW/CROSSBOW value % chance) together with the melee talent formula. + /// The hit chance roll is skipped - a VR projectile that physically hit, hit. G1's critical hit (bow/crossbow + /// talent value as chance) is rolled by the game version (G1RangedCombatService.GetRangedDamage). /// public void OnRangedHit(NpcContainer shooter, NpcContainer target, Vector3 pos, (ItemInstance weapon, float damageScale) shot) diff --git a/Assets/Gothic1/Scripts/Services/Fight/G1RangedCombatService.cs b/Assets/Gothic1/Scripts/Services/Fight/G1RangedCombatService.cs index 6bb0e25fc..f7803db9a 100644 --- a/Assets/Gothic1/Scripts/Services/Fight/G1RangedCombatService.cs +++ b/Assets/Gothic1/Scripts/Services/Fight/G1RangedCombatService.cs @@ -16,7 +16,6 @@ namespace Gothic.G1.Services.Fight /// /// G1 (OpenGothic DamageCalculator::rangeDamageValue): weapon damage only, with a critical hit (talent value as /// chance) multiplying it; the hit chance is the shooter's dexterity %. - /// FIXME - G1 crit (TALENT_BOW/CROSSBOW value % chance) together with the melee talent formula. /// public class G1RangedCombatService : IContextRangedCombatService {