[BUG] Abilities, Magic Weapons, and Magic Damage

It looks like special attacks are treated as purely physical attacks and do not utilize a weapon's magic damage. Against a Wraith I was using lightning hammers and ice spears, but no damage was inflicted when using Bash and Impale (nor was the "Immune" floating text shown).

3,606 views 7 replies
Reply #1 Top

I have also seen this.  Thank goodness I had already gotten mana blast!

Reply #2 Top

Maybe these skills should be using the CombinedAttack UnitStat?

Reply #3 Top

Quoting mqpiffle, reply 2
Maybe these skills should be using the CombinedAttack UnitStat?
End of mqpiffle's quote

Unfortunately that won't work properly, as it will increase all combined attacks which includes elemental attacks as well. So what you get is you character with

2 normal damage.

1 elemental damage.

then if they used the combined attack stat it would be more like

3 normal damage.

3 elemental damage.

I've ran some tests and it appears this is how it calculating the damage anywho...

Reply #4 Top

In all honesty a fix for this is rather silly, and I'm not sure why it works, but here it is...

<AttackStat>UnitStat_Attack_Pierce</AttackStat>

Remove that line from each and it will calculate the damage correctly. (Not sure if the correct guesstimated damage is correctly displayed, but there you go)

https://dl.dropboxusercontent.com/u/75549875/Fallen%20Enchantress/Abilities/impalecrushingcleavefix.zip

(This hasn't been thoroughly tested, but it appears to damage in roughly the correct amount)

Reply #5 Top

Here's another fix by parrotmath that can be used by Stardock if desired. =)

Reply #6 Top

Quoting parrottmath, reply 4
In all honesty a fix for this is rather silly, and I'm not sure why it works, but here it is...

<AttackStat>UnitStat_Attack_Pierce</AttackStat>

Remove that line from each and it will calculate the damage correctly. (Not sure if the correct guesstimated damage is correctly displayed, but there you go)
End of parrottmath's quote

I guess the reason for this bug is that after the different damage types have been removed the physical damage is always called Attack_Pierce in the xml.

Reply #7 Top

Quoting parrottmath, reply 4

In all honesty a fix for this is rather silly, and I'm not sure why it works, but here it is...

<AttackStat>UnitStat_Attack_Pierce</AttackStat>

Remove that line from each and it will calculate the damage correctly. (Not sure if the correct guesstimated damage is correctly displayed, but there you go)

https://dl.dropboxusercontent.com/u/75549875/Fallen%20Enchantress/Abilities/impalecrushingcleavefix.zip

(This hasn't been thoroughly tested, but it appears to damage in roughly the correct amount)
End of parrottmath's quote

Awesome. I'll look for another Wraith.