|
|
|
|
@@ -199,6 +199,7 @@ local modNameList = {
|
|
|
|
|
["elemental damage taken from hits"] = "ElementalDamageTakenWhenHit",
|
|
|
|
|
["elemental damage taken over time"] = "ElementalDamageTakenOverTime",
|
|
|
|
|
["cold and lightning damage taken"] = { "ColdDamageTaken", "LightningDamageTaken" },
|
|
|
|
|
["physical and chaos damage taken"] = { "PhysicalDamageTaken", "ChaosDamageTaken" },
|
|
|
|
|
["reflected elemental damage taken"] = "ElementalReflectedDamageTaken",
|
|
|
|
|
-- Other defences
|
|
|
|
|
["to dodge attacks"] = "AttackDodgeChance",
|
|
|
|
|
@@ -1225,6 +1226,8 @@ local modTagList = {
|
|
|
|
|
["while you have a summoned golem"] = { tag = { type = "Condition", varList = { "HavePhysicalGolem", "HaveLightningGolem", "HaveColdGolem", "HaveFireGolem", "HaveChaosGolem", "HaveCarrionGolem" } } },
|
|
|
|
|
["if a minion has died recently"] = { tag = { type = "Condition", var = "MinionsDiedRecently" } },
|
|
|
|
|
["while you have sacrificial zeal"] = { tag = { type = "Condition", var = "SacrificialZeal" } },
|
|
|
|
|
["while sane"] = { tag = { type = "Condition", var = "Insane", neg = true } },
|
|
|
|
|
["while insane"] = { tag = { type = "Condition", var = "Insane" } },
|
|
|
|
|
-- Enemy status conditions
|
|
|
|
|
["at close range"] = { tag = { type = "Condition", var = "AtCloseRange" } },
|
|
|
|
|
["against rare and unique enemies"] = { tag = { type = "ActorCondition", actor = "enemy", var = "RareOrUnique" } },
|
|
|
|
|
@@ -1886,9 +1889,6 @@ local specialModList = {
|
|
|
|
|
["critical strike chance is increased by lightning resistance"] = { mod("CritChance", "INC", 1, { type = "PerStat", stat = "LightningResist", div = 1 }) },
|
|
|
|
|
["non%-critical strikes deal (%d+)%% damage"] = function(num) return { mod("Damage", "MORE", -100 + num, nil, ModFlag.Hit, { type = "Condition", var = "CriticalStrike", neg = true }) } end,
|
|
|
|
|
["critical strikes penetrate (%d+)%% of enemy elemental resistances while affected by zealotry"] = function(num) return { mod("ElementalPenetration", "BASE", num, { type = "Condition", var = "CriticalStrike" }, { type = "Condition", var = "AffectedByZealotry" }) } end,
|
|
|
|
|
["(%d+)%% more critical strike chance while insane"] = function(num) return {
|
|
|
|
|
mod("CritChance", "MORE", num, { type = "Condition", var = "Insane" }),
|
|
|
|
|
} end,
|
|
|
|
|
-- Generic Ailments
|
|
|
|
|
["enemies take (%d+)%% increased damage for each type of ailment you have inflicted on them"] = function(num) return {
|
|
|
|
|
mod("EnemyModifier", "LIST", { mod = mod("DamageTaken", "INC", num) }, { type = "ActorCondition", actor = "enemy", var = "Frozen" }),
|
|
|
|
|
@@ -2361,10 +2361,6 @@ local specialModList = {
|
|
|
|
|
["your movement speed is (%d+)%% of its base value"] = function(num) return { mod("MovementSpeed", "OVERRIDE", num / 100) } end,
|
|
|
|
|
["armour also applies to lightning damage taken from hits"] = { flag("ArmourAppliesToLightningDamageTaken") },
|
|
|
|
|
["lightning resistance does not effect lightning damage taken"] = { flag("SelfIgnoreLightningResistance") },
|
|
|
|
|
["(%d+)%% less physical and chaos damage taken while sane"] = function(num) return {
|
|
|
|
|
mod("PhysicalDamageTaken", "LESS", num, { type = "Condition", var = "Insane", neg = true }),
|
|
|
|
|
mod("ChaosDamageTaken", "LESS", num, { type = "Condition", var = "Insane", neg = true }),
|
|
|
|
|
} end,
|
|
|
|
|
-- Knockback
|
|
|
|
|
["cannot knock enemies back"] = { flag("CannotKnockback") },
|
|
|
|
|
["knocks back enemies if you get a critical strike with a staff"] = { mod("EnemyKnockbackChance", "BASE", 100, nil, ModFlag.Staff, { type = "Condition", var = "CriticalStrike" }) },
|
|
|
|
|
|