Add support for inc brand aoe after 50% attached duration mastery (#7683)
* add support for brand aoe brand mastery * Simplify Fix You don't need to add specific handling for different skill types you can just use a skillType check on the mod in ModParser and the rest will be handled --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
This commit is contained in:
@@ -302,8 +302,12 @@ return {
|
||||
{ var = "targetBrandedEnemy", type = "check", label = "Skill is targeting the Branded enemy", ifCond = "TargetingBrandedEnemy", defaultState = true, apply = function(val, modList, enemyModList)
|
||||
modList:NewMod("Condition:TargetingBrandedEnemy", "FLAG", true, "Config")
|
||||
end },
|
||||
{ var = "BrandsInLastQuarter", type = "check", label = "Last 25% of Attached Duration?", ifCond = "BrandLastQuarter", apply = function(val, modList, enemyModList)
|
||||
{ var = "BrandsInLastQuarter", type = "check", label = "Last 25% of attached duration?", ifCond = "BrandLastQuarter", apply = function(val, modList, enemyModList)
|
||||
modList:NewMod("Condition:BrandLastQuarter", "FLAG", true, "Config")
|
||||
modList:NewMod("Condition:BrandLastHalf", "FLAG", true, "Config")
|
||||
end },
|
||||
{ var = "BrandsInLastHalf", type = "check", label = "Last 50% of attached duration?", ifCond = "BrandLastHalf", apply = function(val, modList, enemyModList)
|
||||
modList:NewMod("Condition:BrandLastHalf", "FLAG", true, "Config")
|
||||
end },
|
||||
{ label = "Carrion Golem:", ifSkill = "Summon Carrion Golem", includeTransfigured = true },
|
||||
{ var = "carrionGolemNearbyMinion", type = "count", label = "# of Nearby Non-Golem Minions:", ifSkill = "Summon Carrion Golem", includeTransfigured = true, apply = function(val, modList, enemyModList)
|
||||
|
||||
@@ -2170,6 +2170,7 @@ local specialModList = {
|
||||
{ type = "StatThreshold", stat = "EnergyShieldOnBoots", threshold = 1}
|
||||
)
|
||||
} end,
|
||||
["brands have (%d+)%% increased area of effect if (%d+)%% of attached duration expired"] = function(num) return { mod("AreaOfEffect", "INC", num, { type = "Condition", var = "BrandLastHalf" }, { type = "SkillType", skillType = SkillType.Brand }) } end,
|
||||
-- Exerted Attacks
|
||||
["exerted attacks deal (%d+)%% increased damage"] = function(num) return { mod("ExertIncrease", "INC", num, nil, ModFlag.Attack, 0) } end,
|
||||
["exerted attacks have (%d+)%% chance to deal double damage"] = function(num) return { mod("ExertDoubleDamageChance", "BASE", num, nil, ModFlag.Attack, 0) } end,
|
||||
|
||||
Reference in New Issue
Block a user