Skip to content

Commit 379e0dd

Browse files
authored
Implement Charge Infusion (#528)
1 parent 719bbb4 commit 379e0dd

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/Data/Skills/act_int.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3377,6 +3377,17 @@ skills["ChargeInfusionPlayer"] = {
33773377
label = "Charge Infusion",
33783378
incrementalEffectiveness = 0.054999999701977,
33793379
statDescriptionScope = "charge_mastery",
3380+
statMap = {
3381+
["skill_charge_matery_skill_speed_+%_final_with_frenzy_charges"] = {
3382+
mod("Speed", "MORE", nil, 0, 0, { type = "StatThreshold", stat = "FrenzyCharges", threshold = 1 }, { type = "GlobalEffect", effectType = "Buff", effectName = "Charge Infusion", effectCond = "UseFrenzyCharges" }),
3383+
},
3384+
["skill_charge_mastery_crit_chance_+%_final_with_power_charges"] = {
3385+
mod("CritChance", "MORE", nil, 0, 0, { type = "StatThreshold", stat = "PowerCharges", threshold = 1 }, { type = "GlobalEffect", effectType = "Buff", effectName = "Charge Infusion", effectCond = "UsePowerCharges" }),
3386+
},
3387+
["skill_charge_mastery_defences_+%_final_with_endurance_charges"] = {
3388+
mod("Defences", "MORE", nil, 0, 0, { type = "StatThreshold", stat = "EnduranceCharges", threshold = 1 }, { type = "GlobalEffect", effectType = "Buff", effectName = "Charge Infusion", effectCond = "UseEnduranceCharges" }),
3389+
},
3390+
},
33803391
baseFlags = {
33813392
},
33823393
stats = {

src/Export/Skills/act_int.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,17 @@ statMap = {
231231
#skill ChargeInfusionPlayer
232232
#startSets
233233
#set ChargeInfusionPlayer
234+
statMap = {
235+
["skill_charge_matery_skill_speed_+%_final_with_frenzy_charges"] = {
236+
mod("Speed", "MORE", nil, 0, 0, { type = "StatThreshold", stat = "FrenzyCharges", threshold = 1 }, { type = "GlobalEffect", effectType = "Buff", effectName = "Charge Infusion", effectCond = "UseFrenzyCharges" }),
237+
},
238+
["skill_charge_mastery_crit_chance_+%_final_with_power_charges"] = {
239+
mod("CritChance", "MORE", nil, 0, 0, { type = "StatThreshold", stat = "PowerCharges", threshold = 1 }, { type = "GlobalEffect", effectType = "Buff", effectName = "Charge Infusion", effectCond = "UsePowerCharges" }),
240+
},
241+
["skill_charge_mastery_defences_+%_final_with_endurance_charges"] = {
242+
mod("Defences", "MORE", nil, 0, 0, { type = "StatThreshold", stat = "EnduranceCharges", threshold = 1 }, { type = "GlobalEffect", effectType = "Buff", effectName = "Charge Infusion", effectCond = "UseEnduranceCharges" }),
243+
},
244+
}
234245
#flags
235246
#mods
236247
#skillEnd

0 commit comments

Comments
 (0)