Skip to content

Commit

Permalink
[Warlock] GFG Demonic Power bug (#9869)
Browse files Browse the repository at this point in the history
* Update sc_warlock_pets.cpp

This behavior still exists as of PTR 11.1 
so i am attempting to apply it for simc SimCMinMax/WoW-BugTracker#1302

* Bug handling flag

---------

Co-authored-by: Azevara <46403881+Azevara@users.noreply.github.com>
  • Loading branch information
Mlklock and Azevara authored Jan 22, 2025
1 parent 2cf6748 commit 79d6b1f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions engine/class_modules/warlock/sc_warlock_pets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,16 @@ struct legion_strike_t : public warlock_pet_melee_attack_t

return m;
}

double cost_pct_multiplier() const override
{
double c = warlock_pet_melee_attack_t::cost_pct_multiplier();

if ( !main_pet && p()->buffs.demonic_power->check() && p()->bugs )
c *= 1.0 + p()->o()->talents.demonic_power_buff->effectN( 4 ).percent();

return c;
}
};

struct immutable_hatred_t : public warlock_pet_melee_attack_t
Expand Down

0 comments on commit 79d6b1f

Please sign in to comment.