Skip to content

Commit

Permalink
Add support for Defiance Banner (PathOfBuildingCommunity#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blitz54 authored Feb 10, 2025
1 parent 3fd56a6 commit 86664ca
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Skills/act_dex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,7 @@ skills["MagneticSalvoPlayer"] = {
name = "Magnetic Salvo",
baseTypeName = "Magnetic Salvo",
color = 2,
description = "Aims skyward and fires energy missiles at lingering arrows or bolts created by other Lightning Attacks in front of you. The missiles explode if they land close to a lingering bolt or arrow, dealing more damage in a larger area but destroying that bolt or arrow in the process.",
description = "Aims skyward and fires energy missiles at lingering bolts or arrows created by other Lightning Attacks in front of you. The missiles explode if they land close to a lingering bolt or arrow, dealing more damage in a larger area but destroying that bolt or arrow in the process.",
skillTypes = { [SkillType.Damage] = true, [SkillType.Area] = true, [SkillType.Projectile] = true, [SkillType.ProjectilesFromUser] = true, [SkillType.Attack] = true, [SkillType.RangedAttack] = true, [SkillType.Lightning] = true, [SkillType.ProjectileNoCollision] = true, },
weaponTypes = {
["Bow"] = true,
Expand Down
9 changes: 9 additions & 0 deletions src/Data/Skills/act_str.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1967,6 +1967,15 @@ skills["DefianceBannerPlayer"] = {
label = "Defiance Banner",
incrementalEffectiveness = 0.054999999701977,
statDescriptionScope = "defiance_banner",
statMap = {
["skill_defiance_banner_armour_evasion_+%_final"] = {
mod("Armour", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
mod("Evasion", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
},
["skill_defiance_banner_movement_speed_+%"] = {
mod("MovementSpeed", "INC", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
},
},
baseFlags = {
},
constantStats = {
Expand Down
9 changes: 9 additions & 0 deletions src/Export/Skills/act_str.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,15 @@ local skills, mod, flag, skill = ...
#skill DefianceBannerPlayer
#set DefianceBannerPlayer
#flags
statMap = {
["skill_defiance_banner_armour_evasion_+%_final"] = {
mod("Armour", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
mod("Evasion", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
},
["skill_defiance_banner_movement_speed_+%"] = {
mod("MovementSpeed", "INC", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
},
},
#mods
#skillEnd

Expand Down

0 comments on commit 86664ca

Please sign in to comment.