Skip to content

Commit ebc5269

Browse files
LocalIdentityLocalIdentity
andauthored
Support Adjacent Animosity node (#1006)
Add support for the new mod "Projectiles deal 20% increased Damage with Hits to targets at the start of their movement, reducing to 0% as they travel farther" I assumed 35 and 70 units as they are the values used for long shot Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent c07336a commit ebc5269

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3148,6 +3148,7 @@ local specialModList = {
31483148
["non%-projectile chaining lightning skills chain %+(%d+) times"] = function (num) return { mod("ChainCountMax", "BASE", num, { type = "SkillType", skillType = SkillType.Projectile, neg = true }, { type = "SkillType", skillType = SkillType.Chains }, { type = "SkillType", skillType = SkillType.Lightning }) } end,
31493149
["arrows gain damage as they travel farther, dealing up to (%d+)%% increased damage with hits to targets"] = function(num) return { mod("Damage", "INC", num, nil, bor(ModFlag.Bow, ModFlag.Hit), { type = "DistanceRamp", ramp = { {35,0},{70,1} } }) } end,
31503150
["arrows gain critical strike chance as they travel farther, up to (%d+)%% increased critical strike chance"] = function(num) return { mod("CritChance", "INC", num, nil, ModFlag.Bow, { type = "DistanceRamp", ramp = { {35,0},{70,1} } }) } end,
3151+
["projectiles deal (%d+)%% increased damage with hits to targets at the start of their movement, reducing to (%d+)%% as they travel farther"] = function(num) return { mod("Damage", "INC", num, nil, bor(ModFlag.Attack, ModFlag.Projectile), { type = "DistanceRamp", ramp = {{35,1},{70,0}} }) } end,
31513152
-- Leech/Gain on Hit/Kill
31523153
["cannot leech life"] = { flag("CannotLeechLife") },
31533154
["cannot leech mana"] = { flag("CannotLeechMana") },

0 commit comments

Comments
 (0)