Skip to content

Commit 43bebc4

Browse files
author
LocalIdentity
committed
Move to global stat map + support wither spell
1 parent d84195f commit 43bebc4

5 files changed

Lines changed: 10 additions & 16 deletions

File tree

src/Data/SkillStatMap.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2656,6 +2656,9 @@ return {
26562656
["withered_on_hit_chance_%"] = {
26572657
flag("Condition:CanWither"),
26582658
},
2659+
["apply_x_wither_on_hit"] = {
2660+
flag("Condition:CanWither"),
2661+
},
26592662
["minions_have_%_chance_to_inflict_wither_on_hit"] = {
26602663
mod("MinionModifier", "LIST", { mod = flag("Condition:CanWither") }),
26612664
},
@@ -2668,6 +2671,9 @@ return {
26682671
["withered_on_hit_chance_%_for_every_100%_target_ailment_threshold_dealt_as_chaos_damage"] = {
26692672
flag("Condition:CanWither"),
26702673
},
2674+
["wither_on_hit_chance_rollovercapped"] = {
2675+
flag("Condition:CanWither"),
2676+
},
26712677
["discharge_damage_+%_if_3_charge_types_removed"] = {
26722678
mod("Damage", "INC", nil, 0, 0, { type = "Multiplier", var = "RemovableEnduranceCharge", limit = 1 }, { type = "Multiplier", var = "RemovableFrenzyCharge", limit = 1 }, { type = "Multiplier", var = "RemovablePowerCharge", limit = 1 }),
26732679
},

src/Data/Skills/act_int.lua

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,11 +2957,6 @@ skills["WeaponGrantedChaosboltPlayer"] = {
29572957
incrementalEffectiveness = 0.12999999523163,
29582958
damageIncrementalEffectiveness = 0.0082000000402331,
29592959
statDescriptionScope = "skill_stat_descriptions",
2960-
statMap = {
2961-
["apply_x_wither_on_hit"] = {
2962-
flag("Condition:CanWither"),
2963-
},
2964-
},
29652960
baseFlags = {
29662961
spell = true,
29672962
projectile = true,
@@ -22337,6 +22332,9 @@ skills["WitherPlayer"] = {
2233722332
area = true,
2233822333
duration = true,
2233922334
},
22335+
baseMods = {
22336+
flag("Condition:CanWither"),
22337+
},
2234022338
constantStats = {
2234122339
{ "chaos_damage_taken_+%", 6 },
2234222340
{ "movement_speed_+%_final_while_performing_action", -70 },

src/Data/Skills/sup_int.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7897,9 +7897,6 @@ skills["SupportWitheringTouchPlayer"] = {
78977897
incrementalEffectiveness = 0.092720001935959,
78987898
statDescriptionScope = "gem_stat_descriptions",
78997899
statMap = {
7900-
["wither_on_hit_chance_rollovercapped"] = {
7901-
flag("Condition:CanWither"),
7902-
},
79037900
["support_withering_touch_damage_+%_final"] = {
79047901
mod("Damage", "MORE", nil),
79057902
},

src/Export/Skills/act_int.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,6 @@ statMap = {
208208
#skill WeaponGrantedChaosboltPlayer
209209
#set WeaponGrantedChaosboltPlayer
210210
#flags spell projectile
211-
statMap = {
212-
["apply_x_wither_on_hit"] = {
213-
flag("Condition:CanWither"),
214-
},
215-
},
216211
#mods
217212
#skillEnd
218213

@@ -1478,6 +1473,7 @@ statMap = {
14781473
#skill WitherPlayer
14791474
#set WitherPlayer
14801475
#flags spell area duration
1476+
#baseMod flag("Condition:CanWither")
14811477
#mods
14821478
#skillEnd
14831479

src/Export/Skills/sup_int.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,9 +1488,6 @@ statMap = {
14881488
#skill SupportWitheringTouchPlayer
14891489
#set SupportWitheringTouchPlayer
14901490
statMap = {
1491-
["wither_on_hit_chance_rollovercapped"] = {
1492-
flag("Condition:CanWither"),
1493-
},
14941491
["support_withering_touch_damage_+%_final"] = {
14951492
mod("Damage", "MORE", nil),
14961493
},

0 commit comments

Comments
 (0)