Page 1 of 1

[1.7b3] Distortion Bolt Damage & Sugg Description Changes

Posted: Sat Aug 08, 2020 2:51 am
by BigLeafyTree
There's a few things to do with the Distortion tree...

1) For D.Bolt, D.Wave, and Ravage they apply the resistance lowering debuff before dealing their damage. I assume this is intentional. Maelstrom however does not, and its first tick does not benefit from the resistance lowering. This can be seen if you set a target dummy to have 100% physical resist and use Maelstrom, the first tick will do 0 damage.

2) D.Bolt is doing less damage than expected against targets with high resistance. It is doing less damage than expected as it's supposed to have 100% resistance pen. I think it has something to do with how the act of setting resistance pen and applying the Distortion debuff is handled, as the damage dealt to a high resistance target varies with point in the skills in the Distortion tree.

Code: Select all

Reproduction steps:
Set target dummy to some high value for physical resist (eg. 70 - 100)
Cast Distortion Bolt
Compare damage to tooltip listed value
3) D.Bolt's explosion on targets with the Distortion debuff is doing less damage than expected. This occurs whether the target has high physical resistance or no physical resistance. The damage dealt is neither 150% of the tooltip value or 150% of the bolt's damage when the target does not have the Distortion debuff.

Code: Select all

Reproduction steps:
Set target dummy to any value for physical resist
Cast Distortion Bolt and note bolt damage
Apply Distortion debuff to target dummy from some non-bolt source
Cast Distortion Bolt and note exloding bolt damage
Compare exploding bolt damage to bolt tooltip damage and previously cast bolt damage
4) D.Bolt's explosion is not applying the correct strength Distortion debuff to secondary targets. It is instead applying a Distortion debuff with a physical resist lowering of 0%.

Code: Select all

Reproduction steps:
Create two target dummies nearby each other so that the explosion radius of an improved Distortion Bolt will affect both
Apply Distortion debuff to primary target but not secondary target from some non-bolt source
Cast Distortion Bolt on target dummy with Distortion debuff
Examine secondary target dummy's Distortion debuff
5) Ravage is not correctly removing all physical sustains, it is only removing technique sustains.

6) Some suggested changes for clarity:
Distortion Bolt:
from:

Code: Select all

If the bolt comes in contact with a target that's already distorted, a detonation will occur, inflicting 150% of the base damage in a radius of X
to:

Code: Select all

If the bolt strikes a target that's already distorted it instead detonates, dealing 150% of its base damage in a radius of X
also, from:

Code: Select all

The damage will scale with your Mindpower.
to:

Code: Select all

The damage will scale with your Mindpower.
Distortion Wave:
from:

Code: Select all

Creates a distortion wave in a radius X cone that deals Y physical damage and knocks back targets in the blast radius.
to:

Code: Select all

Creates a distortion wave in a radius X cone that deals Y physical damage and knocks back targets in the blast radius Z tiles away.
also, from:

Code: Select all

The damage will scale with your Mindpower.
to:

Code: Select all

The damage and chance to apply these effects increases with your Mindpower.
Ravage:
from:

Code: Select all

The damage will scale with your Mindpower
to:

Code: Select all

The damage and chance to apply this effect will increase with your Mindpower.
Maelstrom:
from:

Code: Select all

The damage will scale with your Mindpower.
to:

Code: Select all

The damage will increase with your Mindpower.

Re: [1.7b3] Distortion Bolt Damage & Sugg Description Change

Posted: Tue Aug 18, 2020 10:52 pm
by BigLeafyTree
More on this, Distortion Bolt doing unexpected amounts of damage comes from 2 different things.

1) Resistance penetration is capped at 70 in the function combatGetResistPen in Combat.lua, so when Distortion Bolt attempts to set the physical resist pen to 100 it is not actually receiving the full effect. This also applies to to the abilities Assassinate and Reckless Strike, which attempt to use resistance penetration values of 100.

2) Distortion Bolt's explosion against targets already affected by the Distortion debuff is not properly applying the full power Distortion debuff, and is instead applying one that reduces physical resistance by 0%. I believe the problem is the line in damagetypes.lua dealing with the inputs to the explosion. I think

Code: Select all

power=dam.distort
should instead be

Code: Select all

distort=dam.distort
.