{"size": 20455, "ext": "js", "max_stars_repo_path": "scripts/data/skill_barbarian.js", "max_stars_repo_name": "mh27588/d3planner", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "scripts/data/skill_barbarian.js", "max_issues_repo_name": "mh27588/d3planner", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scripts/data/skill_barbarian.js", "max_forks_repo_name": "mh27588/d3planner", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20455.0, "max_line_length": 20455, "alphanum_fraction": 0.7117575165}
DiabloCalc.skillcat||(DiabloCalc.skillcat={}),DiabloCalc.skills||(DiabloCalc.skills={}),DiabloCalc.passives||(DiabloCalc.passives={}),DiabloCalc.partybuffs||(DiabloCalc.partybuffs={}),DiabloCalc.skillcat.barbarian={primary:"Primary",secondary:"Secondary",defensive:"Defensive",might:"Might",tactics:"Tactics",rage:"Rage"},DiabloCalc.barbarian={varSpeed:function(e){switch(e.info.weaponClass){case"swing":return 57.142834;case"thrust":return 56.842068;case"swing2h":case"thrust2h":case"staff":return 57.272724;case"dualwield":return 57.142834;default:return 56.47057}}},DiabloCalc.skills.barbarian={bash:{id:"bash",name:"Bash",category:"primary",row:0,col:0,runes:{c:"Frostbite",a:"Onslaught",b:"Punish",d:"Instigation",e:"Pulverize"},range:5,active:!0,params:[{rune:"b",min:0,max:3,val:3,name:"Stacks"},{min:0,max:40,name:"Fury",buffs:!1,show:function(e,a){return!!a.leg_bladeofthewarlord}}],info:function(e,a){var r,n=DiabloCalc.barbarian.varSpeed(a);switch(e){case"x":r={Damage:{elem:"phy",coeff:3.2}};break;case"c":r={Damage:{elem:"col",coeff:3.2}};break;case"a":r={Damage:{elem:"lit",coeff:3.2}};break;case"b":r={Damage:{elem:"phy",coeff:3.2}};break;case"d":r={Damage:{elem:"fir",coeff:3.2}};break;case"e":r={Damage:{elem:"fir",coeff:3.2},"Shockwave Damage":{elem:"fir",coeff:1}}}if(a.leg_bladeofthewarlord){var o={};o[DiabloCalc.itemById.P4_Unique_Mighty_1H_005.name]=a.leg_bladeofthewarlord*this.params[1].val/40,r.Damage.percent=o,"e"===e&&(r["Shockwave Damage"].percent=o)}return $.extend({DPS:{sum:!0,Damage:{speed:a.leg_oathkeeper?1.5:1,fpa:n,round:"up"}}},r)},buffs:function(e,a){return"a"===e?{chctaken:10}:"b"===e?{damage:4*this.params[0].val}:void 0}},cleave:{id:"cleave",name:"Cleave",category:"primary",row:0,col:1,runes:{e:"Rupture",d:"Reaping Swing",c:"Scattering Blast",a:"Broad Sweep",b:"Gathering Storm"},range:10,params:[{min:0,max:"maxfury",name:"Fury",buffs:!1,show:function(e,a){return!!a.leg_dishonoredlegacy}}],info:function(e,a){var r;switch(a.info.weaponClass){case"swing":r=57.857117;break;case"thrust":r=57.857121;break;case"swing2h":case"thrust2h":r=57.857128;break;case"staff":r=57.931034;break;case"dualwield":r=57.857124;break;default:r=57.857117}var n;switch(e){case"x":n={Damage:{elem:"phy",coeff:2}};break;case"e":n={Damage:{elem:"fir",coeff:2},"Explosion Damage":{elem:"fir",coeff:1.6}};break;case"d":n={Damage:{elem:"fir",coeff:2}};break;case"c":n={Damage:{elem:"phy",coeff:2},"Critical Damage":{elem:"phy",coeff:.8}};break;case"a":n={Damage:{elem:"lit",coeff:2.35}};break;case"b":n={Damage:{elem:"col",coeff:2}}}if(a.leg_dishonoredlegacy){var o={};o[DiabloCalc.itemById.Unique_Mighty_1H_103_x1.name]=a.leg_dishonoredlegacy*Math.max(0,(a.maxfury-this.params[0].val)/a.maxfury);for(var t in n)n[t].percent=o}var c={DPS:{sum:!0,Damage:{speed:a.leg_oathkeeper?1.5:1,fpa:r,round:"up"}}};return"c"===e&&(c.DPS["Critical Damage"]=$.extend({nobp:!0,factor:.01*a.final.chc},c.DPS.Damage)),$.extend(c,n)},active:!0,buffs:{b:{dmgtaken:10}}},frenzy:{id:"frenzy",name:"Frenzy",category:"primary",row:0,col:2,runes:{b:"Sidearm",e:"Berserk",c:"Vanguard",d:"Smite",a:"Maniac"},range:5,params:[{min:0,max:"leg_bastionsrevered?10:5",name:"Stacks",buffs:!1}],info:function(e,a){var r,n=DiabloCalc.barbarian.varSpeed(a),o=this.params[0].val;if(a.leg_theundisputedchampion)r={Damage:{elem:"max",coeff:2.2},"Sidearm Damage":{elem:"max",coeff:3}};else switch(e){case"x":r={Damage:{elem:"phy",coeff:2.2}};break;case"b":r={Damage:{elem:"col",coeff:2.2},"Sidearm Damage":{elem:"col",coeff:3}};break;case"e":r={Damage:{elem:"col",coeff:2.2}};break;case"c":r={Damage:{elem:"phy",coeff:2.2}};break;case"d":r={Damage:{elem:"lit",coeff:2.2}};break;case"a":r={Damage:{elem:"fir",coeff:2.2}}}var t={DPS:{sum:!0,Damage:{speed:a.leg_oathkeeper?1.5:1,ias:15*o,fpa:n,round:"up"}}};return("b"===e||a.leg_theundisputedchampion)&&(t.DPS["Sidearm Damage"]=$.extend({nobp:!0,count:.25},t.DPS.Damage)),$.extend(t,r)},active:!0,buffs:function(e,a){var r={};return("a"===e||a.leg_theundisputedchampion)&&(r.damage=2.5*this.params[0].val),("c"===e||a.leg_theundisputedchampion)&&(r.extrams=5*this.params[0].val),r}},weaponthrow:{id:"weapon-throw",name:"Weapon Throw",category:"primary",row:0,col:3,runes:{a:"Mighty Throw",b:"Ricochet",c:"Throwing Hammer",e:"Stupefy",d:"Balanced Weapon"},range:75,info:{"*":{DPS:{sum:!0,Damage:{speed:"leg_oathkeeper?1.5:1",fpa:57.777767,round:"up"}}},x:{Damage:{elem:"phy",coeff:2.75}},a:{Damage:{elem:"lit",coeff:4}},b:{Damage:{elem:"fir",coeff:2.75}},c:{Damage:{elem:"phy",coeff:2.75}},e:{Damage:{elem:"phy",coeff:2.75}},d:{Damage:{elem:"fir",coeff:2.75}}}},hammeroftheancients:{id:"hammer-of-the-ancients",name:"Hammer of the Ancients",category:"secondary",row:1,col:0,runes:{b:"Rolling Thunder",a:"Smash",c:"The Devil's Anvil",e:"Thunderstrike",d:"Birthright"},range:14,params:[{min:0,max:"maxfury",name:"Fury",buffs:!1}],info:{"*":{Cost:{cost:20},DPS:{sum:!0,Damage:{speed:1,ias:"(leg_bracersofthefirstmen||leg_bracersofthefirstmen_p6)?50:0",fpa:56.666664,round:"up"}}},x:{Damage:{elem:"phy",coeff:5.35,chc:"$1/5"}},b:{Damage:{elem:"phy",coeff:5.35,chc:"$1/5"},"Shockwave Damage":{elem:"phy",coeff:5.05}},a:{Damage:{elem:"fir",coeff:6.4,chc:"$1/5"}},c:{Damage:{elem:"col",coeff:5.35,chc:"$1/5"}},e:{Damage:{elem:"lit",coeff:5.35,chc:"$1/5"}},d:{Damage:{elem:"phy",coeff:5.35,chc:"$1/5"}}}},rend:{id:"rend",name:"Rend",category:"secondary",row:1,col:1,runes:{b:"Ravage",d:"Blood Lust",a:"Lacerate",c:"Mutilate",e:"Bloodbath"},range:{x:12,b:18,d:12,a:12,c:12,e:12},params:[{min:1,max:"leg_lamentation?2:1",name:"Stacks",buffs:!1}],info:{"*":{Cost:{cost:20},DPS:{sum:!0,Damage:{divide:"set_wastes_2pc?15:5",factor:"$1"}}},x:{Damage:{weapon:"mainhand",elem:"phy",coeff:11,total:!0,factors:{"Extra Duration":"set_wastes_2pc?3:1"}}},b:{Damage:{weapon:"mainhand",elem:"fir",coeff:11,total:!0,factors:{"Extra Duration":"set_wastes_2pc?3:1"}}},d:{Damage:{weapon:"mainhand",elem:"phy",coeff:11,total:!0,factors:{"Extra Duration":"set_wastes_2pc?3:1"}}},a:{Damage:{weapon:"mainhand",elem:"lit",coeff:13.5,total:!0,factors:{"Extra Duration":"set_wastes_2pc?3:1"}}},c:{Damage:{weapon:"mainhand",elem:"col",coeff:11,total:!0,factors:{"Extra Duration":"set_wastes_2pc?3:1"}}},e:{Damage:{weapon:"mainhand",elem:"phy",coeff:11,total:!0,factors:{"Extra Duration":"set_wastes_2pc?3:1"}}}},active:!0,buffs:{c:{dmgtaken:10}}},seismicslam:{id:"seismic-slam",name:"Seismic Slam",category:"secondary",row:1,col:2,runes:{c:"Stagger",a:"Shattered Ground",b:"Rumble",d:"Strength from Earth",e:"Permafrost"},range:50,active:!0,activetip:"First 5 enemies",activeshow:function(e,a){return!(!a.leg_bracersofdestruction&&!a.leg_bracersofdestruction_p6)},params:[{rune:"b",min:0,max:"maxfury",name:"Fury",buffs:!1}],info:function(e,a){var r;switch(e){case"x":r={Damage:{elem:"phy",coeff:6.2}};break;case"c":r={Cost:{cost:22},Damage:{elem:"lit",coeff:6.2}};break;case"a":r={Damage:{elem:"fir",coeff:7.35}};break;case"b":r={DPS:{sum:!0,Damage:{speed:1,fpa:58.666656,round:"up"}},Damage:{elem:"phy",coeff:6.2}};break;case"d":r={Damage:{elem:"phy",coeff:6.2}};break;case"e":r={Damage:{elem:"col",coeff:7.55}}}"b"===e&&this.params[0].val&&(r["Rumble Damage"]={elem:"phy",coeff:.15*this.params[0].val},r.DPS["Rumble Damage"]={speed:1,fpa:58.666656,round:"up",nobp:!0}),this.active&&(a.leg_bracersofdestruction||a.leg_bracersofdestruction_p6)&&(r.Damage.percent={},r.Damage.percent[DiabloCalc.itemById.P3_Unique_Bracer_104.name]=a.leg_bracersofdestruction||a.leg_bracersofdestruction_p6,r["Rumble Damage"]&&(r["Rumble Damage"].percent=$.extend({},r.Damage.percent)));var n={};return a.leg_furyofthevanishedpeak_p6?n.leg_furyofthevanishedpeak_p6=50:a.leg_furyofthevanishedpeak_p2?n.leg_furyofthevanishedpeak_p2=a.leg_furyofthevanishedpeak_p2:a.leg_furyofthevanishedpeak&&(n.leg_furyofthevanishedpeak=a.leg_furyofthevanishedpeak),$.extend({Cost:{cost:30,rcr:n},DPS:{sum:!0,Damage:{speed:1,fpa:58.666656,round:"up"}}},r)}},whirlwind:{id:"whirlwind",name:"Whirlwind",category:"secondary",row:1,col:3,runes:{b:"Dust Devils",c:"Hurricane",e:"Blood Funnel",d:"Wind Shear",a:"Volcanic Eruption"},range:9,info:function(e,a){var r;switch(e){case"x":case"b":r={"Tick Damage":{elem:"phy",coeff:3.4}};break;case"c":r={"Tick Damage":{elem:"col",coeff:3.4}};break;case"e":r={"Tick Damage":{elem:"phy",coeff:3.4}};break;case"d":r={"Tick Damage":{elem:"lit",coeff:3.4}};break;case"a":r={"Tick Damage":{elem:"fir",coeff:4}}}return r=$.extend({Cost:{cost:7/a.info.aps+3,fpa:40}},r),r["Tick Damage"].divide={"Base Speed":1.5},a.leg_skullgrasp&&(r["Tick Damage"].addcoeff=[a.leg_skullgrasp/100]),("b"==e||a.set_wastes_6pc)&&(r["Tornado Damage"]={elem:r["Tick Damage"].elem,coeff:1.8}),r.DPS={sum:!0,"Tick Damage":{speed:1,fpa:40}},r["Tornado Damage"]&&(r.DPS["Tornado Damage"]={speed:1,fpa:30}),r},active:!0,buffs:function(e,a){var r={};if(a.set_bulkathos_2pc&&(r.extrams=45,r.ias=45),!$.isEmptyObject(r))return r}},ancientspear:{id:"ancient-spear",name:"Ancient Spear",category:"secondary",row:1,col:4,runes:{d:"Ranseur",a:"Harpoon",c:"Jagged Edge",b:"Boulder Toss",e:"Rage Flip"},range:60,active:!0,activetip:"3 or fewer targets",activeshow:function(e,a){return!("b"!==e||!a.leg_skularssalvation)},params:[{rune:"b",min:"25*(1-0.01*rcr_fury)-rcrint",max:"maxfury",name:"Fury",buffs:!1}],info:function(e,a){var r;switch(e){case"x":case"d":case"a":r={Damage:{elem:"phy",coeff:5}};break;case"c":r={Damage:{elem:"fir",coeff:6.4}};break;case"b":r={Damage:{elem:"phy",coeff:5,addcoeff:[[.2,this.params[0].val-25*(1-.01*(a.rcr_fury||0))+(a.rcrint||0)]]}};break;case"e":r={Damage:{elem:"phy",coeff:5}}}return"b"===e&&a.leg_skularssalvation&&(r.Damage.percent={},r.Damage.percent[DiabloCalc.itemById.P4_Unique_Bracer_101.name]=100+(this.active?2*a.leg_skularssalvation:0)),r=$.extend({Cost:{cost:25}},r)}},groundstomp:{id:"ground-stomp",name:"Ground Stomp",category:"defensive",row:2,col:0,runes:{e:"Deafening Crash",b:"Wrenching Smash",a:"Trembling Stomp",d:"Foot of the Mountain",c:"Jarring Slam"},range:{x:14,e:14,b:24,a:14,d:14,c:14},info:{"*":{Cooldown:{cooldown:12}},a:{Damage:{weapon:"mainhand",elem:"fir",coeff:5.75}},e:{Cooldown:{cooldown:8}}}},leap:{id:"leap",name:"Leap",category:"defensive",row:2,col:1,runes:{d:"Iron Impact",c:"Launch",b:"Toppling Impact",a:"Call of Arreat",e:"Death from Above"},range:{x:10,d:10,c:10,b:10,a:16,e:10},info:{"*":{Cooldown:{cooldown:10},Damage:{weapon:"mainhand",elem:"phy",coeff:1.8}},b:{Damage:{weapon:"mainhand",elem:"phy",coeff:4.5}}},active:!1,buffs:function(e,a){if("d"===e||a.set_earth_4pc)return{armor_percent:150*(a.set_earth_4pc?2.5:1)}}},sprint:{id:"sprint",name:"Sprint",category:"defensive",row:2,col:2,runes:{b:"Rush",c:"Run Like the Wind",a:"Marathon",e:"Gangway",d:"Forced March"},info:{"*":{Cost:{cost:20}},c:{"Tornado Tick Damage":{elem:"phy",coeff:1.8,divide:{"Base Speed":3}},"Tornado DPS":{sum:!0,"Tornado Tick Damage":{speed:1,fpa:20}}},e:{"Knockback Damage":{elem:"phy",coeff:.25}}},active:!1,buffs:{x:{extrams:30},b:{extrams:30,dodge:12},c:{extrams:30},a:{extrams:40},e:{extrams:30},d:{extrams:30}}},ignorepain:{id:"ignore-pain",name:"Ignore Pain",category:"defensive",row:2,col:3,runes:{d:"Bravado",b:"Iron Hide",e:"Ignorance is Bliss",c:"Mob Rule",a:"Contempt for Weakness"},info:{"*":{Uptime:{duration:"5+leg_prideofcassius",cooldown:30}},b:{Uptime:{duration:"7+leg_prideofcassius",cooldown:30}}},active:!1,buffs:{x:{dmgred:50},d:{dmgred:50,extrams:40},b:{dmgred:50},e:{dmgred:50,lifefury:5364},c:{dmgred:50},a:{dmgred:50}}},overpower:{id:"overpower",name:"Overpower",category:"might",row:3,col:0,nolmb:!0,runes:{b:"Storm of Steel",a:"Killing Spree",e:"Crushing Advance",d:"Momentum",c:"Revel"},range:9,params:[{min:0,max:20,val:0,name:function(){return DiabloCalc.itemById.P43_Unique_Belt_001_x1.name},buffs:!1,show:function(e,a){return!!a.leg_saffronwrap}}],info:function(e,a){var r={Cooldown:{cooldown:12},Damage:{weapon:"mainhand",elem:"phy",coeff:3.8}};if("a"===e&&(r.Damage.elem="lit"),"e"===e&&(r.Damage.elem="col"),"c"===e&&(r.Damage.elem="fir",r.Damage.coeff=7.6),a.leg_saffronwrap&&this.params[0].val){var n={};n[DiabloCalc.itemById.P43_Unique_Belt_001_x1.name]=a.leg_saffronwrap*this.params[0].val,r.Damage.percent=n}return r},active:!1,buffs:{a:{chc:8}}},revenge:{id:"revenge",name:"Revenge",category:"might",row:3,col:1,nolmb:!0,runes:{d:"Blood Law",e:"Best Served Cold",a:"Retribution",c:"Grudge",b:"Provocation"},range:11,info:{x:{Damage:{weapon:"mainhand",elem:"phy",coeff:3}},d:{Damage:{weapon:"mainhand",elem:"phy",coeff:3}},e:{Damage:{weapon:"mainhand",elem:"col",coeff:3}},a:{Damage:{weapon:"mainhand",elem:"fir",coeff:7}},c:{Damage:{weapon:"mainhand",elem:"lit",coeff:3}},b:{Damage:{weapon:"mainhand",elem:"phy",coeff:3}}},active:!1,buffs:{e:{chc:8}}},furiouscharge:{id:"furious-charge",name:"Furious Charge",category:"might",row:3,col:2,runes:{a:"Battering Ram",e:"Merciless Assault",d:"Stamina",c:"Cold Rush",b:"Dreadnought"},range:27,info:function(e,a){var r;switch(e){case"x":r="phy";break;case"a":r="fir";break;case"e":case"d":r="phy";break;case"c":r="col";break;case"b":r="lit"}var n="a"==e||a.set_raekor_4pc?10.5:6,o={Cooldown:{cooldown:10},Damage:{elem:r,weapon:"mainhand",coeff:n}};if(a.leg_vileward&&(o["Extra Damage per Enemy"]={elem:r,coeff:n,factors:{"Vile Ward":.01*a.leg_vileward},total:!0}),a.leg_standoff||a.leg_standoff_p6){var t={};t[DiabloCalc.itemById.P4_Unique_Polearm_01.name]=.01*(a.ms||0)*(a.leg_standoff||a.leg_standoff_p6),o.Damage.percent=t,a.leg_vileward&&(o["Extra Damage per Enemy"].percent=t)}return o}},avalanche:{id:"avalanche",name:"Avalanche",category:"might",weapon:"mainhand",row:3,col:3,runes:{c:"Volcano",d:"Lahar",b:"Snow-Capped Mountain",e:"Tectonic Rift",a:"Glacier"},range:40,info:{"*":{Cooldown:{cooldown:30}},x:{Damage:{weapon:"mainhand",elem:"phy",coeff:24}},c:{Damage:{weapon:"mainhand",elem:"fir",coeff:66,total:!0}},d:{Damage:{weapon:"mainhand",elem:"phy",coeff:24}},b:{Damage:{weapon:"mainhand",elem:"col",coeff:28}},e:{Damage:{weapon:"mainhand",elem:"phy",coeff:24}},a:{Damage:{weapon:"mainhand",elem:"col",coeff:24}}}},threateningshout:{id:"threatening-shout",name:"Threatening Shout",category:"tactics",row:4,col:0,runes:{b:"Intimidate",d:"Falter",c:"Grim Harvest",a:"Demoralize",e:"Terrify"},info:{"*":{Cooldown:{cooldown:10}}},active:!0,buffs:{d:{dmgtaken:25}}},battlerage:{id:"battle-rage",name:"Battle Rage",category:"tactics",weapon:"mainhand",row:4,col:1,runes:{a:"Marauder's Rage",b:"Ferocity",c:"Swords to Ploughshares",d:"Into the Fray",e:"Bloodshed"},active:!0,params:[{rune:"d",val:0,min:0,max:20,name:"Nearby Enemies",inf:!0}],info:{"*":{Cost:{cost:20}}},buffs:function(e,a){var r={damage:10,chc:3};return"a"===e&&(r.damage=15),"b"===e&&(r.extrams=15),"d"===e&&(r.chc+=this.params[0].val),r}},warcry:{id:"war-cry",name:"War Cry",category:"tactics",row:4,col:2,runes:{a:"Hardened Wrath",d:"Charge!",e:"Invigorate",b:"Veteran's Warning",c:"Impunity"},info:{"*":{Cooldown:{cooldown:20}}},active:!0,buffs:{x:{armor_percent:20},a:{armor_percent:80},d:{armor_percent:20},e:{armor_percent:20,life:10,regen:13411},b:{armor_percent:20,dodge:30},c:{armor_percent:20,resist_percent:20}}},earthquake:{id:"earthquake",name:"Earthquake",category:"rage",row:5,col:0,runes:{b:"Giant's Stride",c:"Chilling Earth",d:"The Mountain's Call",a:"Molten Fury",e:"Cave-In"},range:18,info:{"*":{Cooldown:{cooldown:60}},x:{Damage:{weapon:"mainhand",elem:"fir",coeff:48,total:!0}},b:{Damage:{weapon:"mainhand",elem:"fir",coeff:48,total:!0},"Tremor Damage":{weapon:"mainhand",elem:"fir",coeff:3},"Total Damage":{sum:!0,Damage:{},"Tremor Damage":{count:30}}},c:{Damage:{weapon:"mainhand",elem:"col",coeff:48,total:!0}},d:{Cooldown:{cooldown:30},Damage:{weapon:"mainhand",elem:"lit",coeff:48,total:!0}},a:{Damage:{weapon:"mainhand",elem:"fir",coeff:60,total:!0}},e:{Damage:{weapon:"mainhand",elem:"phy",coeff:48,total:!0}}}},calloftheancients:{id:"call-of-the-ancients",name:"Call of the Ancients",category:"rage",row:5,col:1,runes:{b:"The Council Rises",d:"Duty to the Clan",a:"Ancients' Blessing",c:"Ancients' Fury",e:"Together as One"},info:function(e,a){var r;switch(e){case"x":r={Damage:{weapon:"mainhand",elem:"phy",pet:!0,coeff:2.7},DPS:{sum:!0,Damage:{speed:1,pet:60,count:3}}};break;case"b":r={Damage:{weapon:"mainhand",elem:"fir",pet:!0,coeff:5.4},DPS:{sum:!0,Damage:{speed:1,pet:60,count:3}}};break;case"d":r={Damage:{weapon:"mainhand",elem:"col",pet:!0,coeff:2.7},DPS:{sum:!0,Damage:{speed:1,pet:60,count:3}}};break;case"a":case"c":r={Damage:{weapon:"mainhand",elem:"phy",pet:!0,coeff:2.7},DPS:{sum:!0,Damage:{speed:1,pet:60,count:3}}};break;case"e":r={Damage:{weapon:"mainhand",elem:"lit",pet:!0,coeff:2.7},DPS:{sum:!0,Damage:{speed:1,pet:60,count:3}}}}return a.set_immortalking_2pc?r.Cooldown={cooldown:120}:r.Uptime={duration:20,cooldown:120},r},active:!1,buffs:{a:{lifefury:966},d:{chctaken:10},e:{dmgred:50}}},wrathoftheberserker:{id:"wrath-of-the-berserker",name:"Wrath of the Berserker",category:"rage",row:5,col:2,runes:{b:"Arreat's Wail",a:"Insanity",e:"Slaughter",c:"Striding Giant",d:"Thrive on Chaos"},info:function(e,a){var r={};if(a.set_immortalking_4pc?r.Cooldown={cooldown:120}:r.Uptime={duration:20,cooldown:120},(a.leg_morticksbrace||"b"==e)&&(r["Activation Damage"]={weapon:"mainhand",elem:"fir",coeff:34}),(a.leg_morticksbrace||"e"==e)&&(r["Eruption Damage"]={weapon:"mainhand",elem:"phy",coeff:3}),!$.isEmptyObject(r))return r},active:!1,buffs:function(e,a){if(a.leg_morticksbrace)return{damage:50,dmgred:50,lifefury:5364,chc:10,ias:25,dodge:20,extrams:20};switch(e){case"x":case"b":return{chc:10,ias:25,dodge:20,extrams:20};case"a":return{dmgmul:50,chc:10,ias:25,dodge:20,extrams:20};case"e":return{chc:10,ias:25,dodge:20,extrams:20};case"c":return{dmgred:50,chc:10,ias:25,dodge:20,extrams:20};case"d":return{lifefury:5364,chc:10,ias:25,dodge:20,extrams:20}}}}},DiabloCalc.passives.barbarian={poundofflesh:{id:"pound-of-flesh",name:"Pound of Flesh",index:0,params:[{min:0,max:5,val:0,name:"Stacks"}],buffs:function(e){return{regen_percent:2*this.params[0].val,extrams:4*this.params[0].val}}},ruthless:{id:"ruthless",name:"Ruthless",index:1,active:!1,buffs:{dmgmul:40}},nervesofsteel:{id:"nerves-of-steel",name:"Nerves of Steel",index:2},weaponsmaster:{id:"weapons-master",name:"Weapons Master",index:3,buffs:function(e){switch(e.info.mainhand.type){case"sword":case"sword2h":case"dagger":return{damage:8};case"mace":case"mace2h":case"axe":case"axe2h":return{chc:5};case"spear":case"polearm":return{ias:8}}}},inspiringpresence:{id:"inspiring-presence",name:"Inspiring Presence",index:4,buffs:function(e){if(e.skills.battlerage||e.skills.threateningshout||e.skills.warcry)return{regen_percent:3}}},berserkerrage:{id:"berserker-rage",name:"Berserker Rage",index:5,active:!0,buffs:{damage:25}},bloodthirst:{id:"bloodthirst",name:"Bloodthirst",index:6,buffs:function(e){return{lifefury:966+.01*(e.healbonus||0)}}},animosity:{id:"animosity",name:"Animosity",index:7,buffs:{maxfury:20,resourcegen:10}},superstition:{id:"superstition",name:"Superstition",index:8,buffs:{nonphys:20}},toughasnails:{id:"tough-as-nails",name:"Tough as Nails",index:9,buffs:function(e){return{armor_percent:25,thorns_multiply:100}}},noescape:{id:"no-escape",name:"No Escape",index:10,active:!0,buffs:{dmgmul:{skills:["weaponthrow","ancientspear","avalanche","seismicslam"],percent:30}}},relentless:{id:"relentless",name:"Relentless",index:11,active:!1,buffs:{rcr_fury:50,lpfs_percent:100,dmgred:50}},brawler:{id:"brawler",name:"Brawler",index:12,active:!1,buffs:{damage:20}},juggernaut:{id:"juggernaut",name:"Juggernaut",index:13,buffs:{ccr:50}},unforgiving:{id:"unforgiving",name:"Unforgiving",index:14},boonofbulkathos:{id:"boon-of-bulkathos",name:"Boon of Bul-Kathos",index:15,buffs:{skill_barbarian_earthquake_cooldown:15,skill_barbarian_calloftheancients_cooldown:30,skill_barbarian_wrathoftheberserker_cooldown:30}},earthenmight:{id:"earthen-might",name:"Earthen Might",index:16},swordandboard:{id:"sword-and-board",name:"Sword and Board",index:17,buffs:function(e){if("shield"===e.info.ohtype)return{dmgred:30,rcr_fury:20}}},rampage:{id:"rampage",name:"Rampage",index:18,params:[{val:0,min:0,max:25,name:"Stacks"}],buffs:function(){return{str_percent:this.params[0].val}}}},DiabloCalc.partybuffs.barbarian={bash:{runelist:"a"},cleave:{runelist:"b"},rend:{runelist:"c"},ignorepain:{runelist:"c",buffs:{c:{dmgred:25}}},warcry:{runelist:"*"},threateningshout:{runelist:"d"},calloftheancients:{runelist:"d"},inspiringpresence:{buffs:{regen_percent:2}}};