Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Assets/Gothic-Core/Scripts/Domain/Npc/RangedHitDomain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public RangedHitDomain(Action<NpcContainer, NpcContainer, Vector3, int, int> app
}

/// <summary>
/// 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).
/// </summary>
public void OnRangedHit(NpcContainer shooter, NpcContainer target, Vector3 pos,
(ItemInstance weapon, float damageScale) shot)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace Gothic.G1.Services.Fight
/// <summary>
/// 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.
/// </summary>
public class G1RangedCombatService : IContextRangedCombatService
{
Expand Down