Skip to content

Commit

Permalink
[Gear] Add PTR check to improvised seaforium pacemaker
Browse files Browse the repository at this point in the history
  • Loading branch information
nyterage committed Jan 3, 2025
1 parent 84bfb90 commit 63e221b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/player/unique_gear_thewarwithin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6088,6 +6088,9 @@ void geargrinders_remote( special_effect_t& effect )
// 1218713 Buff
void improvised_seaforium_pacemaker( special_effect_t& effect )
{
if ( !effect.player->is_ptr() )
return;

auto buff_spell = effect.player->find_spell( 1218713 );
auto buff = create_buff<stat_buff_t>( effect.player, buff_spell )
->set_stat_from_effect_type( A_MOD_RATING, effect.driver()->effectN( 1 ).average( effect ) );
Expand Down

0 comments on commit 63e221b

Please sign in to comment.