Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/Data/SkillStatMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,9 @@ return {
["damage_+%"] = {
mod("Damage", "INC", nil),
},
["chance_for_extra_damage_roll_%"] = {
mod("LuckyHitsChance", "BASE", nil)
},
["chance_to_deal_double_damage_%"] = {
mod("DoubleDamageChance", "BASE", nil)
},
Expand Down Expand Up @@ -663,6 +666,12 @@ return {
["global_maximum_added_chaos_damage"] = {
mod("ChaosMax", "BASE", nil),
},
["added_damage_+%_final"] = {
mod("AddedDamage", "MORE", nil),
},
["active_skill_added_damage_+%_final"] = {
mod("AddedDamage", "MORE", nil),
},
["shield_charge_damage_+%_maximum"] = {
mod("Damage", "MORE", nil, 0, 0, { type = "DistanceRamp", ramp = {{0,0},{60,1}} }),
},
Expand Down Expand Up @@ -1413,6 +1422,9 @@ return {
["minion_skill_area_of_effect_+%"] = {
mod("MinionModifier", "LIST", { mod = mod("AreaOfEffect", "INC", nil) }),
},
["minion_additional_physical_damage_reduction_%"] = {
mod("MinionModifier", "LIST", { mod = mod("PhysicalDamageReduction", "BASE", nil) }),
},
["summon_fire_resistance_+"] = {
mod("MinionModifier", "LIST", { mod = mod("FireResist", "BASE", nil) }),
},
Expand Down
18 changes: 6 additions & 12 deletions src/Data/Skills/act_dex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2678,18 +2678,6 @@ skills["DualStrike"] = {
["dual_strike_damage_+%_final_against_enemies_on_full_life"] = {
mod("Damage", "MORE", nil, 0, bit.bor(KeywordFlag.Hit, KeywordFlag.Ailment), { type = "ActorCondition", actor = "enemy", var = "FullLife" })
},
["active_skill_added_damage_+%_final"] = {
mod("PhysicalMax", "MORE", nil),
mod("FireMax", "MORE", nil),
mod("ColdMax", "MORE", nil),
mod("LightningMax", "MORE", nil),
mod("ChaosMax", "MORE", nil),
mod("PhysicalMin", "MORE", nil),
mod("FireMin", "MORE", nil),
mod("ColdMin", "MORE", nil),
mod("LightningMin", "MORE", nil),
mod("ChaosMin", "MORE", nil),
}
},
baseFlags = {
attack = true,
Expand Down Expand Up @@ -4808,6 +4796,9 @@ skills["LancingSteel"] = {
["number_of_projectiles_to_fire_+%_final_per_steel_ammo_consumed"] = {
mod("ProjectileCount", "MORE", nil, 0, 0, { type = "Multiplier", var = "SteelShardConsumed", limit = 4 } )
},
["lancing_steel_damage_+%_at_close_range"] = {
mod("Damage", "INC", nil, 0, bit.bor(KeywordFlag.Hit, KeywordFlag.Ailment), { type = "DistanceRamp", ramp = {{10,1},{70,0}} }),
},
},
baseFlags = {
attack = true,
Expand Down Expand Up @@ -5555,6 +5546,9 @@ skills["PoachersMark"] = {
["maximum_added_physical_damage_taken"] = {
mod("SelfPhysicalMax", "BASE", nil, 0, KeywordFlag.Hit, { type = "GlobalEffect", effectType = "Curse" }),
},
["base_damage_taken_+%"] = {
mod("DamageTaken", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Curse" }),
},
},
baseFlags = {
spell = true,
Expand Down
17 changes: 14 additions & 3 deletions src/Data/Skills/act_int.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3898,8 +3898,14 @@ skills["FreezingPulse"] = {
castTime = 0.65,
preDamageFunc = function(activeSkill, output)
activeSkill.skillModList:NewMod("Damage", "MORE", -50, "Skill:FreezingPulse", { type = "DistanceRamp", ramp = {{0,0},{60*output.ProjectileSpeedMod,1}} })
activeSkill.skillModList:NewMod("Damage", "MORE", activeSkill.skillModList:Sum("BASE", activeSkill.skillCfg, "FreezingPulseRamp"), "Skill:FreezingPulse", { type = "DistanceRamp", ramp = {{0,0},{60*output.ProjectileSpeedMod,1}} })
activeSkill.skillModList:NewMod("EnemyFreezeChance", "BASE", 25, "Skill:FreezingPulse", { type = "DistanceRamp", ramp = {{0,1},{15*output.ProjectileSpeedMod,0}} })
end,
statMap = {
["freezing_pulse_damage_+%_final_at_long_range"] = {
mod("FreezingPulseRamp", "BASE", nil)
},
},
baseFlags = {
spell = true,
projectile = true,
Expand Down Expand Up @@ -4612,7 +4618,7 @@ skills["WaterSphere"] = {
}
},
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill,skillCfg, "HydroSphereFrequency") / 100)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "HydroSphereFrequency") / 100)
end,
statMap = {
["skill_physical_damage_%_to_convert_to_cold"] = {
Expand Down Expand Up @@ -4839,7 +4845,7 @@ skills["HeraldOfThunder"] = {
statDescriptionScope = "buff_skill_stat_descriptions",
castTime = 0,
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill,skillCfg, "HeraldStormFrequency") / 100)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "HeraldStormFrequency") / 100)
end,
statMap = {
["herald_of_thunder_lightning_damage_+%"] = {
Expand Down Expand Up @@ -9862,7 +9868,7 @@ skills["BlackHole"] = {
castTime = 0.6,
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency
/ (1 + activeSkill.skillModList:Sum("INC", activeSkill,skillCfg, "VoidSphereFrequency") / 100)
/ (1 + activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "VoidSphereFrequency") / 100)
end,
statMap = {
["blackhole_pulse_frequency_+%"] = {
Expand Down Expand Up @@ -10138,6 +10144,11 @@ skills["FrostBoltNova"] = {
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = output.Cooldown
end,
statMap = {
["active_skill_damage_+%_when_cast_on_frostbolt"] = {
mod("Damage", "INC", nil, 0, 0, { type = "Condition", var = "CastOnFrostbolt" }),
},
},
baseFlags = {
spell = true,
area = true,
Expand Down
7 changes: 7 additions & 0 deletions src/Data/Skills/act_str.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3553,6 +3553,10 @@ skills["ImmortalCall"] = {
mod("PhysicalDamageTaken", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Guard" }, { type = "Multiplier", var = "RemovableEnduranceCharge", limit = 5 }),
div = 100,
},
["immortal_call_elemental_damage_taken_+%_final_per_endurance_charge_consumed_permyriad"] = {
mod("ElementalDamageTaken", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Guard" }, { type = "Multiplier", var = "RemovableEnduranceCharge", limit = 5 }),
div = 100,
},
},
baseFlags = {
spell = true,
Expand Down Expand Up @@ -6820,6 +6824,9 @@ skills["WarlordsMark"] = {
["mana_leech_on_any_damage_when_hit_by_attack_permyriad"] = {
mod("SelfDamageManaLeech", "BASE", nil, ModFlag.Attack, 0, { type = "GlobalEffect", effectType = "Curse" }),
},
["base_damage_taken_+%"] = {
mod("DamageTaken", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Curse" }),
},
["enemy_rage_regeneration_on_stun"] = {
flag("Condition:CanGainRage", { type = "GlobalEffect", effectType = "Buff" } ),
mod("Dummy", "DUMMY", 1, 0, 0, { type = "Condition", var = "CanGainRage" }),
Expand Down
3 changes: 3 additions & 0 deletions src/Data/Skills/sup_dex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2959,6 +2959,9 @@ skills["SupportPierce"] = {
["support_pierce_projectile_damage_+%_final"] = {
mod("Damage", "MORE", nil, ModFlag.Projectile),
},
["projectile_damage_+%_if_pierced_enemy"] = {
mod("Damage", "INC", nil, ModFlag.Projectile, 0, { type = "StatThreshold", stat = "PiercedCount", threshold = 1 }),
},
},
baseMods = {
},
Expand Down
14 changes: 10 additions & 4 deletions src/Data/Skills/sup_int.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1569,10 +1569,10 @@ skills["SupportMinionFocusFire"] = {
["support_minion_focus_fire_damage_+%_final_vs_focussed_target"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
},
["support_minion_focus_fire_critical_strike_chance_+%_final_vs_focussed_target"] = {
mod("MinionModifier", "LIST", { mod = mod("CritChance", "BASE", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
["support_minion_focus_fire_critical_strike_chance_+%_vs_focused_target"] = {
mod("MinionModifier", "LIST", { mod = mod("CritChance", "INC", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
},
["support_minion_focus_fire_critical_strike_multiplier_+%_final_vs_focussed_target"] = {
["support_minion_focus_fire_critical_strike_multiplier_+_vs_focused_target"] = {
mod("MinionModifier", "LIST", { mod = mod("CritMultiplier", "BASE", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
},
},
Expand Down Expand Up @@ -2986,7 +2986,7 @@ skills["SupportBurningMinions"] = {
div = 60,
mod("ExtraMinionSkill", "LIST", { skillId = "InfernalLegion" }),
},
["minion_burning_damage_"] = {
["minion_burning_damage_+%"] = {
mod("MinionModifier", "LIST", { mod = mod("FireDamage", "INC", nil, 0, KeywordFlag.FireDot) }),
},
["minion_fire_damage_taken_+%"] = {
Expand Down Expand Up @@ -3680,6 +3680,9 @@ skills["SupportMinionDamage"] = {
["support_minion_damage_+%_final"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }),
},
["minion_chance_to_deal_double_damage_%"] = {
mod("MinionModifier", "LIST", { mod = mod("DoubleDamageChance", "BASE", nil) }),
},
["minion_ailment_damage_+%"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "INC", nil, 0, KeywordFlag.Ailment) }),
},
Expand Down Expand Up @@ -4826,6 +4829,9 @@ skills["SupportTrinity"] = {
["damage_penetrates_%_elemental_resistances_while_all_resonance_is_25"] = {
mod("ElementalPenetration", "BASE", nil, 0, 0, { type = "MultiplierThreshold", var = "ResonanceCount", threshold = 25 }),
},
["attack_and_cast_speed_+%_while_all_resonance_is_at_least_25"] = {
mod("Speed", "INC", nil, 0, 0, { type = "MultiplierThreshold", var = "ResonanceCount", threshold = 25 }),
},
},
baseMods = {
},
Expand Down
18 changes: 6 additions & 12 deletions src/Export/Skills/act_dex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -490,18 +490,6 @@ local skills, mod, flag, skill = ...
["dual_strike_damage_+%_final_against_enemies_on_full_life"] = {
mod("Damage", "MORE", nil, 0, bit.bor(KeywordFlag.Hit, KeywordFlag.Ailment), { type = "ActorCondition", actor = "enemy", var = "FullLife" })
},
["active_skill_added_damage_+%_final"] = {
mod("PhysicalMax", "MORE", nil),
mod("FireMax", "MORE", nil),
mod("ColdMax", "MORE", nil),
mod("LightningMax", "MORE", nil),
mod("ChaosMax", "MORE", nil),
mod("PhysicalMin", "MORE", nil),
mod("FireMin", "MORE", nil),
mod("ColdMin", "MORE", nil),
mod("LightningMin", "MORE", nil),
mod("ChaosMin", "MORE", nil),
}
},
#mods

Expand Down Expand Up @@ -901,6 +889,9 @@ local skills, mod, flag, skill = ...
["number_of_projectiles_to_fire_+%_final_per_steel_ammo_consumed"] = {
mod("ProjectileCount", "MORE", nil, 0, 0, { type = "Multiplier", var = "SteelShardConsumed", limit = 4 } )
},
["lancing_steel_damage_+%_at_close_range"] = {
mod("Damage", "INC", nil, 0, bit.bor(KeywordFlag.Hit, KeywordFlag.Ailment), { type = "DistanceRamp", ramp = {{10,1},{70,0}} }),
},
},
#mods

Expand Down Expand Up @@ -995,6 +986,9 @@ local skills, mod, flag, skill = ...
["maximum_added_physical_damage_taken"] = {
mod("SelfPhysicalMax", "BASE", nil, 0, KeywordFlag.Hit, { type = "GlobalEffect", effectType = "Curse" }),
},
["base_damage_taken_+%"] = {
mod("DamageTaken", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Curse" }),
},
},
#baseMod skill("debuff", true)
#mods
Expand Down
17 changes: 14 additions & 3 deletions src/Export/Skills/act_int.txt
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,14 @@ local skills, mod, flag, skill = ...
#flags spell projectile
preDamageFunc = function(activeSkill, output)
activeSkill.skillModList:NewMod("Damage", "MORE", -50, "Skill:FreezingPulse", { type = "DistanceRamp", ramp = {{0,0},{60*output.ProjectileSpeedMod,1}} })
activeSkill.skillModList:NewMod("Damage", "MORE", activeSkill.skillModList:Sum("BASE", activeSkill.skillCfg, "FreezingPulseRamp"), "Skill:FreezingPulse", { type = "DistanceRamp", ramp = {{0,0},{60*output.ProjectileSpeedMod,1}} })
activeSkill.skillModList:NewMod("EnemyFreezeChance", "BASE", 25, "Skill:FreezingPulse", { type = "DistanceRamp", ramp = {{0,1},{15*output.ProjectileSpeedMod,0}} })
end,
statMap = {
["freezing_pulse_damage_+%_final_at_long_range"] = {
mod("FreezingPulseRamp", "BASE", nil)
},
},
#mods

#skill FrostBomb
Expand Down Expand Up @@ -822,7 +828,7 @@ local skills, mod, flag, skill = ...
}
},
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill,skillCfg, "HydroSphereFrequency") / 100)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "HydroSphereFrequency") / 100)
end,
statMap = {
["skill_physical_damage_%_to_convert_to_cold"] = {
Expand Down Expand Up @@ -885,7 +891,7 @@ local skills, mod, flag, skill = ...
#skill HeraldOfThunder
#flags cast duration
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill,skillCfg, "HeraldStormFrequency") / 100)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency / (1 + activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "HeraldStormFrequency") / 100)
end,
statMap = {
["herald_of_thunder_lightning_damage_+%"] = {
Expand Down Expand Up @@ -1724,7 +1730,7 @@ local skills, mod, flag, skill = ...
#flags spell area duration physical chaos
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = activeSkill.skillData.repeatFrequency
/ (1 + activeSkill.skillModList:Sum("INC", activeSkill,skillCfg, "VoidSphereFrequency") / 100)
/ (1 + activeSkill.skillModList:Sum("INC", activeSkill.skillCfg, "VoidSphereFrequency") / 100)
end,
statMap = {
["blackhole_pulse_frequency_+%"] = {
Expand Down Expand Up @@ -1768,6 +1774,11 @@ local skills, mod, flag, skill = ...
preDamageFunc = function(activeSkill, output)
activeSkill.skillData.hitTimeOverride = output.Cooldown
end,
statMap = {
["active_skill_damage_+%_when_cast_on_frostbolt"] = {
mod("Damage", "INC", nil, 0, 0, { type = "Condition", var = "CastOnFrostbolt" }),
},
},
#baseMod skill("dotIsArea", true)
#baseMod skill("radius", 20)
#mods
Expand Down
7 changes: 7 additions & 0 deletions src/Export/Skills/act_str.txt
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,10 @@ local skills, mod, flag, skill = ...
mod("PhysicalDamageTaken", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Guard" }, { type = "Multiplier", var = "RemovableEnduranceCharge", limit = 5 }),
div = 100,
},
["immortal_call_elemental_damage_taken_+%_final_per_endurance_charge_consumed_permyriad"] = {
mod("ElementalDamageTaken", "MORE", nil, 0, 0, { type = "GlobalEffect", effectType = "Guard" }, { type = "Multiplier", var = "RemovableEnduranceCharge", limit = 5 }),
div = 100,
},
},
#mods

Expand Down Expand Up @@ -1163,6 +1167,9 @@ end,
["mana_leech_on_any_damage_when_hit_by_attack_permyriad"] = {
mod("SelfDamageManaLeech", "BASE", nil, ModFlag.Attack, 0, { type = "GlobalEffect", effectType = "Curse" }),
},
["base_damage_taken_+%"] = {
mod("DamageTaken", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Curse" }),
},
["enemy_rage_regeneration_on_stun"] = {
flag("Condition:CanGainRage", { type = "GlobalEffect", effectType = "Buff" } ),
mod("Dummy", "DUMMY", 1, 0, 0, { type = "Condition", var = "CanGainRage" }),
Expand Down
3 changes: 3 additions & 0 deletions src/Export/Skills/sup_dex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ local skills, mod, flag, skill = ...
["support_pierce_projectile_damage_+%_final"] = {
mod("Damage", "MORE", nil, ModFlag.Projectile),
},
["projectile_damage_+%_if_pierced_enemy"] = {
mod("Damage", "INC", nil, ModFlag.Projectile, 0, { type = "StatThreshold", stat = "PiercedCount", threshold = 1 }),
},
},
#mods

Expand Down
14 changes: 10 additions & 4 deletions src/Export/Skills/sup_int.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ local skills, mod, flag, skill = ...
["support_minion_focus_fire_damage_+%_final_vs_focussed_target"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
},
["support_minion_focus_fire_critical_strike_chance_+%_final_vs_focussed_target"] = {
mod("MinionModifier", "LIST", { mod = mod("CritChance", "BASE", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
["support_minion_focus_fire_critical_strike_chance_+%_vs_focused_target"] = {
mod("MinionModifier", "LIST", { mod = mod("CritChance", "INC", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
},
["support_minion_focus_fire_critical_strike_multiplier_+%_final_vs_focussed_target"] = {
["support_minion_focus_fire_critical_strike_multiplier_+_vs_focused_target"] = {
mod("MinionModifier", "LIST", { mod = mod("CritMultiplier", "BASE", nil) }, 0, 0, { type = "Condition", var = "EnemyHasDeathmark" }),
},
},
Expand Down Expand Up @@ -355,7 +355,7 @@ local skills, mod, flag, skill = ...
div = 60,
mod("ExtraMinionSkill", "LIST", { skillId = "InfernalLegion" }),
},
["minion_burning_damage_"] = {
["minion_burning_damage_+%"] = {
mod("MinionModifier", "LIST", { mod = mod("FireDamage", "INC", nil, 0, KeywordFlag.FireDot) }),
},
["minion_fire_damage_taken_+%"] = {
Expand Down Expand Up @@ -460,6 +460,9 @@ local skills, mod, flag, skill = ...
["support_minion_damage_+%_final"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "MORE", nil) }),
},
["minion_chance_to_deal_double_damage_%"] = {
mod("MinionModifier", "LIST", { mod = mod("DoubleDamageChance", "BASE", nil) }),
},
["minion_ailment_damage_+%"] = {
mod("MinionModifier", "LIST", { mod = mod("Damage", "INC", nil, 0, KeywordFlag.Ailment) }),
},
Expand Down Expand Up @@ -654,6 +657,9 @@ local skills, mod, flag, skill = ...
["damage_penetrates_%_elemental_resistances_while_all_resonance_is_25"] = {
mod("ElementalPenetration", "BASE", nil, 0, 0, { type = "MultiplierThreshold", var = "ResonanceCount", threshold = 25 }),
},
["attack_and_cast_speed_+%_while_all_resonance_is_at_least_25"] = {
mod("Speed", "INC", nil, 0, 0, { type = "MultiplierThreshold", var = "ResonanceCount", threshold = 25 }),
},
},
#mods

Expand Down
Loading