Editing User:NtCarlson/Sandbox

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 36: Line 36:
* 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. If you add {{SAI|Phalar Aluve: Shriek}}, this will increase to 8 '''DRS''' instances since Shriek will be triggered by each of the 4 preceding instances.
* 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. If you add {{SAI|Phalar Aluve: Shriek}}, this will increase to 8 '''DRS''' instances since Shriek will be triggered by each of the 4 preceding instances.


== Weapon riders ==
== Weapon riders (<code>CharacterWeaponDamage()</code>, etc.) ==
This category of damage increasing abilities applies only to your weapon (or unarmed) attack damage and nothing else.
This category of damage increasing abilities applies only to your weapon (or unarmed) attack damage and nothing else.
One weapon attack will apply each '''weapon rider''' exactly once.
One weapon attack will apply each '''weapon rider''' exactly once.
Line 47: Line 47:
If a damage boost is not listed in one of the sections below, assume that it is a '''weapon rider''' by default.
If a damage boost is not listed in one of the sections below, assume that it is a '''weapon rider''' by default.


== Damage riders ==
==Damage Riders (<code>DamageBonus()</code>) ==
Unlike '''weapon riders''', '''damage riders''' can "ride" on damage sources other than weapon or unarmed damage.
Unlike '''weapon riders''', '''damage riders''' can "ride" on damage sources other than weapon or unarmed damage.
This makes them more flexible and potentially abusable than basic '''weapon riders'''.
This makes them more flexible and potentially abusable than basic '''weapon riders'''.
Line 199: Line 199:
The top 5 '''damage riders''' in the above list are '''universal'''. They will apply to any damage instance, even ones '''detached''' from a spell or attack. All the other '''damage riders''' involve conditions like <code>IsSpell()</code> or <code>IsMeleeAttack()</code> so any damage instance that is not a part of a spell or weapon attack cannot be boosted by these non-'''universal damage riders'''. Status effect damage like {{Cond|Simple Toxin}} is an example of damage '''detached''' from any attack or spell that can only be boosted by '''universal damage riders'''. See below for a more detailed discussion of '''detached''' damage instances.
The top 5 '''damage riders''' in the above list are '''universal'''. They will apply to any damage instance, even ones '''detached''' from a spell or attack. All the other '''damage riders''' involve conditions like <code>IsSpell()</code> or <code>IsMeleeAttack()</code> so any damage instance that is not a part of a spell or weapon attack cannot be boosted by these non-'''universal damage riders'''. Status effect damage like {{Cond|Simple Toxin}} is an example of damage '''detached''' from any attack or spell that can only be boosted by '''universal damage riders'''. See below for a more detailed discussion of '''detached''' damage instances.


== Damage rider sources ==
== Damage rider sources (<code>DealDamage())</code> ==
Damage bonus implemented with <code>DealDamage()</code> (i.e. '''Damage rider sources''') are the underlying cause for much of the unintuitive damage mechanics in Baldur's Gate 3.
Damage bonus implemented with <code>DealDamage()</code> (i.e. '''Damage rider sources''') are the underlying cause for much of the unintuitive damage mechanics in Baldur's Gate 3.


Please note that all contributions to Baldur's Gate 3 Wiki are considered to be released under the CC BY-NC-SA license, except when noted otherwise (see BG3Wiki:Copyrights for details). If you do not want your writing to be edited and redistributed at will, do not submit it here. Per our Content Rules, you are promising that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)