Skip to content

Commit

Permalink
Fix Power Siphon not benefiting from Spell Damage (#7802)
Browse files Browse the repository at this point in the history
The mod was not in the stat map. Moved it to the SkillStatMap file as it's used on a bunch of gems now

Co-authored-by: LocalIdentity <[email protected]>
  • Loading branch information
LocalIdentity and LocalIdentity authored Jul 22, 2024
1 parent 9a6462a commit 88ab950
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
4 changes: 4 additions & 0 deletions src/Data/SkillStatMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,10 @@ return {
flag("MinionDamageAppliesToPlayer"),
mod("ImprovedMinionDamageAppliesToPlayer", "MAX", nil)
},
["active_skill_additive_spell_damage_modifiers_apply_to_attack_damage_at_%_value"] = {
flag("SpellDamageAppliesToAttacks"),
mod("ImprovedSpellDamageAppliesToAttacks", "MAX", nil),
},
["active_skill_main_hand_weapon_damage_+%_final"] = {
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "MainHandAttack" }),
},
Expand Down
14 changes: 0 additions & 14 deletions src/Data/Skills/act_int.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10126,12 +10126,6 @@ skills["ClusterBurst"] = {
area = true,
},
},
statMap = {
["active_skill_additive_spell_damage_modifiers_apply_to_attack_damage_at_%_value"] = {
flag("SpellDamageAppliesToAttacks"),
mod("ImprovedSpellDamageAppliesToAttacks", "MAX", nil),
},
},
baseFlags = {
attack = true,
projectile = true,
Expand Down Expand Up @@ -10227,10 +10221,6 @@ skills["ClusterBurstAltX"] = {
["kinetic_blast_modifiers_to_number_of_projectiles_instead_apply_to_number_of_clusters"] = {
flag("NoAdditionalProjectiles"),
},
["active_skill_additive_spell_damage_modifiers_apply_to_attack_damage_at_%_value"] = {
flag("SpellDamageAppliesToAttacks"),
mod("ImprovedSpellDamageAppliesToAttacks", "MAX", nil),
},
},
baseFlags = {
attack = true,
Expand Down Expand Up @@ -10312,10 +10302,6 @@ skills["KineticBolt"] = {
statDescriptionScope = "skill_stat_descriptions",
castTime = 1,
statMap = {
["active_skill_additive_spell_damage_modifiers_apply_to_attack_damage_at_%_value"] = {
flag("SpellDamageAppliesToAttacks"),
mod("ImprovedSpellDamageAppliesToAttacks", "MAX", nil),
},
["quality_display_spell_damage_to_attack_damage_is_gem"] = {
--Display Only
},
Expand Down
4 changes: 0 additions & 4 deletions src/Export/Skills/act_int.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2201,10 +2201,6 @@ local skills, mod, flag, skill = ...
#skill KineticBolt
#flags attack projectile
statMap = {
["active_skill_additive_spell_damage_modifiers_apply_to_attack_damage_at_%_value"] = {
flag("SpellDamageAppliesToAttacks"),
mod("ImprovedSpellDamageAppliesToAttacks", "MAX", nil),
},
["quality_display_spell_damage_to_attack_damage_is_gem"] = {
--Display Only
},
Expand Down

0 comments on commit 88ab950

Please sign in to comment.