Skip to content

Commit

Permalink
Added support for Ambush skill
Browse files Browse the repository at this point in the history
  • Loading branch information
DieMango committed Jul 21, 2024
1 parent 357ac97 commit 9d41436
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Data/Skills/act_dex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ skills["Ambush"] = {
skillTypes = { [SkillType.Spell] = true, [SkillType.Movement] = true, [SkillType.Duration] = true, [SkillType.Travel] = true, [SkillType.Triggerable] = true, [SkillType.Cooldown] = true, [SkillType.LateConsumeCooldown] = true, },
statDescriptionScope = "secondary_debuff_skill_stat_descriptions",
castTime = 0.3,
statMap = {
["ambush_additional_critical_strike_chance_permyriad"] = {
mod("CritChance", "BASE", nil, ModFlag.Melee, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Ambush" }),
div = 100,
},
["vanishing_ambush_critical_strike_multiplier_+"] = {
mod("CritMultiplier", "BASE", nil, ModFlag.Melee, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Ambush" }),
},
-- not excluding Exert for Two-Handed weapons, to simulate a potential weapon swap for skills with a duration ( Rage Vortex )
},
baseFlags = {
spell = true,
movement = true,
Expand Down
10 changes: 10 additions & 0 deletions src/Export/Skills/act_dex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ local skills, mod, flag, skill = ...

#skill Ambush
#flags spell movement duration travel
statMap = {
["ambush_additional_critical_strike_chance_permyriad"] = {
mod("CritChance", "BASE", nil, ModFlag.Melee, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Ambush" }),
div = 100,
},
["vanishing_ambush_critical_strike_multiplier_+"] = {
mod("CritMultiplier", "BASE", nil, ModFlag.Melee, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Ambush" }),
},
-- not excluding Exert for Two-Handed weapons, to simulate a potential weapon swap for skills with a duration ( Rage Vortex )
},
#mods

#skill AnimateWeapon
Expand Down

0 comments on commit 9d41436

Please sign in to comment.