@@ -33,9 +33,6 @@ type Druid struct {
3333
3434 MHAutoSpell * core.Spell
3535
36- HotWCatDep * stats.StatDependency
37- HotWBearDep * stats.StatDependency
38-
3936 Barkskin * DruidSpell
4037 Berserk * DruidSpell
4138 CatCharge * DruidSpell
@@ -94,18 +91,12 @@ type Druid struct {
9491 MoonkinT84PCAura * core.Aura
9592 NaturesGraceProcAura * core.Aura
9693 OwlkinFrenzyAura * core.Aura
97- PredatoryInstinctsAura * core.Aura
9894 PrimalMadnessAura * core.Aura
99- PulverizeAura * core.Aura
10095 SavageDefenseAura * core.DamageAbsorptionAura
101- SavageRoarAura * core.Aura
102- SmokescreenAura * core.Aura
10396 SolarEclipseProcAura * core.Aura
10497 StampedeCatAura * core.Aura
10598 StampedeBearAura * core.Aura
106- StrengthOfThePantherAura * core.Aura
10799 SurvivalInstinctsAura * core.Aura
108- // TigersFuryAura *core.Aura
109100
110101 BleedCategories core.ExclusiveCategoryArray
111102
@@ -123,13 +114,13 @@ type Druid struct {
123114 form DruidForm
124115 disabledMCDs []* core.MajorCooldown
125116
126- // Leather specialization tracker
127- LeatherSpec * core.Aura
117+ // Guardian leather specialization is form-specific
118+ GuardianLeatherSpecTracker * core.Aura
119+ GuardianLeatherSpecDep * stats.StatDependency
128120
129121 // Item sets
130122 T11Feral2pBonus * core.Aura
131123 T11Feral4pBonus * core.Aura
132- T12Feral4pBonus * core.Aura
133124 T13Feral4pBonus * core.Aura
134125}
135126
@@ -282,11 +273,10 @@ func (druid *Druid) Initialize() {
282273 }
283274 })
284275
285- // druid.registerFaerieFireSpell()
276+ druid .registerFaerieFireSpell ()
286277 // druid.registerRebirthSpell()
287278 // druid.registerInnervateCD()
288279 druid .registerTranquilityCD ()
289- druid .applyOmenOfClarity ()
290280}
291281
292282func (druid * Druid ) RegisterBalanceSpells () {
@@ -319,8 +309,8 @@ func (druid *Druid) RegisterFeralCatSpells() {
319309 // druid.registerRipSpell()
320310 // druid.registerSavageRoarSpell()
321311 // druid.registerShredSpell()
322- druid .registerSwipeBearSpell ()
323- druid .registerSwipeCatSpell ()
312+ // druid.registerSwipeBearSpell()
313+ // druid.registerSwipeCatSpell()
324314 // druid.registerThrashBearSpell()
325315 // druid.registerTigersFurySpell()
326316}
@@ -329,33 +319,21 @@ func (druid *Druid) RegisterFeralTankSpells() {
329319 druid .registerBarkskinCD ()
330320 druid .registerBearFormSpell ()
331321 // druid.registerBerserkCD()
332- druid .registerDemoralizingRoarSpell ()
322+ // druid.registerDemoralizingRoarSpell()
333323 // druid.registerEnrageSpell()
334- druid .registerFrenziedRegenerationCD ()
324+ // druid.registerFrenziedRegenerationCD()
335325 // druid.registerMangleBearSpell()
336326 // druid.registerMaulSpell()
337327 // druid.registerLacerateSpell()
338328 // druid.registerPulverizeSpell()
339329 // druid.registerRakeSpell()
340330 // druid.registerRipSpell()
341- druid .registerSavageDefensePassive ()
331+ // druid.registerSavageDefensePassive()
342332 // druid.registerSurvivalInstinctsCD()
343- druid .registerSwipeBearSpell ()
333+ // druid.registerSwipeBearSpell()
344334 // druid.registerThrashBearSpell()
345335}
346336
347- func (druid * Druid ) RegisterLeatherSpecialization () {
348- // Druid armor spec behaves differently from other classes because the boosted stats are linked to form rather
349- // than talents. For this reason, we modify the default tracker Aura to activate at BuildPhaseGear rather than
350- // BuildPhaseTalents, and also add custom handlers for the cat Agi bonus and the bear Stam bonus in forms.go (the
351- // Int bonus applies in all forms).
352- druid .LeatherSpec = druid .ApplyArmorSpecializationEffect (stats .Intellect , proto .ArmorType_ArmorTypeLeather , 87505 )
353-
354- if druid .LeatherSpec .BuildPhase == core .CharacterBuildPhaseTalents {
355- druid .LeatherSpec .BuildPhase = core .CharacterBuildPhaseGear
356- }
357- }
358-
359337func (druid * Druid ) Reset (_ * core.Simulation ) {
360338 // druid.eclipseEnergyBar.reset()
361339 druid .BleedsActive = 0
@@ -388,20 +366,6 @@ func New(char *core.Character, form DruidForm, selfBuffs SelfBuffs, talents stri
388366 // Base dodge is unaffected by Diminishing Returns
389367 druid .PseudoStats .BaseDodgeChance += 0.03
390368
391- druid .RegisterLeatherSpecialization ()
392-
393- // if druid.Talents.ForceOfNature {
394- // druid.Treants = &Treants{
395- // Treant1: druid.NewTreant(),
396- // Treant2: druid.NewTreant(),
397- // Treant3: druid.NewTreant(),
398- // }
399- // }
400-
401- // if druid.CouldHaveSetBonus(ItemSetObsidianArborweaveRegalia, 2) {
402- // druid.BurningTreant = druid.NewBurningTreant()
403- // }
404-
405369 return druid
406370}
407371
0 commit comments