Jump to content

Abigail Vex Damage Calculation


CremeLover
  • Pending

After checking the Abigail.lua file, the UpdateDamage() function

local function UpdateDamage(inst)
    local buff = inst:GetDebuff("elixir_buff")

	local phase = (buff ~= nil and buff.prefab == "ghostlyelixir_attack_buff") and "night" or TheWorld.state.phase
    local modified_damage = (TUNING.ABIGAIL_DAMAGE[phase] or TUNING.ABIGAIL_DAMAGE.day)
	inst.components.combat.defaultdamage = modified_damage / TUNING.ABIGAIL_VEX_DAMAGE_MOD -- so abigail does her intended damage defined in tunings.lua

Includes a comment that says

"-- so abigail does her intended damage defined in tunings.lua"

And divides her final damage by the default Vex multiplier of TUNING.ABIGAIL_VEX_DAMAGE_MOD

It does not take into account wether the enemy is affected by TUNING.ABIGAIL_SHADOW_VEX_DAMAGE_MOD instead, causing her to do x1.18 the damage specified in tunings.lua

Not sure wether this interaction is intended, but since the comment clarifies it is intended for abigail to do the damage in tunings.lua, I'm calling attention to it in the case it isn't intended.


Steps to Reproduce

Have Abigail damage any mob under the shadow vex elixir.




User Feedback




Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...