Skip to content

Commit 86664ca

Browse files
authored
Add support for Defiance Banner (#753)
1 parent 3fd56a6 commit 86664ca

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

src/Data/Skills/act_dex.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ skills["MagneticSalvoPlayer"] = {
20552055
name = "Magnetic Salvo",
20562056
baseTypeName = "Magnetic Salvo",
20572057
color = 2,
2058-
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.",
2058+
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.",
20592059
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, },
20602060
weaponTypes = {
20612061
["Bow"] = true,

src/Data/Skills/act_str.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,6 +1967,15 @@ skills["DefianceBannerPlayer"] = {
19671967
label = "Defiance Banner",
19681968
incrementalEffectiveness = 0.054999999701977,
19691969
statDescriptionScope = "defiance_banner",
1970+
statMap = {
1971+
["skill_defiance_banner_armour_evasion_+%_final"] = {
1972+
mod("Armour", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
1973+
mod("Evasion", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
1974+
},
1975+
["skill_defiance_banner_movement_speed_+%"] = {
1976+
mod("MovementSpeed", "INC", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
1977+
},
1978+
},
19701979
baseFlags = {
19711980
},
19721981
constantStats = {

src/Export/Skills/act_str.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,15 @@ local skills, mod, flag, skill = ...
126126
#skill DefianceBannerPlayer
127127
#set DefianceBannerPlayer
128128
#flags
129+
statMap = {
130+
["skill_defiance_banner_armour_evasion_+%_final"] = {
131+
mod("Armour", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
132+
mod("Evasion", "MORE", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
133+
},
134+
["skill_defiance_banner_movement_speed_+%"] = {
135+
mod("MovementSpeed", "INC", nil, 0, 0, { type = "Condition", var = "BannerPlanted" }, { type = "GlobalEffect", effectType = "Aura"}),
136+
},
137+
},
129138
#mods
130139
#skillEnd
131140

0 commit comments

Comments
 (0)