From 2f7a392b0b14e8a2ac58a2aa83c41c7058c0aa8c Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Sun, 19 Jan 2025 13:05:57 +1100 Subject: [PATCH] Add support for Offering Skills Adds the offering skills as a buff --- src/Data/Skills/act_int.lua | 20 +++++++++++++++++--- src/Export/Skills/act_int.txt | 19 +++++++++++++++++-- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/Data/Skills/act_int.lua b/src/Data/Skills/act_int.lua index 5ca08b95..91454068 100644 --- a/src/Data/Skills/act_int.lua +++ b/src/Data/Skills/act_int.lua @@ -12016,9 +12016,19 @@ skills["PainOfferingPlayer"] = { label = "Pain Offering", incrementalEffectiveness = 0.054999999701977, statDescriptionScope = "pain_offering", + statMap = { + ["pain_offering_attack_and_cast_speed_+%"] = { + mod("Speed", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }), + }, + ["pain_offering_damage_+%_final"] = { + mod("Damage", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }), + }, + }, baseFlags = { - minion = true, - area = true, + }, + baseMods = { + skill("buffMinions", true), + skill("buffNotPlayer", true), }, constantStats = { { "base_skill_effect_duration", 6000 }, @@ -15161,8 +15171,12 @@ skills["SoulOfferingPlayer"] = { label = "Soul Offering", incrementalEffectiveness = 0.054999999701977, statDescriptionScope = "power_offering", + statMap = { + ["power_offering_buff_spell_damage_+%_final"] = { + mod("Damage", "MORE", nil, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff" }), + }, + }, baseFlags = { - minion = true, duration = true, }, constantStats = { diff --git a/src/Export/Skills/act_int.txt b/src/Export/Skills/act_int.txt index 55e15744..c7219f59 100644 --- a/src/Export/Skills/act_int.txt +++ b/src/Export/Skills/act_int.txt @@ -777,7 +777,17 @@ end, #skill PainOfferingPlayer #startSets #set PainOfferingPlayer -#flags minion area +#flags +statMap = { + ["pain_offering_attack_and_cast_speed_+%"] = { + mod("Speed", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }), + }, + ["pain_offering_damage_+%_final"] = { + mod("Damage", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }), + }, +}, +#baseMod skill("buffMinions", true) +#baseMod skill("buffNotPlayer", true) #mods #skillEnd @@ -992,7 +1002,12 @@ statMap = { #skill SoulOfferingPlayer #startSets #set SoulOfferingPlayer -#flags minion duration +#flags duration +statMap = { + ["power_offering_buff_spell_damage_+%_final"] = { + mod("Damage", "MORE", nil, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff" }), + }, +}, #mods #skillEnd