Skip to content

Commit 9e2833d

Browse files
committed
added rage support into calculation
1 parent 1191ae5 commit 9e2833d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Data/SkillStatMap.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2669,6 +2669,7 @@ return {
26692669
flag("Condition:CanGainRage", { type = "GlobalEffect", effectType = "Buff", effectName = "Rage" } ),
26702670
},
26712671
["gain_x_rage_on_melee_hit"] = {
2672+
mod("RageOnHit", "BASE", nil, ModFlag.Melee),
26722673
flag("Condition:CanGainRage", { type = "GlobalEffect", effectType = "Buff", effectName = "Rage" } ),
26732674
},
26742675
["warcry_grant_X_rage_per_5_power"] = {

src/Modules/CalcPerform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ local function doActorMisc(env, actor)
643643
modDB:NewMod("Multiplier:RageEffect", "BASE", output.RageEffect, "Base")
644644
output.Rage = stacks
645645
output.MaximumRage = maxStacks
646-
output.RageOnHit = modDB:Sum("BASE", env.player.mainSkill.skillCfg, "RageOnHit")
646+
output.RageOnHit = env.player.mainSkill.skillModList:Sum("BASE", env.player.mainSkill.skillCfg, "RageOnHit")
647647
output.RageWhenHit = modDB:Sum("BASE", nil, "RageWhenHit")
648648
modDB:NewMod("Multiplier:Rage", "BASE", output.Rage, "Base")
649649
if modDB:Flag(nil, "Condition:RageSpellDamage") then

0 commit comments

Comments
 (0)