Add in Papyrus Scarab, Summoner Emblem, Celestial Emblem and any other class specific damage bonus accessories
Equip them
Watch the melee damage of any weapon change as you equip and unequip them
Expected Behavior
I think the description of expected behavior is not needed.
Actual Behavior
magicDamage += 0.2f should not change meleeDamage at all, but for some reason it is on TModLoader.
Reproduction frequency
Consistent.
Additional Information
I'm pretty sure this has to do with the new patches for Player#GetDamage(DamageClass damageClass) or Player#GetWeaponDamage(Item sItem, [bool forTooltip = false])
Version
Latest 1.4-stable
OS
Windows
Platform
Steam
This bug affects
Gameplay as a Player
Description
Every sort of damage bonus applied, be it DamageClass.Magic, DamageClass.Summon or others change the damage of melee weapons.
Behavior is only present on TModLoader and doesn't happen on normal Terraria.
(No buffs, no mods [except for CheatSheet on this screenshot but it was tested without and the behavior persists])
Log File
client.log (probably not needed)
Steps to reproduce
Expected Behavior
I think the description of expected behavior is not needed.
Actual Behavior
magicDamage += 0.2f
should not changemeleeDamage
at all, but for some reason it is on TModLoader.Reproduction frequency
Consistent.
Additional Information
I'm pretty sure this has to do with the new patches for Player#GetDamage(DamageClass damageClass) or Player#GetWeaponDamage(Item sItem, [bool forTooltip = false])