Skip to content

Commit bc5b574

Browse files
committed
[Warlock] Cleanup now unnecessary spec aura calls in warlock_pet_actions
1 parent aab1fc3 commit bc5b574

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

engine/class_modules/warlock/sc_warlock_pets.cpp

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,6 @@ struct rift_shadow_bolt_t : public warlock_pet_spell_t
19741974

19751975
// Double dips from whitelist+guardian aura
19761976
base_dd_multiplier *= 1.0 + p->o()->talents.summoners_embrace->effectN( 1 ).percent();
1977-
base_dd_multiplier *= 1.0 + p->o()->warlock_base.destruction_warlock->effectN( 1 ).percent();
19781977
}
19791978

19801979
double composite_crit_damage_bonus_multiplier() const override
@@ -2060,7 +2059,6 @@ struct chaos_barrage_tick_t : public warlock_pet_spell_t
20602059

20612060
// Double dips from whitelist+guardian aura
20622061
base_dd_multiplier *= 1.0 + p->o()->talents.summoners_embrace->effectN( 1 ).percent();
2063-
base_dd_multiplier *= 1.0 + p->o()->warlock_base.destruction_warlock->effectN( 1 ).percent();
20642062
}
20652063

20662064
double composite_crit_damage_bonus_multiplier() const override
@@ -2142,7 +2140,6 @@ struct rift_chaos_bolt_t : public warlock_pet_spell_t
21422140

21432141
// Double dips from whitelist+guardian aura
21442142
base_dd_multiplier *= 1.0 + p->o()->talents.summoners_embrace->effectN( 1 ).percent();
2145-
base_dd_multiplier *= 1.0 + p->o()->warlock_base.destruction_warlock->effectN( 1 ).percent();
21462143

21472144
if ( p->o()->talents.unstable_rifts.ok() )
21482145
{
@@ -2367,16 +2364,12 @@ namespace diabolist
23672364
{
23682365
// Added in build: 11.2.0.62253: reduces Diab Demons Damage by 20% for Demonology
23692366
m *= 1.0 + p()->o()->hero.diabolic_ritual->effectN( 3 ).percent();
2370-
// Wicked Cleave is mistakenly whitelisted on Effect 1 for Demonology Aura, Double Dipping alongside effect 5.
2371-
m *= 1.0 + p()->o()->warlock_base.demonology_warlock->effectN( 1 ).percent();
23722367
}
23732368

23742369
if ( p()->o()->specialization() == WARLOCK_DESTRUCTION )
23752370
{
23762371
// Added in build 11.2.0.62253: Increases Diab Demons damage by 15% for Destruction, missing from Patch Notes.
23772372
m *= 1.0 + p()->o()->hero.diabolic_ritual->effectN( 4 ).percent();
2378-
// Destruction Aura Double Dips due to Diabolist Demon spells being whitelisted on effect 1.
2379-
m *= 1.0 + p()->o()->warlock_base.destruction_warlock->effectN( 1 ).percent();
23802373
// Destruction Summoners Embrace also Double Dip due to the same fact.
23812374
// Those two effects together is what made me believe the May 27 buff got applied.
23822375
if ( p()->o()->talents.summoners_embrace.ok() )
@@ -2446,16 +2439,12 @@ namespace diabolist
24462439
{
24472440
// Added in build: 11.2.0.62253: reduces Diab Demons Damage by 20% for Demonology
24482441
m *= 1.0 + p()->o()->hero.diabolic_ritual->effectN( 3 ).percent();
2449-
// Wicked Cleave is mistakenly whitelisted on Effect 1 for Demonology Aura, Double Dipping alongside effect 5.
2450-
m *= 1.0 + p()->o()->warlock_base.demonology_warlock->effectN( 1 ).percent();
24512442
}
24522443

24532444
if ( p()->o()->specialization() == WARLOCK_DESTRUCTION )
24542445
{
24552446
// Added in build 11.2.0.62253: Increases Diab Demons damage by 15% for Destruction, missing from Patch Notes.
24562447
m *= 1.0 + p()->o()->hero.diabolic_ritual->effectN( 4 ).percent();
2457-
// Destruction Aura Double Dips due to Diabolist Demon spells being whitelisted on effect 1.
2458-
m *= 1.0 + p()->o()->warlock_base.destruction_warlock->effectN( 1 ).percent();
24592448
// Destruction Summoners Embrace also Double Dip due to the same fact.
24602449
// Those two effects together is what made me believe the May 27 buff got applied.
24612450
if ( p()->o()->talents.summoners_embrace.ok() )
@@ -2546,16 +2535,12 @@ namespace diabolist
25462535
{
25472536
// Added in build: 11.2.0.62253: reduces Diab Demons Damage by 20% for Demonology
25482537
m *= 1.0 + p()->o()->hero.diabolic_ritual->effectN( 3 ).percent();
2549-
// Wicked Cleave is mistakenly whitelisted on Effect 1 for Demonology Aura, Double Dipping alongside effect 5.
2550-
m *= 1.0 + p()->o()->warlock_base.demonology_warlock->effectN( 1 ).percent();
25512538
}
25522539

25532540
if ( p()->o()->specialization() == WARLOCK_DESTRUCTION )
25542541
{
25552542
// Added in build 11.2.0.62253: Increases Diab Demons damage by 15% for Destruction, missing from Patch Notes.
25562543
m *= 1.0 + p()->o()->hero.diabolic_ritual->effectN( 4 ).percent();
2557-
// Destruction Aura Double Dips due to Diabolist Demon spells being whitelisted on effect 1.
2558-
m *= 1.0 + p()->o()->warlock_base.destruction_warlock->effectN( 1 ).percent();
25592544
// Destruction Summoners Embrace also Double Dip due to the same fact.
25602545
// Those two effects together is what made me believe the May 27 buff got applied.
25612546
if ( p()->o()->talents.summoners_embrace.ok() )
@@ -2718,13 +2703,8 @@ struct soul_swipe_base_t : public warlock_pet_spell_t
27182703
if ( p()->o()->bugs )
27192704
m *= 1.0 + p()->o()->hero.wicked_reaping->effectN( 1 ).percent();
27202705

2721-
if ( p()->o()->specialization() == WARLOCK_DEMONOLOGY )
2722-
{
2723-
m *= 1.0 + p()->o()->warlock_base.demonology_warlock->effectN( 1 ).percent();
2724-
}
27252706
if ( p()->o()->specialization() == WARLOCK_AFFLICTION )
27262707
{
2727-
m *= 1.0 + p()->o()->warlock_base.affliction_warlock->effectN( 1 ).percent();
27282708
// Oddly a scripted dummy effect. Needs to be double checked to be sure this actually works.
27292709
m *= 1.0 + p()->o()->sets->set( HERO_SOUL_HARVESTER, TWW3, B2 )->effectN( 2 ).percent();
27302710
}

0 commit comments

Comments
 (0)