Skip to content

Commit 61c501d

Browse files
LocalIdentityLocalIdentity
andauthored
Add support for Offering Skills (#60)
Adds the offering skills as a buff Co-authored-by: LocalIdentity <[email protected]>
1 parent 47eeb7a commit 61c501d

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

src/Data/Skills/act_int.lua

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12016,9 +12016,19 @@ skills["PainOfferingPlayer"] = {
1201612016
label = "Pain Offering",
1201712017
incrementalEffectiveness = 0.054999999701977,
1201812018
statDescriptionScope = "pain_offering",
12019+
statMap = {
12020+
["pain_offering_attack_and_cast_speed_+%"] = {
12021+
mod("Speed", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }),
12022+
},
12023+
["pain_offering_damage_+%_final"] = {
12024+
mod("Damage", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }),
12025+
},
12026+
},
1201912027
baseFlags = {
12020-
minion = true,
12021-
area = true,
12028+
},
12029+
baseMods = {
12030+
skill("buffMinions", true),
12031+
skill("buffNotPlayer", true),
1202212032
},
1202312033
constantStats = {
1202412034
{ "base_skill_effect_duration", 6000 },
@@ -15161,8 +15171,12 @@ skills["SoulOfferingPlayer"] = {
1516115171
label = "Soul Offering",
1516215172
incrementalEffectiveness = 0.054999999701977,
1516315173
statDescriptionScope = "power_offering",
15174+
statMap = {
15175+
["power_offering_buff_spell_damage_+%_final"] = {
15176+
mod("Damage", "MORE", nil, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff" }),
15177+
},
15178+
},
1516415179
baseFlags = {
15165-
minion = true,
1516615180
duration = true,
1516715181
},
1516815182
constantStats = {

src/Export/Skills/act_int.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,17 @@ end,
777777
#skill PainOfferingPlayer
778778
#startSets
779779
#set PainOfferingPlayer
780-
#flags minion area
780+
#flags
781+
statMap = {
782+
["pain_offering_attack_and_cast_speed_+%"] = {
783+
mod("Speed", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }),
784+
},
785+
["pain_offering_damage_+%_final"] = {
786+
mod("Damage", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }),
787+
},
788+
},
789+
#baseMod skill("buffMinions", true)
790+
#baseMod skill("buffNotPlayer", true)
781791
#mods
782792
#skillEnd
783793

@@ -992,7 +1002,12 @@ statMap = {
9921002
#skill SoulOfferingPlayer
9931003
#startSets
9941004
#set SoulOfferingPlayer
995-
#flags minion duration
1005+
#flags duration
1006+
statMap = {
1007+
["power_offering_buff_spell_damage_+%_final"] = {
1008+
mod("Damage", "MORE", nil, ModFlag.Spell, 0, { type = "GlobalEffect", effectType = "Buff" }),
1009+
},
1010+
},
9961011
#mods
9971012
#skillEnd
9981013

0 commit comments

Comments
 (0)