Skip to content

Commit f1f22f6

Browse files
author
LocalIdentity
committed
Add support for Magma Barrier Block chance buff + Evasion on Shield mod
We didn't have the mods mapped before
1 parent 78f9b96 commit f1f22f6

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

src/Data/SkillStatMap.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,12 @@ return {
19861986
["off_hand_maximum_added_fire_damage_per_15_shield_armour"] = {
19871987
mod("FireMax", "BASE", nil, 0, 0, { type = "Condition", var = "OffHandAttack" }, { type = "PerStat", stat = "ArmourOnWeapon 2", div = 15 }),
19881988
},
1989+
["off_hand_minimum_added_fire_damage_per_15_shield_evasion"] = {
1990+
mod("FireMin", "BASE", nil, 0, 0, { type = "Condition", var = "OffHandAttack" }, { type = "PerStat", stat = "EvasionOnWeapon 2", div = 15 }),
1991+
},
1992+
["off_hand_maximum_added_fire_damage_per_15_shield_evasion"] = {
1993+
mod("FireMax", "BASE", nil, 0, 0, { type = "Condition", var = "OffHandAttack" }, { type = "PerStat", stat = "EvasionOnWeapon 2", div = 15 }),
1994+
},
19891995
["off_hand_minimum_added_physical_damage_per_15_shield_armour"] = {
19901996
mod("PhysicalMin", "BASE", nil, 0, 0, { type = "Condition", var = "OffHandAttack" }, { type = "PerStat", stat = "ArmourOnWeapon 2", div = 15 }),
19911997
},

src/Data/Skills/act_str.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10697,6 +10697,11 @@ skills["MagmaBarrierPlayer"] = {
1069710697
label = "Buff",
1069810698
incrementalEffectiveness = 0.054999999701977,
1069910699
statDescriptionScope = "igneous_shield",
10700+
statMap = {
10701+
["skill_igneous_shield_grants_block_chance_+%"] = {
10702+
mod("BlockChance", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Magma Barrier" }),
10703+
},
10704+
},
1070010705
baseFlags = {
1070110706
},
1070210707
constantStats = {

src/Export/Skills/act_str.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,11 @@ statMap = {
627627
#skill MagmaBarrierPlayer
628628
#set MagmaBarrierPlayer
629629
#flags
630+
statMap = {
631+
["skill_igneous_shield_grants_block_chance_+%"] = {
632+
mod("BlockChance", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff", effectName = "Magma Barrier" }),
633+
},
634+
},
630635
#mods
631636
#skillEnd
632637

0 commit comments

Comments
 (0)