@@ -540,6 +540,11 @@ skills["SupportBarbsPlayer"] = {
540540 label = " Barbs I" ,
541541 incrementalEffectiveness = 0.054999999701977 ,
542542 statDescriptionScope = " gem_stat_descriptions" ,
543+ statMap = {
544+ [" deal_thorns_damage_on_hit_for_X_hits_after_thorns_trigger" ] = {
545+ flag (" ThornsDamageAppliesToHits" ),
546+ },
547+ },
543548 baseFlags = {
544549 },
545550 constantStats = {
@@ -571,6 +576,11 @@ skills["SupportBarbsPlayerTwo"] = {
571576 label = " Barbs II" ,
572577 incrementalEffectiveness = 0.054999999701977 ,
573578 statDescriptionScope = " gem_stat_descriptions" ,
579+ statMap = {
580+ [" deal_thorns_damage_on_hit_for_X_hits_after_thorns_trigger" ] = {
581+ flag (" ThornsDamageAppliesToHits" ),
582+ },
583+ },
574584 baseFlags = {
575585 },
576586 constantStats = {
@@ -602,6 +612,12 @@ skills["SupportBarbsPlayerThree"] = {
602612 label = " Barbs III" ,
603613 incrementalEffectiveness = 0.054999999701977 ,
604614 statDescriptionScope = " gem_stat_descriptions" ,
615+ statMap = {
616+ [" deal_thorns_damage_twice_on_hit_for_X_hits_after_thorns_trigger" ] = {
617+ flag (" ThornsDamageAppliesToHits" ),
618+ flag (" BarbsThornsTwiceOnHit" ),
619+ },
620+ },
605621 baseFlags = {
606622 },
607623 constantStats = {
@@ -5200,6 +5216,11 @@ skills["SupportQuillburstPlayer"] = {
52005216 label = " Quill Burst" ,
52015217 incrementalEffectiveness = 0.054999999701977 ,
52025218 statDescriptionScope = " gem_stat_descriptions" ,
5219+ statMap = {
5220+ [" trigger_spiked_gauntlets_for_X_hits_after_thorns_trigger" ] = {
5221+ flag (" EnableTriggeredQuillburst" ),
5222+ },
5223+ },
52035224 baseFlags = {
52045225 },
52055226 constantStats = {
@@ -5221,6 +5242,53 @@ skills["TriggeredQuillburstPlayer"] = {
52215242 castTime = 1 ,
52225243 qualityStats = {
52235244 },
5245+ preDamageFunc = function (activeSkill , output , breakdown )
5246+ local skillModList = activeSkill .skillModList
5247+ local cfg = activeSkill .skillCfg
5248+
5249+ local function remapThornsBase (fromStat , toStat )
5250+ for _ , value in ipairs (skillModList :Tabulate (" BASE" , cfg , fromStat )) do
5251+ local mod = value .mod
5252+ skillModList :NewMod (toStat , " BASE" , mod .value , mod .source , mod .flags , mod .keywordFlags , unpack (mod ))
5253+ end
5254+ end
5255+
5256+ for _ , value in ipairs (skillModList :Tabulate (" INC" , cfg , " ThornsDamage" )) do
5257+ local mod = value .mod
5258+ skillModList :NewMod (" Damage" , " INC" , mod .value , mod .source , mod .flags , mod .keywordFlags , unpack (mod ))
5259+ end
5260+
5261+ remapThornsBase (" PhysicalThornsMin" , " PhysicalMin" )
5262+ remapThornsBase (" PhysicalThornsMax" , " PhysicalMax" )
5263+ remapThornsBase (" FireThornsMin" , " FireMin" )
5264+ remapThornsBase (" FireThornsMax" , " FireMax" )
5265+ remapThornsBase (" ColdThornsMin" , " ColdMin" )
5266+ remapThornsBase (" ColdThornsMax" , " ColdMax" )
5267+ remapThornsBase (" LightningThornsMin" , " LightningMin" )
5268+ remapThornsBase (" LightningThornsMax" , " LightningMax" )
5269+ remapThornsBase (" ChaosThornsMin" , " ChaosMin" )
5270+ remapThornsBase (" ChaosThornsMax" , " ChaosMax" )
5271+
5272+ for _ , value in ipairs (skillModList :Tabulate (" BASE" , cfg , " ThornsCritChance" )) do
5273+ local mod = value .mod
5274+ skillModList :NewMod (" CritChance" , " BASE" , mod .value , mod .source , mod .flags , mod .keywordFlags , unpack (mod ))
5275+ end
5276+
5277+ for _ , value in ipairs (skillModList :Tabulate (" INC" , cfg , " ThornsCritChance" )) do
5278+ local mod = value .mod
5279+ skillModList :NewMod (" CritChance" , " INC" , mod .value , mod .source , mod .flags , mod .keywordFlags , unpack (mod ))
5280+ end
5281+
5282+ for _ , value in ipairs (skillModList :Tabulate (" INC" , cfg , " ThornsCritMultiplier" )) do
5283+ local mod = value .mod
5284+ skillModList :NewMod (" CritMultiplier" , " INC" , mod .value , mod .source , mod .flags , mod .keywordFlags , unpack (mod ))
5285+ end
5286+
5287+ for _ , value in ipairs (skillModList :Tabulate (" BASE" , cfg , " ThornsChanceToIgnoreEnemyArmour" )) do
5288+ local mod = value .mod
5289+ skillModList :NewMod (" ChanceToIgnoreEnemyPhysicalDamageReduction" , " BASE" , mod .value , mod .source , mod .flags , mod .keywordFlags , unpack (mod ))
5290+ end
5291+ end ,
52245292 levels = {
52255293 [1 ] = { cooldown = 0.15 , levelRequirement = 0 , storedUses = 1 , },
52265294 },
@@ -5230,6 +5298,7 @@ skills["TriggeredQuillburstPlayer"] = {
52305298 incrementalEffectiveness = 0.054999999701977 ,
52315299 statDescriptionScope = " triggered_spiked_gauntlets" ,
52325300 baseFlags = {
5301+ thorns = true ,
52335302 },
52345303 constantStats = {
52355304 { " triggered_by_spiked_gauntlets_support_%" , 100 },
0 commit comments