User:NtCarlson/Sandbox: Difference between revisions
Jump to navigation
Jump to search
(Added a few more DamageBonus sources. List is exhaustive now?) |
(Added description of damage functions) |
||
Line 1: | Line 1: | ||
== <code>DamageBonus()</code> == | =Damage Mechanics= | ||
==Overview == | |||
{| class="wikitable" | |||
!Function | |||
!Term | |||
!Comment | |||
!Example | |||
|- | |||
|<code>WeaponDamage()</code> | |||
| rowspan="3" |Attack damage | |||
| rowspan="3" |The basic, well-behaved damage bonuses are implemented with this function. The bonus will apply to ''only'' the triggering attack and nothing else. | |||
| rowspan="3" |{{DamageText|2|Acid}} from {{RarityItem|Caustic Band}} | |||
|- | |||
|<code>CharacterWeaponDamage()</code> | |||
|- | |||
|<code>CharacterUnarmedDamage()</code> | |||
|- | |||
|<code>DamageBonus()</code> | |||
|Damage rider | |||
|Damage bonuses using this function will add their damage to each independent damage instance. When combined with effects that use <code>DealDamage()</code>, a single attack can create numerous independent damage instances so <code>DamageBonus()</code> effects can potentially apply their damage many times per attack. | |||
|{{DamageText|2|Radiant}} from {{RarityItem|Callous Glow Ring}} | |||
|- | |||
|<code>DealDamage()</code> | |||
|Damage rider source ('''DRS''') | |||
|This function is used by all damaging attacks, spells, and conditions to deal their damage, but some damage bonuses also use it. <code>DealDamage()</code> creates a separate damage instance that can be independently boosted by applicable <code>DamageBonus()</code> sources. In certain scenarios, '''DRS''' effects can trigger each other, creating far more damage instances than might be expected. | |||
|{{DamageText|1d8|Physical}} from {{SAI|Colossus Slayer}} | |||
|} | |||
==<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. | ||
If a damage type is not specified, the damage bonus will inherit the type from whatever damage source it is applied to. | If a damage type is not specified, the damage bonus will inherit the type from whatever damage source it is applied to. | ||
{| class="wikitable" | {| class="wikitable" | ||
|+<code>DamageBonus()</code> sources | |+ <code>DamageBonus()</code> sources | ||
!Source | !Source | ||
!Damage Bonus | ! Damage Bonus | ||
!Conditions | !Conditions | ||
|- | |- | ||
|{{RarityItem|Rhapsody}} | |{{RarityItem|Rhapsody}} | ||
|'''1''', '''2''', or '''3''' | | '''1''', '''2''', or '''3''' | ||
|Kill 3 creatures with the weapon to unlock the max bonus; resets each Long Rest<ref>The damage bonus is not attached to the weapon. You will keep the '''Scarlet Remittance''' buff even after unequipping the dagger.</ref> | |Kill 3 creatures with the weapon to unlock the max bonus; resets each Long Rest<ref>The damage bonus is not attached to the weapon. You will keep the '''Scarlet Remittance''' buff even after unequipping the dagger.</ref> | ||
|- | |- | ||
Line 30: | Line 58: | ||
|- | |- | ||
|{{RarityItem|Spellmight Gloves}} | |{{RarityItem|Spellmight Gloves}} | ||
|'''1d8''' | |'''1d8''' | ||
|Spell with an attack roll<ref>Prior to Patch 4, this worked with ''any'' direct damage spell. More testing is needed to see what it works with after Patch 4.</ref> | | Spell with an attack roll<ref>Prior to Patch 4, this worked with ''any'' direct damage spell. More testing is needed to see what it works with after Patch 4.</ref> | ||
|- | |- | ||
|{{SAI|Agonising Blast}} | | {{SAI|Agonising Blast}} | ||
|Charisma modifier {{DamageType|Force}} | |Charisma modifier {{DamageType|Force}} | ||
|{{SAI|Eldritch Blast}} | | {{SAI|Eldritch Blast}} | ||
|- | |- | ||
|{{SAI|Empowered Evocation}} | |{{SAI|Empowered Evocation}} | ||
|Intelligence modifier | |Intelligence modifier | ||
|[[:Category: Evocation_Spells|Evocation spell]] | |[[:Category: Evocation_Spells|Evocation spell]] | ||
Line 75: | Line 103: | ||
|{{SAI|Heat Convergence}} | |{{SAI|Heat Convergence}} | ||
|Number of [[Heat]] charges | |Number of [[Heat]] charges | ||
| Requires and consumes [[Heat]] charges, applies only to {{DamageType|Fire}} damage | |Requires and consumes [[Heat]] charges, applies only to {{DamageType|Fire}} damage | ||
|- | |- | ||
|{{RarityItem|Markoheshkir}} | |{{RarityItem|Markoheshkir}} | ||
Line 86: | Line 114: | ||
|- | |- | ||
|{{SAI|Hex}} | |{{SAI|Hex}} | ||
|{{DamageText|1d6|Necrotic}} | |{{DamageText|1d6|Necrotic}} | ||
|Spellcaster attacks Hex target | |Spellcaster attacks Hex target | ||
|- | |- | ||
Line 102: | Line 130: | ||
|- | |- | ||
|{{RarityItem|Cloak of Elemental Absorption}} | |{{RarityItem|Cloak of Elemental Absorption}} | ||
|'''1d4''' elemental | |'''1d4''' elemental | ||
|Next weapon attack after using [[Absorb Elements]] | |Next weapon attack after using [[Absorb Elements]] | ||
|- | |- | ||
|{{RarityItem|Shadow-Cloaked Ring}} | |{{RarityItem|Shadow-Cloaked Ring}} | ||
Line 118: | Line 146: | ||
|- | |- | ||
|{{RarityItem|Harmonic Dueller}} | |{{RarityItem|Harmonic Dueller}} | ||
| Charisma modifier | |Charisma modifier | ||
|Melee attack while [[Mellow Harmony]] is active | |Melee attack while [[Mellow Harmony]] is active | ||
|- | |- | ||
Line 127: | Line 155: | ||
|{{RarityItem|Scabby Pugilist Circlet}} | |{{RarityItem|Scabby Pugilist Circlet}} | ||
|'''2''' | |'''2''' | ||
| Unarmed or weapon attack with 2+ enemies within '''3m''' | |Unarmed or weapon attack with 2+ enemies within '''3m''' | ||
|- | |- | ||
|{{RarityItem|The Undead Bane}} | |{{RarityItem|The Undead Bane}} | ||
| {{DamageText|1d6|Slashing}} | |||
|{{DamageText|1d6|Slashing}} | |||
|Melee attack against a [[Fiend]] or [[Undead]] | |Melee attack against a [[Fiend]] or [[Undead]] | ||
|- | |- | ||
|{{RarityItem|Hammer of the Just}} | |{{RarityItem|Hammer of the Just}} | ||
|{{DamageText|1d6|Bludgeoning}} | |{{DamageText|1d6|Bludgeoning}} | ||
|Melee attack against a [[Fiend]] or [[Undead]] | |Melee attack against a [[Fiend]] or [[Undead]] | ||
Line 139: | Line 168: | ||
<references /> | <references /> | ||
==<code>DealDamage()</code>== | == <code>DealDamage()</code>== | ||
There are two sub-categories of <code>DealDamage()</code> instances: '''attached''' and '''detached'''. | There are two sub-categories of <code>DealDamage()</code> instances: '''attached''' and '''detached'''. | ||
Line 162: | Line 191: | ||
|{{RarityItem|Dragon's Grasp}} | |{{RarityItem|Dragon's Grasp}} | ||
|{{DamageText|1d4|Slashing}} | |{{DamageText|1d4|Slashing}} | ||
|Target is {{Cond|Burning}} | | Target is {{Cond|Burning}} | ||
|- | |- | ||
|{{RarityItem|Exterminator's Axe}} | |{{RarityItem|Exterminator's Axe}} | ||
|{{DamageText|1d6|Fire}} | |{{DamageText|1d6|Fire}} | ||
|Target is a plant, Myconid, or is size small or less | | Target is a plant, Myconid, or is size small or less | ||
|- | |- | ||
|{{RarityItem|Firestoker}} | | {{RarityItem|Firestoker}} | ||
|{{DamageText|1d4|Piercing}} | |{{DamageText|1d4|Piercing}} | ||
|Target is {{Cond|Burning}} | |Target is {{Cond|Burning}} | ||
|- | |- | ||
|{{RarityItem|Shortsword of First Blood}} | |{{RarityItem|Shortsword of First Blood}} | ||
|{{DamageText|1d8|Piercing}} | |{{DamageText|1d8|Piercing}} | ||
|Target must have 100% {{Hp}} | | Target must have 100% {{Hp}} | ||
|- | |- | ||
|{{RarityItem|Blooded Greataxe}} | |{{RarityItem|Blooded Greataxe}} | ||
Line 184: | Line 213: | ||
|Attack with {{Advantage}} | |Attack with {{Advantage}} | ||
|- | |- | ||
|{{RarityItem|Sword of Life Stealing}} | | {{RarityItem|Sword of Life Stealing}} | ||
|{{DamageText|10|Necrotic}} | |{{DamageText|10|Necrotic}} | ||
|Attack is a [[Critical hit]] | |Attack is a [[Critical hit]] | ||
|- | |- | ||
|{{RarityItem|Crimson Mischief}} | | {{RarityItem|Crimson Mischief}} | ||
|{{DamageText|7|Piercing}} damage. | | {{DamageText|7|Piercing}} damage. | ||
|Attack with {{Advantage}} while equipped in the main hand | |Attack with {{Advantage}} while equipped in the main hand | ||
|- | |- | ||
|{{RarityItem|Duellist's Prerogative}} | | {{RarityItem|Duellist's Prerogative}} | ||
|[[Proficiency Bonus]] {{DamageType|Necrotic}} | |[[Proficiency Bonus]] {{DamageType|Necrotic}} | ||
|Requires and consumes a [[Reaction (Resource)|reaction]]; only applies while equipped in the main hand | |Requires and consumes a [[Reaction (Resource)|reaction]]; only applies while equipped in the main hand | ||
Line 200: | Line 229: | ||
Weapon attack related <code>DamageBonus()</code> sources will not apply to these extra damage instances since they are not directly attached to a weapon attack. Only the '''universal''' <code>DamageBonus()</code> sources will apply. | Weapon attack related <code>DamageBonus()</code> sources will not apply to these extra damage instances since they are not directly attached to a weapon attack. Only the '''universal''' <code>DamageBonus()</code> sources will apply. | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Extra '''detached''' <code>DealDamage()</code> sources from ordinary weapon attacks | |+Extra '''detached''' <code>DealDamage()</code> sources from ordinary weapon attacks | ||
!Source | !Source | ||
!Damage Bonus | !Damage Bonus | ||
Line 207: | Line 236: | ||
|{{RarityItem|Loviatar's Scourge|alias=Loviatar's Scourge: Willing Whip}} | |{{RarityItem|Loviatar's Scourge|alias=Loviatar's Scourge: Willing Whip}} | ||
|{{DamageText|1d6|Necrotic}} | |{{DamageText|1d6|Necrotic}} | ||
|Hits everything in a '''2m''' radius including the wielder | |Hits everything in a '''2m''' radius including the wielder | ||
|- | |- | ||
|{{RarityItem|Punch-Drunk Bastard}} | |{{RarityItem|Punch-Drunk Bastard}} | ||
Line 222: | Line 251: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Extra <code>DealDamage()</code> sources from once-per-short-rest Weapon Actions | |+Extra <code>DealDamage()</code> sources from once-per-short-rest Weapon Actions | ||
!Source | !Source | ||
!Damage Bonus | !Damage Bonus | ||
!Notes | ! Notes | ||
|- | |- | ||
|{{SAI|Prepared (Condition)}} | | {{SAI|Prepared (Condition)}} | ||
| Strength modifier {{DamageType|Slashing}} | |Strength modifier {{DamageType|Slashing}} | ||
|Bonus applies to all melee attacks for the rest of the turn, including melee spells | |Bonus applies to all melee attacks for the rest of the turn, including melee spells | ||
|- | |- | ||
Line 266: | Line 295: | ||
| | | | ||
|- | |- | ||
|{{RarityItem|Balduran's Giantslayer|alias=Balduran's Giantslayer: Topple the Big Folk}} | | {{RarityItem|Balduran's Giantslayer|alias=Balduran's Giantslayer: Topple the Big Folk}} | ||
|{{DamageText|2d6|Slashing}} | | {{DamageText|2d6|Slashing}} | ||
|Target must have size Large or greater. Also adds your [[Proficiency Bonus]] to the base attack damage | |Target must have size Large or greater. Also adds your [[Proficiency Bonus]] to the base attack damage | ||
|- | |- | ||
|} | |} |