Change mod to use old wording

This commit is contained in:
LocalIdentity
2020-10-17 05:58:04 +11:00
parent 29199dd9e7
commit 20b93f37d8
2 changed files with 5 additions and 8 deletions

View File

@@ -624,11 +624,8 @@ return {
{ var = "conditionOnConsecratedGround", type = "check", label = "Are you on Consecrated Ground?", tooltip = "In addition to allowing any 'while on Consecrated Ground' modifiers to apply,\nConsecrated Ground grants 6% Life Regeneration to players and allies.", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:OnConsecratedGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
end },
{ var = "conditionOnFungalGround", type = "check", label = "Are you on Fungal Ground?", ifCond = "CreateFungalGround", tooltip = "Allies on your Fungal Ground gain 10% of Non-Chaos Damage as extra Chaos Damage.", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:OnFungalGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" }, { type = "Condition", var = "CreateFungalGround" })
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("Condition:OnFungalGround", "FLAG", true, "Config") }, { type = "Condition", var = "Combat" }, { type = "Condition", var = "CreateFungalGround" })
modList:NewMod("NonChaosDamageGainAsChaos", "BASE", 10, "Fungal Ground", { type = "Condition", var = "OnFungalGround" })
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("NonChaosDamageGainAsChaos", "BASE", 10, "Fungal Ground", { type = "Condition", var = "OnFungalGround" }) })
{ var = "conditionOnFungalGround", type = "check", label = "Are you on Fungal Ground?", ifCond = "OnFungalGround", tooltip = "Allies on your Fungal Ground gain 10% of Non-Chaos Damage as extra Chaos Damage.", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:OnFungalGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
end },
{ var = "conditionOnBurningGround", type = "check", label = "Are you on Burning Ground?", ifCond = "OnBurningGround", implyCond = "Burning", tooltip = "This also implies that you are Burning.", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:OnBurningGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
@@ -1143,7 +1140,7 @@ return {
modList:NewMod("CritChance", "BASE", 1, "Config", { type = "ActorCondition", actor = "enemy", var = "OnProfaneGround" })
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("CritChance", "BASE", 1, "Config", { type = "ActorCondition", actor = "enemy", var = "OnProfaneGround" }) })
end },
{ var = "conditionEnemyOnFungalGround", type = "check", label = "Is the enemy on Fungal Ground?", ifCond = "CreateFungalGround", tooltip = "Enemies on your Fungal Ground deal 10% less Damage.", apply = function(val, modList, enemyModList)
{ var = "conditionEnemyOnFungalGround", type = "check", label = "Is the enemy on Fungal Ground?", ifCond = "OnFungalGround", tooltip = "Enemies on your Fungal Ground deal 10% less Damage.", apply = function(val, modList, enemyModList)
enemyModList:NewMod("Condition:OnFungalGround", "FLAG", true, "Config", { type = "Condition", var = "Effective" })
end },
{ var = "conditionEnemyInChillingArea", type = "check", label = "Is the enemy in a Chilling area?", ifEnemyCond = "InChillingArea", apply = function(val, modList, enemyModList)

View File

@@ -2453,8 +2453,8 @@ local specialModList = {
["nearby enemies are crushed while you have least (%d+) rage"] = function(num) return { mod("EnemyPhysicalDamageReduction", "BASE", -15, { type = "MultiplierThreshold", var = "Rage", threshold = num }) } end,
["enemies on fungal ground you kill explode, dealing 5%% of their life as chaos damage"] = {},
["you have fungal ground around you while stationary"] = {
flag("Condition:CreateFungalGround"),
mod("Dummy", "DUMMY", 1, { type = "Condition", var = "CreateFungalGround" }), -- Make the Configuration option appear
mod("ExtraAura", "LIST", { mod = mod("NonChaosDamageGainAsChaos", "BASE", 10) }, { type = "Condition", varList = { "OnFungalGround", "Stationary" } }),
mod("EnemyModifier", "LIST", { mod = mod("Damage", "MORE", -10) }, { type = "ActorCondition", actor = "enemy", varList = { "OnFungalGround", "Stationary" } }),
},
["create profane ground instead of consecrated ground"] = {
flag("Condition:CreateProfaneGround"),