Skip to content

Commit 0839efc

Browse files
committed
[Feral] unseen slash bleed does not snapshot tiger's fury
1 parent f3034fb commit 0839efc

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

engine/class_modules/sc_druid.cpp

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,10 +2814,7 @@ struct cat_attack_t : public druid_attack_t<melee_attack_t>
28142814
} );
28152815
}
28162816

2817-
snapshot_tigers_fury =
2818-
parse_persistent_effects( p->buff.tigers_fury, PARSE_CALLBACK_POST_SNAPSHOT, [ this ]( action_state_t* s ) {
2819-
cast_state( s )->snapshots |= snapshot_e::TIGERS_FURY;
2820-
} );
2817+
snapshot_tigers_fury = parse_tigers_fury();
28212818
}
28222819
}
28232820

@@ -2895,6 +2892,14 @@ struct cat_attack_t : public druid_attack_t<melee_attack_t>
28952892
"Snapshots (Direct)" );
28962893
}
28972894

2895+
virtual bool parse_tigers_fury()
2896+
{
2897+
return parse_persistent_effects( p()->buff.tigers_fury, PARSE_CALLBACK_POST_SNAPSHOT,
2898+
[ this ]( action_state_t* s ) {
2899+
cast_state( s )->snapshots |= snapshot_e::TIGERS_FURY;
2900+
} );
2901+
}
2902+
28982903
void init_finished() override
28992904
{
29002905
base_t::init_finished();
@@ -4861,6 +4866,14 @@ struct unseen_attack_t : public cat_attack_t
48614866
range = p->talent.unseen_predator_1->effectN( 2 ).base_value();
48624867
}
48634868

4869+
bool parse_tigers_fury() override
4870+
{
4871+
// unseen attacks do not snapshot tiger's fury
4872+
parse_effects( p()->buff.tigers_fury );
4873+
return false;
4874+
}
4875+
4876+
48644877
timespan_t travel_time() const override
48654878
{
48664879
return rng().range( FERAL_FLICKER_DELAY );
@@ -4907,6 +4920,13 @@ struct unseen_slash_t final : public unseen_attack_t
49074920
background = dual = proc = true;
49084921
}
49094922

4923+
bool parse_tigers_fury() override
4924+
{
4925+
// unseen attacks do not snapshot tiger's fury
4926+
parse_effects( p()->buff.tigers_fury );
4927+
return false;
4928+
}
4929+
49104930
double composite_rolling_ta_multiplier( const action_state_t* s ) const override
49114931
{
49124932
auto ta = cat_attack_t::composite_rolling_ta_multiplier( s );

0 commit comments

Comments
 (0)