Issue Type (Required):
Enemy Mechanics
Issue Description (Required):
Based on the event description and the code below, it seems likely that the rotten armor damage reduction thresholds are supposed to apply to both ranged and melee damage, but it only applies to ranged. I could only find the havoc template version of the modifier, but it’s most likely using the same code. In addition at least while testing offline the thresholds didn’t seem to be working as expected.
local function _rotten_armor_stat_reduction(unit, index)
local buff_extension = ScriptUnit.extension(unit, “buff_system”)
local stat_buffs = buff_extension:stat_buffs()
local value = rotten_armor_data.reduction_threshold[index]stat_buffs.ranged_damage_taken_multiplier = value stat_buffs.ranged_damage_taken_multiplier = value return rotten_armor_data.damage_thresholds[index]end
Steps to Reproduce (Required):
- Play the rotten armor event and observe melee damage
