Skip to content

Commit ccf8cc7

Browse files
committed
AI implemented
1 parent e648cb5 commit ccf8cc7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Modules/ModParser.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,6 +2210,13 @@ local specialModList = {
22102210
},
22112211
["spend life instead of mana for effects of skills"] = { },
22122212
["skills cost %+(%d+) rage"] = function(num) return { mod("RageCostBase", "BASE", num) } end,
2213+
-- Cost efficiency: invert sign so increased efficiency reduces cost
2214+
["(%d+)%% increased mana cost efficiency"] = function(num) return { mod("ManaCost", "INC", -num) } end,
2215+
["(%d+)%% reduced mana cost efficiency"] = function(num) return { mod("ManaCost", "INC", num) } end,
2216+
["(%d+)%% increased cost efficiency of attacks"] = function(num) return { mod("Cost", "INC", -num, nil, ModFlag.Attack) } end,
2217+
["(%d+)%% increased mana cost efficiency of attacks"] = function(num) return { mod("ManaCost", "INC", -num, nil, ModFlag.Attack) } end,
2218+
["(%d+)%% increased mana cost efficiency of marks"] = function(num) return { mod("ManaCost", "INC", -num, { type = "SkillType", skillType = SkillType.Mark }) } end,
2219+
["(%d+)%% increased mana cost efficiency of spells"] = function(num) return { mod("ManaCost", "INC", -num, nil, ModFlag.Spell) } end,
22132220
["non%-aura vaal skills require (%d+)%% reduced souls per use during effect"] = function(num) return { mod("SoulCost", "INC", -num, { type = "Condition", var = "UsingFlask" }, { type = "SkillType", skillType = SkillType.Aura, neg = true }, { type = "SkillType", skillType = SkillType.Vaal }) } end,
22142221
["non%-aura vaal skills require (%d+)%% reduced souls per use"] = function(num) return { mod("SoulCost", "INC", -num, { type = "SkillType", skillType = SkillType.Aura, neg = true }, { type = "SkillType", skillType = SkillType.Vaal }) } end,
22152222
["vaal skills used during effect have (%d+)%% reduced soul gain prevention duration"] = function(num) return { mod("SoulGainPreventionDuration", "INC", -num, { type = "Condition", var = "UsingFlask" }, { type = "SkillType", skillType = SkillType.Vaal }) } end,

0 commit comments

Comments
 (0)