Skip to content

Commit

Permalink
FEAT: Add parsing for triple damage mods (PathOfBuildingCommunity#4727)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paliak committed Aug 14, 2022
1 parent 37e8867 commit bc0da55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ local modNameList = {
["melee weapon and unarmed attack range"] = { "MeleeWeaponRange", "UnarmedRange" },
["melee strike range"] = { "MeleeWeaponRange", "UnarmedRange" },
["to deal double damage"] = "DoubleDamageChance",
["to deal triple damage"] = "TripleDamageChance",
-- Buffs
["onslaught effect"] = "OnslaughtEffect",
["adrenaline duration"] = "AdrenalineDuration",
Expand Down Expand Up @@ -3499,7 +3500,6 @@ local specialModList = {
} end,
["herald of thunder's storms hit enemies with (%d+)%% increased frequency"] = function(num) return { mod("HeraldStormFrequency", "INC", num), } end,
["your critical strikes have a (%d+)%% chance to deal double damage"] = function(num) return { mod("DoubleDamageChanceOnCrit", "BASE", num) } end,
["(%d+)%% chance to deal triple damage"] = function(num) return { mod("TripleDamageChance", "BASE", num) } end,
["elemental skills deal triple damage"] = { mod("TripleDamageChance", "BASE", 100, { type = "SkillType", skillTypeList = { SkillType.Cold, SkillType.Fire, SkillType.Lightning } } ), },
["deal triple damage with elemental skills"] = { mod("TripleDamageChance", "BASE", 100, { type = "SkillType", skillTypeList = { SkillType.Cold, SkillType.Fire, SkillType.Lightning } } ), },
["skills supported by unleash have %+(%d) to maximum number of seals"] = function(num) return { mod("SealCount", "BASE", num) } end,
Expand Down

0 comments on commit bc0da55

Please sign in to comment.