You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localmodResult=1--The more multipliers for each mod are computed to the nearest percent then applied.
129
130
ifmodListthen
130
131
fori=1, #modListdo
131
132
localmod=modList[i]
132
133
ifmod.type=="MORE" andband(flags, mod.flags) ==mod.flagsandMatchKeywordFlags(keywordFlags, mod.keywordFlags) and (notsourceormod.source:match("[^:]+") ==source) then
["projectiles pierce all nearby targets"] = { flag("PierceAllTargets") },
2387
2385
["gain %+(%d+) life when you hit a bleeding enemy"] = function(num) return { mod("LifeOnHit", "BASE", num, nil, ModFlag.Hit, { type = "ActorCondition", actor = "enemy", var = "Bleeding" }) } end,
2388
-
["accuracy rating is doubled"] = { mod("Accuracy", "MORE", 100) },
mod("Damage", "MORE", num, nil, ModFlag.Attack, { type = "Multiplier", var = "CastLast8Seconds", limit = max, limitTotal = true }),
2630
2627
} end,
2631
2628
-- Juggernaut
2632
-
["armour received from body armour is doubled"] = { flag("Unbreakable") },
2633
-
["armour from equipped body armour is doubled"] = { flag("Unbreakable") },
2634
2629
["action speed cannot be modified to below base value"] = { mod("MinimumActionSpeed", "MAX", 100, { type = "GlobalEffect", effectType = "Global", unscalable = true }) },
2635
2630
["movement speed cannot be modified to below base value"] = { flag("MovementSpeedCannotBeBelowBase") },
2636
2631
["you cannot be slowed to below base speed"] = { mod("MinimumActionSpeed", "MAX", 100, { type = "GlobalEffect", effectType = "Global", unscalable = true }) },
@@ -2752,7 +2747,10 @@ local specialModList = {
2752
2747
},
2753
2748
["(%d+)%% more elemental damage while unbound"] = function(num) return { mod("ElementalDamage", "MORE", num, { type = "Condition", var = "Unbound"})} end,
2754
2749
-- Warden (Affliction)
2755
-
["defences from equipped body armour are doubled if it has no socketed gems"] = { flag("DoubleBodyArmourDefence", { type = "MultiplierThreshold", var = "SocketedGemsInBody Armour", threshold = 0, upper = true }, { type = "Condition", var = "UsingBody Armour" }) },
2750
+
["defences from equipped body armour are doubled if it has no socketed gems"] = {
2751
+
mod("Defences", "MORE", 100, { type = "MultiplierThreshold", var = "SocketedGemsInBody Armour", threshold = 0, upper = true }, { type = "Condition", var = "UsingBody Armour" }, { type = "SlotName", slotName = "Body Armour"}, { type = "Multiplier", var = "OathoftheMajiDoubled", globalLimit = 100, globalLimitKey = "OathoftheMajiLimit" }),
["([%+%-]%d+)%% to all elemental resistances if you have an equipped helmet with no socketed gems"] = function(num) return { mod("ElementalResist", "BASE", num, { type = "MultiplierThreshold", var = "SocketedGemsInHelmet", threshold = 0, upper = true}, { type = "Condition", var = "UsingHelmet" }) } end,
2757
2755
["(%d+)%% increased maximum life if you have equipped gloves with no socketed gems"] = function(num) return { mod("Life", "INC", num, { type = "MultiplierThreshold", var = "SocketedGemsInGloves", threshold = 0, upper = true}, { type = "Condition", var = "UsingGloves" }) } end,
2758
2756
["(%d+)%% increased movement speed if you have equipped boots with no socketed gems"] = function(num) return { mod("MovementSpeed", "INC", num, { type = "MultiplierThreshold", var = "SocketedGemsInBoots", threshold = 0, upper = true}, { type = "Condition", var = "UsingBoots" }) } end,
0 commit comments