Skip to content

Commit 1bbc55f

Browse files
LocalIdentityLocalIdentity
andauthored
Adds support for many Bloodline Ascendancy nodes (#9314)
* Lycia - Bitter Heresy Profane Ground you create inflicts Malediction on Enemies Profane Ground you create also affects you and your Allies, granting Chaotic Might * Ward % from Armour * Farrul - Spectral Tiger Trigger Level 20 Summon Spectral Tiger on Critical Strike * Farrul Beast Auras Raised Beast Spectres have Farrul's Farric Presence Raised Beast Spectres have Farrul's Fertile Presence Raised Beast Spectres have Farrul's Wild Presence * Per Phantasm 2% increased Movement Speed per Summoned Phantasm * Minion on Low life Minions deal 15% more Damage while they are on Low Life * Ward Shatter Trigger Level 20 Ward Shatter when your Ward Breaks * Misty Reflection Grants Level 20 Misty Reflection Skill * Fix Ward Shatter + minion low life mod --------- Co-authored-by: LocalIdentity <[email protected]>
1 parent 8204a64 commit 1bbc55f

File tree

10 files changed

+277
-20
lines changed

10 files changed

+277
-20
lines changed

src/Data/Minions.lua

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,29 @@ minions["SummonedSpectralWolf"] = {
282282
},
283283
}
284284

285+
minions["SummonedSpectralTiger"] = {
286+
name = "Spectral Tiger Companion",
287+
monsterTags = { "animal_claw_weapon", "beast", "fast_movement", "feline_beast", "ghost", "has_dagger", "has_one_handed_melee", "light_armour", "mammal_beast", "melee", "physical_affinity", "red_blood", "undead", },
288+
life = 24.5,
289+
fireResist = 40,
290+
coldResist = 40,
291+
lightningResist = 40,
292+
chaosResist = 20,
293+
damage = 24.5,
294+
damageSpread = 0.2,
295+
attackTime = 1.5,
296+
attackRange = 11,
297+
accuracy = 3.4,
298+
weaponType1 = "Dagger",
299+
limit = "ActiveTigerLimit",
300+
skillList = {
301+
"MeleeAtAnimationSpeed",
302+
},
303+
modList = {
304+
mod("PhysicalDamageLifeLeech", "BASE", 100, 1, 0), -- SummonedWolfLifeLeech [life_leech_from_physical_attack_damage_permyriad = 10000]
305+
},
306+
}
307+
285308
minions["RaisedSkeleton"] = {
286309
name = "Summoned Skeleton",
287310
monsterTags = { "bone_armour", "bones", "has_one_hand_sword", "has_one_handed_melee", "humanoid", "medium_height", "melee", "physical_affinity", "skeleton", "slashing_weapon", "slow_movement", "undead", },

src/Data/ModCache.lua

Lines changed: 12 additions & 18 deletions
Large diffs are not rendered by default.

src/Data/SkillStatMap.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ return {
105105
["spell_maximum_base_cold_damage_+_per_10_intelligence"] = {
106106
skill("ColdMax", nil, { type = "PerStat", stat = "Int", div = 10 }),
107107
},
108+
["spell_minimum_base_physical_damage_%_of_ward"] = {
109+
skill("PhysicalMin", nil, { type = "PercentStat", stat = "Ward", percent = 1 }),
110+
},
111+
["spell_maximum_base_physical_damage_%_of_ward"] = {
112+
skill("PhysicalMax", nil, { type = "PercentStat", stat = "Ward", percent = 1 }),
113+
},
108114
["base_cold_damage_to_deal_per_minute"] = {
109115
skill("ColdDot", nil),
110116
div = 60,
@@ -1931,6 +1937,9 @@ return {
19311937
["number_of_wolves_allowed"] = {
19321938
mod("ActiveWolfLimit", "BASE", nil),
19331939
},
1940+
["number_of_tigers_allowed"] = {
1941+
mod("ActiveTigerLimit", "BASE", nil),
1942+
},
19341943
["number_of_spider_minions_allowed"] = {
19351944
mod("ActiveSpiderLimit", "BASE", nil),
19361945
},

src/Data/Skills/other.lua

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,6 +2329,46 @@ skills["ManifestDancingDervishes"] = {
23292329
[15] = { cooldown = 0.5, levelRequirement = 1, storedUses = 1, },
23302330
},
23312331
}
2332+
skills["MistyReflection"] = {
2333+
name = "Misty Reflection",
2334+
hidden = true,
2335+
color = 4,
2336+
description = "Dash backwards, leaving a short-lived mist copy of yourself that Taunts nearby Enemies for a short duration. The copy can be damaged by Enemies, and copies that are killed by an Enemy will apply a debuff in an area that makes affected targets take 30% increased Damage and deal 30% less Damage for 4 seconds.",
2337+
skillTypes = { [SkillType.Spell] = true, [SkillType.Movement] = true, [SkillType.Travel] = true, [SkillType.Blink] = true, [SkillType.Cooldown] = true, [SkillType.FixedCastTime] = true, [SkillType.Minion] = true, [SkillType.Duration] = true, [SkillType.Area] = true, [SkillType.Buff] = true, },
2338+
statDescriptionScope = "skill_stat_descriptions",
2339+
castTime = 0.15,
2340+
fromTree = true,
2341+
baseFlags = {
2342+
spell = true,
2343+
duration = true,
2344+
},
2345+
baseMods = {
2346+
mod("DamageTaken", "INC", 30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" }),
2347+
mod("Damage", "MORE", -30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" }),
2348+
skill("debuff", true),
2349+
},
2350+
constantStats = {
2351+
{ "base_skill_effect_duration", 2000 },
2352+
{ "active_skill_base_area_of_effect_radius", 30 },
2353+
{ "misty_reflection_clone_base_maximum_life_%_of_owner_maximum_life", 10 },
2354+
},
2355+
stats = {
2356+
"base_cooldown_speed_+%",
2357+
"skill_travel_distance_+%",
2358+
"base_deal_no_damage",
2359+
"skill_cannot_be_interrupted",
2360+
"skill_cannot_be_knocked_back",
2361+
"skill_cannot_be_stunned",
2362+
"spell_cast_time_cannot_be_modified",
2363+
},
2364+
notMinionStat = {
2365+
"base_cooldown_speed_+%",
2366+
},
2367+
levels = {
2368+
[1] = { 0, 0, cooldown = 6, levelRequirement = 4, storedUses = 1, statInterpolation = { 1, 1, }, },
2369+
[20] = { 0, 0, cooldown = 6, levelRequirement = 70, storedUses = 1, statInterpolation = { 1, 1, }, },
2370+
},
2371+
}
23322372
skills["SupportUniqueMjolnerLightningSpellsCastOnHit"] = {
23332373
name = "Mjolner",
23342374
hidden = true,
@@ -3906,6 +3946,56 @@ skills["SummonSentinelOfRadiance"] = {
39063946
[20] = { 40, 1200, critChance = 6, damageEffectiveness = 2, levelRequirement = 12, statInterpolation = { 1, 1, }, cost = { Mana = 40, }, },
39073947
},
39083948
}
3949+
skills["SummonSpectralTiger"] = {
3950+
name = "Summon Spectral Tiger",
3951+
hidden = true,
3952+
color = 4,
3953+
description = "Summons a Spectral Tiger Companion that attacks nearby enemies and dies after a duration. Each Spectral Tiger grants you a buff that increases Critical Strike Chance, and increases Attack and Cast Speed. If you have the maximum number of them, refreshes the duration and life of an existing one instead.",
3954+
skillTypes = { [SkillType.Spell] = true, [SkillType.Minion] = true, [SkillType.Duration] = true, [SkillType.MinionsCanExplode] = true, [SkillType.Trappable] = true, [SkillType.Totemable] = true, [SkillType.Mineable] = true, [SkillType.Multicastable] = true, [SkillType.Triggerable] = true, [SkillType.Triggered] = true, [SkillType.InbuiltTrigger] = true, [SkillType.CreatesMinion] = true, [SkillType.Buff] = true, [SkillType.Cooldown] = true, },
3955+
minionSkillTypes = { [SkillType.Attack] = true, [SkillType.Melee] = true, [SkillType.MeleeSingleTarget] = true, [SkillType.Multistrikeable] = true, },
3956+
statDescriptionScope = "minion_spell_skill_stat_descriptions",
3957+
castTime = 1,
3958+
fromTree = true,
3959+
minionList = {
3960+
"SummonedSpectralTiger",
3961+
},
3962+
statMap = {
3963+
["spectral_tiger_grants_critical_strike_chance_+%"] = {
3964+
mod("CritChance", "INC", nil, 0, 0, { type = "Multiplier", var = "SpectralTigerCount" }, { type = "GlobalEffect", effectType = "Buff", effectName = "Spectral Tiger" }),
3965+
},
3966+
["spectral_tiger_grants_attack_and_cast_speed_+%"] = {
3967+
mod("Speed", "INC", nil, 0, 0, { type = "Multiplier", var = "SpectralTigerCount" }, { type = "GlobalEffect", effectType = "Buff", effectName = "Spectral Tiger" }),
3968+
},
3969+
["modifiers_to_claw_critical_strike_chance_apply_minion_critical_strike_chance"] = {
3970+
flag("ClawCritChanceAppliesToMinions"),
3971+
},
3972+
["modifiers_to_claw_critical_strike_multiplier_apply_minion_critical_strike_multiplier"] = {
3973+
flag("ClawCritMultiplierAppliesToMinions"),
3974+
},
3975+
},
3976+
baseFlags = {
3977+
spell = true,
3978+
minion = true,
3979+
duration = true,
3980+
},
3981+
constantStats = {
3982+
{ "base_skill_effect_duration", 30000 },
3983+
{ "number_of_tigers_allowed", 5 },
3984+
{ "display_minion_monster_type", 8 },
3985+
{ "base_display_minion_actor_level", 65 },
3986+
{ "cast_on_crit_%", 100 },
3987+
},
3988+
stats = {
3989+
"spectral_tiger_grants_critical_strike_chance_+%",
3990+
"spectral_tiger_grants_attack_and_cast_speed_+%",
3991+
"spell_uncastable_if_triggerable",
3992+
"modifiers_to_claw_critical_strike_chance_apply_minion_critical_strike_chance",
3993+
"modifiers_to_claw_critical_strike_multiplier_apply_minion_critical_strike_multiplier",
3994+
},
3995+
levels = {
3996+
[20] = { 25, 7, cooldown = 0.5, levelRequirement = 70, storedUses = 1, statInterpolation = { 1, 1, }, },
3997+
},
3998+
}
39093999
skills["SummonSpectralWolf"] = {
39104000
name = "Summon Spectral Wolf",
39114001
hidden = true,
@@ -4471,6 +4561,45 @@ skills["VoidShot"] = {
44714561
[20] = { PvPDamageMultiplier = -80, baseMultiplier = 0.65, damageEffectiveness = 0.65, levelRequirement = 70, },
44724562
},
44734563
}
4564+
skills["WardShatter"] = {
4565+
name = "Ward Shatter",
4566+
hidden = true,
4567+
color = 1,
4568+
baseEffectiveness = 0.68000000715256,
4569+
incrementalEffectiveness = 0.045000001788139,
4570+
description = "Your ward shatters, dealing physical spell damage to enemies in an area, based on the amount of ward you have. Enemies hit are inflicted with Enervation, a Debuff that lowers Movement Speed by 20% and prevents Life and Energy Shield Recovery for 4 seconds.",
4571+
skillTypes = { [SkillType.Damage] = true, [SkillType.Physical] = true, [SkillType.Spell] = true, [SkillType.Area] = true, [SkillType.AreaSpell] = true, [SkillType.Nova] = true, [SkillType.Triggerable] = true, [SkillType.Triggered] = true, [SkillType.InbuiltTrigger] = true, },
4572+
statDescriptionScope = "skill_stat_descriptions",
4573+
castTime = 1,
4574+
fromTree = true,
4575+
statMap = {
4576+
["from_code_active_skill_ailment_damage_+%_final"] = {
4577+
mod("Damage", "MORE", nil, ModFlag.Ailment),
4578+
},
4579+
["active_skill_damage_+%_final_if_ward_has_not_broken_in_the_past_2_seconds"] = {
4580+
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "WardBrokenPast2Seconds", neg = true }),
4581+
},
4582+
},
4583+
baseFlags = {
4584+
spell = true,
4585+
},
4586+
baseMods = {
4587+
skill("showAverage", true),
4588+
},
4589+
constantStats = {
4590+
{ "trigger_on_ward_break_%_chance", 100 },
4591+
{ "from_code_active_skill_ailment_damage_+%_final", -40 },
4592+
{ "active_skill_damage_+%_final_if_ward_has_not_broken_in_the_past_2_seconds", 80 },
4593+
},
4594+
stats = {
4595+
"spell_minimum_base_physical_damage_%_of_ward",
4596+
"spell_maximum_base_physical_damage_%_of_ward",
4597+
},
4598+
levels = {
4599+
[1] = { 0.20000000298023, 0.30000001192093, cooldown = 0.5, critChance = 6, levelRequirement = 4, storedUses = 1, statInterpolation = { 3, 3, }, },
4600+
[20] = { 0.61250001192093, 0.73750001192093, cooldown = 0.5, critChance = 6, levelRequirement = 70, storedUses = 1, statInterpolation = { 3, 3, }, },
4601+
},
4602+
}
44744603
skills["BreachHandTrap"] = {
44754604
name = "Will of the Lords",
44764605
hidden = true,

src/Export/Minions/Minions.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ local minions, mod = ...
4141
#limit ActiveWolfLimit
4242
#emit
4343

44+
#monster Metadata/Monsters/SummonedTiger/SummonedTiger SummonedSpectralTiger
45+
#limit ActiveTigerLimit
46+
#emit
47+
4448
#monster Metadata/Monsters/RaisedSkeletons/RaisedSkeletonStandard RaisedSkeleton
4549
#limit ActiveSkeletonLimit
4650
#emit

src/Export/Skills/other.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,14 @@ local skills, mod, flag, skill = ...
637637
#baseMod skill("minionLevel", 65)
638638
#mods
639639

640+
#skill MistyReflection
641+
#flags spell duration
642+
fromTree = true,
643+
#baseMod mod("DamageTaken", "INC", 30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" })
644+
#baseMod mod("Damage", "MORE", -30, 0, 0, { type = "Condition", var = "MistyReflection"}, { type = "GlobalEffect", effectType = "Debuff" })
645+
#baseMod skill("debuff", true)
646+
#mods
647+
640648
#skill SupportUniqueMjolnerLightningSpellsCastOnHit Mjolner
641649
fromItem = true,
642650
#mods
@@ -1028,6 +1036,28 @@ local skills, mod, flag, skill = ...
10281036
},
10291037
#mods
10301038

1039+
#skill SummonSpectralTiger
1040+
#flags spell minion duration
1041+
fromTree = true,
1042+
minionList = {
1043+
"SummonedSpectralTiger",
1044+
},
1045+
statMap = {
1046+
["spectral_tiger_grants_critical_strike_chance_+%"] = {
1047+
mod("CritChance", "INC", nil, 0, 0, { type = "Multiplier", var = "SpectralTigerCount" }, { type = "GlobalEffect", effectType = "Buff", effectName = "Spectral Tiger" }),
1048+
},
1049+
["spectral_tiger_grants_attack_and_cast_speed_+%"] = {
1050+
mod("Speed", "INC", nil, 0, 0, { type = "Multiplier", var = "SpectralTigerCount" }, { type = "GlobalEffect", effectType = "Buff", effectName = "Spectral Tiger" }),
1051+
},
1052+
["modifiers_to_claw_critical_strike_chance_apply_minion_critical_strike_chance"] = {
1053+
flag("ClawCritChanceAppliesToMinions"),
1054+
},
1055+
["modifiers_to_claw_critical_strike_multiplier_apply_minion_critical_strike_multiplier"] = {
1056+
flag("ClawCritMultiplierAppliesToMinions"),
1057+
},
1058+
},
1059+
#mods
1060+
10311061
#skill SummonSpectralWolf
10321062
#flags spell minion duration
10331063
fromItem = true,
@@ -1165,6 +1195,20 @@ local skills, mod, flag, skill = ...
11651195
fromItem = true,
11661196
#mods
11671197

1198+
#skill WardShatter
1199+
#flags spell
1200+
fromTree = true,
1201+
statMap = {
1202+
["from_code_active_skill_ailment_damage_+%_final"] = {
1203+
mod("Damage", "MORE", nil, ModFlag.Ailment),
1204+
},
1205+
["active_skill_damage_+%_final_if_ward_has_not_broken_in_the_past_2_seconds"] = {
1206+
mod("Damage", "MORE", nil, 0, 0, { type = "Condition", var = "WardBrokenPast2Seconds", neg = true }),
1207+
},
1208+
},
1209+
#baseMod skill("showAverage", true)
1210+
#mods
1211+
11681212
#skill BreachHandTrap
11691213
#flags spell trap area duration
11701214
fromItem = true,

src/Modules/CalcPerform.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,6 +1994,15 @@ function calcs.perform(env, skipEHP)
19941994
if hasActiveSpectreSkill then
19951995
for spectreId = 1, #env.spec.build.spectreList do
19961996
local spectreData = data.minions[env.spec.build.spectreList[spectreId]]
1997+
if not modDB.conditions["HaveBeastSpectre"] then
1998+
-- Change to grab from monster family using CorpseTypeTags.dat if other monster families are needed in the future
1999+
for _, tagName in ipairs(spectreData.monsterTags) do
2000+
if tagName == "beast" then
2001+
modDB.conditions["HaveBeastSpectre"] = true
2002+
break
2003+
end
2004+
end
2005+
end
19972006
for modId = 1, #spectreData.modList do
19982007
local modData = spectreData.modList[modId]
19992008
if modData.name == "EnemyCurseLimit" then

src/Modules/CalcSections.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ return {
17411741
{ label = "Wither Effect", { format = "{1:output:WitherEffectOnSelf}%", { modName = "WitherEffectOnSelf" }, }, },
17421742
{ label = "Debuff Dur. Mult.", haveOutput = "showDebuffExpirationModifier", { format = "{1:output:DebuffExpirationModifier}%", { modName = "SelfDebuffExpirationRate" }, }, },
17431743
} }, { defaultCollapsed = false, label = "Stun Duration", data = {
1744-
{ label = "Stun Avoid Chance", haveOutput = "StunAvoidChance", { format = "{0:output:StunAvoidChance}%", { breakdown = "StunAvoidChance" }, { modName = "AvoidStun" }, }, },
1744+
{ label = "Stun Avoid Chance", haveOutput = "StunAvoidChance", { format = "{0:output:StunAvoidChance}%", { breakdown = "StunAvoidChance" }, { modName = { "AvoidStun", "StunImmune" } }, }, },
17451745
{ label = "Stun Threshold", { format = "{0:output:StunThreshold}", { breakdown = "StunThreshold" }, { modName = { "StunThreshold", "StunThresholdManaPercent", "StunThresholdEnergyShieldPercent" } }, }, },
17461746
{ label = "Stun Chance", { format = "{0:output:SelfStunChance}%", { breakdown = "SelfStunChance" }, }, },
17471747
{ label = "Interrupt Avoid Ch.", haveOutput = "InterruptStunAvoidChance", { format = "{0:output:InterruptStunAvoidChance}%", { modName = "AvoidInterruptStun" }, }, },

src/Modules/ConfigOptions.lua

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ return {
195195
{ var = "minionsConditionFullLife", type = "check", label = "Are your Minions always on Full ^xE05030Life?", ifMinionCond = "FullLife", apply = function(val, modList, enemyModList)
196196
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("Condition:FullLife", "FLAG", true, "Config") }, "Config")
197197
end },
198+
{ var = "minionsConditionLowLife", type = "check", label = "Are your Minions always on Low ^xE05030Life?", ifMinionCond = "LowLife", apply = function(val, modList, enemyModList)
199+
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("Condition:LowLife", "FLAG", true, "Config") }, "Config")
200+
end },
198201
{ var = "minionsConditionFullEnergyShield", type = "check", label = "Minion is always on Full ^x88FFFFEnergy Shield?", ifMinionCond = "FullEnergyShield", apply = function(val, modList, enemyModList)
199202
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("Condition:FullEnergyShield", "FLAG", true, "Config") }, "Config")
200203
end },
@@ -468,6 +471,10 @@ return {
468471
{ var = "meatShieldEnemyNearYou", type = "check", label = "Is the enemy near you?", ifSkill = "Meat Shield", apply = function(val, modList, enemyModList)
469472
modList:NewMod("Condition:MeatShieldEnemyNearYou", "FLAG", true, "Config")
470473
end },
474+
{ label = "Misty Reflection:", ifSkill = "Misty Reflection" },
475+
{ var = "enemyHitMistyReflection", type = "check", label = "Enemy hit by Misty Reflection?", ifSkill = "Misty Reflection", tooltip = "Misty Reflection debuff lasts 4 seconds and makes enemies have:\n\t30% increased Damage Taken\n\tDeal 30% less Damage", apply = function(val, modList, enemyModList)
476+
enemyModList:NewMod("Condition:MistyReflection", "FLAG", true, "Config")
477+
end },
471478
{ label = "Momentum:", ifSkill = "Momentum" },
472479
{ var = "MomentumStacks", type = "count", label = "# of Momentum (if not average):", ifSkill = "Momentum", apply = function(val, modList, enemyModList)
473480
modList:NewMod("Multiplier:MomentumStacks", "BASE", val, "Config", { type = "Condition", var = "Combat" })
@@ -561,6 +568,11 @@ return {
561568
{ var = "configSnipeStages", type = "count", label = "# of Snipe stages:", ifSkill = "Snipe", tooltip = "Sets the number of stages reached before releasing Snipe.", apply = function(val, modList, enemyModList)
562569
modList:NewMod("Multiplier:SnipeStage", "BASE", val, "Config")
563570
end },
571+
{ label = "Spectral Tiger:", ifSkill = "Summon Spectral Tiger" },
572+
{ var = "configSpectralTigerCount", type = "count", label = "# of Active Spectral Tigers:", ifSkill = "Summon Spectral Tiger", defaultPlaceholderState = 5, tooltip = "Sets the number of active Spectral Tigers.\nThe base maximum number of Spectral Tigers is 5.", apply = function(val, modList, enemyModList)
573+
modList:NewMod("Multiplier:SpectralTigerConfig", "BASE", val, "Config")
574+
modList:NewMod("Multiplier:SpectralTigerCount", "BASE", 1, "Config", { type = "Multiplier", var = "SpectralTigerConfig", limitStat = "ActiveTigerLimit" })
575+
end },
564576
{ label = "Spectral Wolf:", ifSkill = "Summon Spectral Wolf" },
565577
{ var = "configSpectralWolfCount", type = "count", label = "# of Active Spectral Wolves:", ifSkill = "Summon Spectral Wolf", tooltip = "Sets the number of active Spectral Wolves.\nThe base maximum number of Spectral Wolves is 10.", apply = function(val, modList, enemyModList)
566578
modList:NewMod("Multiplier:SpectralWolfConfig", "BASE", val, "Config")
@@ -1028,6 +1040,12 @@ Huge sets the radius to 11.
10281040
modList:NewMod("Condition:OnConsecratedGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
10291041
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("Condition:OnConsecratedGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" }) })
10301042
end },
1043+
{ var = "conditionOnProfaneGround", type = "check", label = "Are you on Profane Ground?", ifCond = "OnProfaneGround", apply = function(val, modList, enemyModList)
1044+
modList:NewMod("Condition:OnProfaneGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
1045+
end },
1046+
{ var = "minionConditionOnProfaneGround", type = "check", label = "Minion on Profane Ground?", ifMinionCond = "OnProfaneGround", apply = function(val, modList, enemyModList)
1047+
modList:NewMod("MinionModifier", "LIST", { mod = modLib.createMod("Condition:OnProfaneGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" }) })
1048+
end },
10311049
{ var = "conditionOnCausticGround", type = "check", label = "Are you on Caustic Ground?", ifCond = "OnCausticGround", apply = function(val, modList, enemyModList)
10321050
modList:NewMod("Condition:OnCausticGround", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
10331051
end },
@@ -1225,6 +1243,9 @@ Huge sets the radius to 11.
12251243
{ var = "multiplierManaSpentRecently", type = "count", label = "# of ^x7070FFMana ^7spent Recently:", ifMult = "ManaSpentRecently", apply = function(val, modList, enemyModList)
12261244
modList:NewMod("Multiplier:ManaSpentRecently", "BASE", val, "Config", { type = "Condition", var = "Combat" })
12271245
end },
1246+
{ var = "conditionWardBrokenPast2Seconds", type = "check", label = "Has your ^xFFFF77Ward ^7broken in the past 2s?", ifCond = "WardBrokenPast2Seconds", apply = function(val, modList, enemyModList)
1247+
modList:NewMod("Condition:WardBrokenPast2Seconds", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
1248+
end },
12281249
{ var = "conditionBeenHitRecently", type = "check", label = "Have you been Hit Recently?", ifCond = "BeenHitRecently", apply = function(val, modList, enemyModList)
12291250
modList:NewMod("Condition:BeenHitRecently", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
12301251
end },

0 commit comments

Comments
 (0)