Page 1 of 1
Offhand mindstar ignores skill damage multipliers
Posted: Sun Jun 05, 2016 4:06 am
by visage
It's intended and expected that mindstars ignore the offhand damage penalty.
What I didn't expect is that offhand mindstars ignore damage multipliers. Attack with Ice Claw and the offhand ice damage isn't multiplied by 2.3 for the 230% damage multiplier on that skill. Attack with Frenzy, and the offhand damage isn't reduced by whatever the current multiplier on Frenzy is. Mainhand mindstars work normally with skill damage multipliers.
This is not intended behavior, is it?
Re: Offhand mindstar ignores skill damage multipliers
Posted: Sun Jun 05, 2016 6:48 pm
by visage
Looking through the code, I suspect that the correct behavior would be for getOffHandMult() to check no_offhand_penalty at the beginning of the function rather than at the end.
Does that seem right?
Re: Offhand mindstar ignores skill damage multipliers
Posted: Mon Jun 06, 2016 1:13 am
by HousePet
I had thought this had been dealt with.

Re: Offhand mindstar ignores skill damage multipliers
Posted: Mon Jun 13, 2016 7:14 pm
by visage
Looks like no change for this made it into 1.4.7.
Am I correct in thinking that the correct fix is to insert after line 1736 of Combat.lua:
Code: Select all
if combat and combat.no_offhand_penalty then return mult or 1 end
Re: Offhand mindstar ignores skill damage multipliers
Posted: Tue Jun 14, 2016 1:51 pm
by Zeyphor
visage wrote:Looks like no change for this made it into 1.4.7.
Am I correct in thinking that the correct fix is to insert after line 1736 of Combat.lua:
Code: Select all
if combat and combat.no_offhand_penalty then return mult or 1 end
based entirely off of only that line, how would it know whether to return mult or 1? you'd want something to tell it to return the higher value too
Re: Offhand mindstar ignores skill damage multipliers
Posted: Tue Jun 14, 2016 2:32 pm
by visage
Zeyphor wrote:visage wrote:Looks like no change for this made it into 1.4.7.
Am I correct in thinking that the correct fix is to insert after line 1736 of Combat.lua:
Code: Select all
if combat and combat.no_offhand_penalty then return mult or 1 end
based entirely off of only that line, how would it know whether to return mult or 1? you'd want something to tell it to return the higher value too
I disagree. If you attack with (fully-leveled) Quake and a mindstar in the offhand, that offhand should do 210% damage, not 100% damage. The construction of the line mirrors line 1736, which establishes that there's no offhand penalty for ranged weapons -- similarly, mindstars should have no offhand penalty.
Re: Offhand mindstar ignores skill damage multipliers
Posted: Tue Jun 14, 2016 2:53 pm
by visage
...and it looks like it now works in 1.4.8.
Yay, my Wyrmic now does the damage they're supposed to! Boo, my Cursed now does the damage they're supposed to!
