Skip to content

Commit

Permalink
[Augmentation] Make sure Background Executes cant extend
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeldur committed Nov 25, 2024
1 parent a3e3f61 commit f5b46ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/class_modules/sc_evoker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ struct essence_base_t : public BASE
{
BASE::execute();

if ( BASE::p()->talent.chronowarden.master_of_destiny.ok() && BASE::base_costs[ RESOURCE_ESSENCE ] > 0 )
if ( !BASE::background && BASE::p()->talent.chronowarden.master_of_destiny.ok() && BASE::base_costs[ RESOURCE_ESSENCE ] > 0 )
{
for ( auto& b : BASE::p()->allied_thread_of_fate_buffs )
{
Expand All @@ -2045,15 +2045,15 @@ struct essence_base_t : public BASE
}
}

if ( BASE::p()->talent.chronowarden.time_convergence.ok() )
if ( !BASE::background && BASE::p()->talent.chronowarden.time_convergence.ok() )
{
if ( BASE::p()->buff.time_convergence_intellect->check() )
{
BASE::p()->buff.time_convergence_intellect->extend_duration( BASE::player, time_convergence_extension );
}
}

if ( BASE::p()->talent.scalecommander.extended_battle.ok() && BASE::base_costs[ RESOURCE_ESSENCE ] > 0 )
if ( !BASE::background && BASE::p()->talent.scalecommander.extended_battle.ok() && BASE::base_costs[ RESOURCE_ESSENCE ] > 0 )
{
for ( auto p_ : BASE::sim->target_non_sleeping_list )
{
Expand Down

0 comments on commit f5b46ec

Please sign in to comment.