Skip to content

Commit

Permalink
[Hunter] Lucid Dreams hotfixed to exclude pet regen
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayezi committed Jul 4, 2019
1 parent 9f0d589 commit 63df0bc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions engine/class_modules/sc_hunter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1256,14 +1256,8 @@ struct hunter_main_pet_t : public hunter_main_pet_base_t
double resource_regen_per_second( resource_e r ) const override
{
if ( r == RESOURCE_FOCUS )
{
double amount = owner -> resource_regen_per_second( RESOURCE_FOCUS );

if ( owner -> buffs.memory_of_lucid_dreams -> check() )
amount *= 1.0 + o() -> azerite_essence.memory_of_lucid_dreams_major_mult;
return owner -> resource_regen_per_second( RESOURCE_FOCUS ) * 1.25;

return amount * 1.25;
}
return hunter_main_pet_base_t::resource_regen_per_second( r );
}

Expand Down

0 comments on commit 63df0bc

Please sign in to comment.