Skip to content

Commit

Permalink
[Druid] More GCD stuff.
Browse files Browse the repository at this point in the history
Sorry Xanzara!
  • Loading branch information
vituscze committed Jun 7, 2017
1 parent 7f7368b commit 2e74231
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions engine/class_modules/sc_druid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5535,6 +5535,18 @@ struct lunar_strike_t : public druid_spell_t
return am;
}

timespan_t gcd() const override
{
timespan_t g = druid_spell_t::gcd();

if ( p() -> talent.starlord -> ok() && p() -> buff.lunar_empowerment -> check() )
g *= 1 - p() -> talent.starlord -> effectN( 1 ).percent();

g = std::max( min_gcd, g );

return g;
}

timespan_t execute_time() const override
{
timespan_t et = druid_spell_t::execute_time();
Expand Down Expand Up @@ -5920,6 +5932,18 @@ struct solar_wrath_t : public druid_spell_t
return am;
}

timespan_t gcd() const override
{
timespan_t g = druid_spell_t::gcd();

if ( p() -> talent.starlord -> ok() && p() -> buff.solar_empowerment -> check() )
g *= 1 - p() -> talent.starlord -> effectN( 1 ).percent();

g = std::max( min_gcd, g );

return g;
}

timespan_t execute_time() const override
{
timespan_t et = druid_spell_t::execute_time();
Expand Down

0 comments on commit 2e74231

Please sign in to comment.