Skip to content

Commit

Permalink
Fix Prismatic Burst not choosing 1 damage type for DPS (PathOfBuildin…
Browse files Browse the repository at this point in the history
…gCommunity#6022)

Since the stat being mapped is a bool, it automatically take the value of 1 if mapped into a mod. This fixes it by applying a multiplier of -100

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
2 people authored and Dullson committed Dec 6, 2023
1 parent 605ccb0 commit 4c0d07d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Data/Skills/sup_int.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5499,7 +5499,8 @@ skills["PrismaticBurst"] = {
["prismatic_burst_unchosen_type_damage_-100%_final"] = {
mod("FireDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 2, 3 } }),
mod("ColdDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 1, 3 } }),
mod("LightningDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 1, 2 } })
mod("LightningDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 1, 2 } }),
mult = -100,
},
["spell_damage_+%_per_10_int"] = {
skill("Damage", nil, { type = "PerStat", stat = "Int", div = 10 }),
Expand Down
3 changes: 2 additions & 1 deletion src/Export/Skills/sup_int.txt
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ local skills, mod, flag, skill = ...
["prismatic_burst_unchosen_type_damage_-100%_final"] = {
mod("FireDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 2, 3 } }),
mod("ColdDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 1, 3 } }),
mod("LightningDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 1, 2 } })
mod("LightningDamage", "MORE", nil, 0, 0, { type = "SkillPart", skillPartList = { 1, 2 } }),
mult = -100,
},
["spell_damage_+%_per_10_int"] = {
skill("Damage", nil, { type = "PerStat", stat = "Int", div = 10 }),
Expand Down

0 comments on commit 4c0d07d

Please sign in to comment.