Skip to content

Commit f114e03

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Viper Strike hit damage while Dual Wielding mod applying to Poison (#9626)
The mod was applying as a generic more damage multiplier instead of a hit damage multiplier Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 108f30f commit f114e03

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Data/Skills/act_dex.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16834,7 +16834,7 @@ skills["ViperStrike"] = {
1683416834
castTime = 1,
1683516835
statMap = {
1683616836
["viper_strike_dual_wield_damage_+%_final"] = {
16837-
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "DualWielding" }),
16837+
mod("Damage", "MORE", nil, ModFlag.Hit, 0, { type = "Condition", var = "DualWielding" }),
1683816838
},
1683916839
["viper_strike_dual_wield_attack_speed_+%_final"] = {
1684016840
mod("Speed", "MORE", nil, ModFlag.Attack, 0, { type = "Condition", var = "DualWielding" }),
@@ -16930,7 +16930,7 @@ skills["ViperStrikeAltX"] = {
1693016930
mod("Damage", "MORE", nil, 0, KeywordFlag.Poison),
1693116931
},
1693216932
["viper_strike_dual_wield_damage_+%_final"] = {
16933-
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "DualWielding" }),
16933+
mod("Damage", "MORE", nil, ModFlag.Hit, 0, { type = "Condition", var = "DualWielding" }),
1693416934
},
1693516935
["viper_strike_dual_wield_attack_speed_+%_final"] = {
1693616936
mod("Speed", "MORE", nil, ModFlag.Attack, 0, { type = "Condition", var = "DualWielding" }),

src/Export/Skills/act_dex.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3241,7 +3241,7 @@ local skills, mod, flag, skill = ...
32413241
#flags attack melee duration
32423242
statMap = {
32433243
["viper_strike_dual_wield_damage_+%_final"] = {
3244-
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "DualWielding" }),
3244+
mod("Damage", "MORE", nil, ModFlag.Hit, 0, { type = "Condition", var = "DualWielding" }),
32453245
},
32463246
["viper_strike_dual_wield_attack_speed_+%_final"] = {
32473247
mod("Speed", "MORE", nil, ModFlag.Attack, 0, { type = "Condition", var = "DualWielding" }),
@@ -3257,7 +3257,7 @@ local skills, mod, flag, skill = ...
32573257
mod("Damage", "MORE", nil, 0, KeywordFlag.Poison),
32583258
},
32593259
["viper_strike_dual_wield_damage_+%_final"] = {
3260-
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "DualWielding" }),
3260+
mod("Damage", "MORE", nil, ModFlag.Hit, 0, { type = "Condition", var = "DualWielding" }),
32613261
},
32623262
["viper_strike_dual_wield_attack_speed_+%_final"] = {
32633263
mod("Speed", "MORE", nil, ModFlag.Attack, 0, { type = "Condition", var = "DualWielding" }),

0 commit comments

Comments
 (0)