1,575
editsUser:NtCarlson/Sandbox: Difference between revisions
Jump to navigation
Jump to search
Finished overview section
(Added description of damage functions) |
(Finished overview section) |
||
Line 1: | Line 1: | ||
=Damage Mechanics= | =Damage Mechanics= | ||
==Overview == | ==Overview == | ||
Under the hood, superficially similar damage bonuses can be implemented in very different ways. | |||
For example, the {{RarityItem|Callous Glow Ring}} and the {{RarityItem|Caustic Band}} are both rings that give 2 bonus damage. However, their damage bonuses are implemented using two different functions and wind up behaving quite differently. | |||
Understanding how these different functions work will help explain the oftentimes unintuitive damage mechanics in Baldur's Gate 3. | |||
Below is a breakdown of the different functions used to apply damage bonus effects. | |||
{| class="wikitable" | {| class="wikitable" | ||
!Function | !Function | ||
Line 27: | Line 31: | ||
|{{DamageText|1d8|Physical}} from {{SAI|Colossus Slayer}} | |{{DamageText|1d8|Physical}} from {{SAI|Colossus Slayer}} | ||
|} | |} | ||
The interaction between the different types of damage bonuses can be summarized as follows: | |||
* '''Attack damage''' bonuses do exactly what they say -- nothing more, nothing less. | |||
* The effect of '''damage riders''' is multiplicative with the number of independent damage instances. An attack with 2 extra damage instances from '''damage rider source''' effects will apply any '''damage riders''' 3 times. | |||
* The number of damage instances can grow exponentially with the number of '''damage rider sources'''. For example, if you {{SAI|Sneak Attack}} a {{Cond|Burning}} target with the {{RarityItem|Firestoker}}, you will create 4 independent damage instances: the base attack, the sneak attack, '''Burned Alive''' triggered by the base attack, and '''Burned Alive''' triggered by the sneak attack. | |||
==<code>DamageBonus()</code> == | ==<code>DamageBonus()</code> == | ||
This is a comprehensive list of all the damage riders in the game that use <code>DamageBonus()</code> which can be acquired by the player. There are other <code>DamageBonus()</code> effects exclusive to certain enemies or attached to items not available in the game (outside of cheats). These effects are excluded from the list below. | This is a comprehensive list of all the damage riders in the game that use <code>DamageBonus()</code> which can be acquired by the player. There are other <code>DamageBonus()</code> effects exclusive to certain enemies or attached to items not available in the game (outside of cheats). These effects are excluded from the list below. |