Skip to content

Commit bab0d34

Browse files
deathbeamLocalIdentity
andauthored
Add support for Master Distiller (#6134)
* Add support for Master Distiller The various effects are enabled if you are using the correct flask. Signed-off-by: Tomas Slusny <slusnucky@gmail.com> * Add blank parse for first line --------- Signed-off-by: Tomas Slusny <slusnucky@gmail.com> Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent f24e7b1 commit bab0d34

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Modules/ModParser.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2339,6 +2339,16 @@ local specialModList = {
23392339
end
23402340
return mods
23412341
end,
2342+
["grant bonuses to non%-channelling skills you use by consuming (%d+) charges from a flask of each of the following types, if possible:"] = { },
2343+
["if diamond flask charges are consumed, (%d+)%% increased critical strike chance"] = function (num) return {
2344+
mod("CritChance", "INC", num, { type = "SkillType", skillType = SkillType.Triggered, neg = true }, { type = "SkillType", skillType = SkillType.Channel, neg = true }, { type = "Condition", var = "UsingDiamondFlask" })
2345+
} end,
2346+
["if bismuth flask charges are consumed, penetrate (%d+)%% elemental resistances"] = function (num) return {
2347+
mod("ElementalPenetration", "BASE", num, { type = "SkillType", skillType = SkillType.Triggered, neg = true }, { type = "SkillType", skillType = SkillType.Channel, neg = true }, { type = "Condition", var = "UsingBismuthFlask" })
2348+
} end,
2349+
["if amethyst flask charges are consumed, (%d+)%% of physical damage as extra chaos damage"] = function (num) return {
2350+
mod("PhysicalDamageGainAsChaos", "BASE", num, { type = "SkillType", skillType = SkillType.Triggered, neg = true }, { type = "SkillType", skillType = SkillType.Channel, neg = true }, { type = "Condition", var = "UsingAmethystFlask" })
2351+
} end,
23422352
-- Raider
23432353
["nearby enemies have (%d+)%% less accuracy rating while you have phasing"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("Accuracy", "MORE", -num) }, { type = "Condition", var = "Phasing" }) } end,
23442354
["immun[ei]t?y? to elemental ailments while phasing"] = function()

0 commit comments

Comments
 (0)