Talk:Dodge (DV)

From Caves of Qud Wiki
Jump to navigation Jump to search

The section about "Internal DV" is not correct, it has things backwards. Interally, DV does not have the +6 added but when it comes time to use DV or display it to the player, the combat DV is used which includes the +6. You can see this in the following references:

XRL.World.Parts.Combat.MeleeAttackWithWeaponInternal() - In the section setting event parameters for the Defender DV, the DV parameter is set using Stats.GetCombatDV().

XRL.World.Parts.MissileWeapon.FireEvent() - In the "CommandFireMissile" case, when determining if the projectile hits the defender the result of the "WeaponGetDefenderDV" event is used. When setting the base DV for that event, Stats.GetCombatDV() is used. To find this, it is easier to ctrl + f "WeaponGetDefenderDV" because this method is an absolute mess.

XRL.Rules.Stats.GetCombatDV() - This is the static method called when getting Defender DV for melee and missile attacks.

This is also observationally true, if the used DV was 6 lower then 25 DV would actually only be 19 DV, and missile attacks would hit a lot easier since Swift Reflexes doesn't actually raise DV, but negate the -5 penalty that not having it applies.

I'd invite someone to check my work, but I'm pretty confident in the conclusion.

--A-F-F-I-N-E (talk) 16:40, 18 January 2025 (UTC)