Skip to content

Commit 8b55ca0

Browse files
committed
[Feral] bloodtalons incurs ICD on decrement
1 parent ed257a1 commit 8b55ca0

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

engine/class_modules/sc_druid.cpp

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3505,6 +3505,23 @@ struct incarnation_bear_buff_t final : public berserk_bear_buff_base_t
35053505
}
35063506
};
35073507

3508+
// Bloodtalons ==============================================================
3509+
struct bloodtalons_buff_t final : public druid_buff_t
3510+
{
3511+
bloodtalons_buff_t( druid_t* p ) : base_t( p, "bloodtalons", p->find_spell( 145152 ) )
3512+
{}
3513+
3514+
void decrement( int s, double v )
3515+
{
3516+
if ( cooldown->down() )
3517+
return;
3518+
3519+
base_t::decrement( s, v );
3520+
3521+
cooldown->start();
3522+
}
3523+
};
3524+
35083525
// Bloodtalons Tracking Buff ================================================
35093526
struct bt_dummy_buff_t final : public druid_buff_t
35103527
{
@@ -11838,7 +11855,7 @@ void druid_t::create_buffs()
1183811855
resource_gain( RESOURCE_COMBO_POINT, cp, gain );
1183911856
} );
1184011857

11841-
buff.bloodtalons = make_fallback( talent.bloodtalons.ok(), this, "bloodtalons", find_spell( 145152 ) );
11858+
buff.bloodtalons = make_fallback<bloodtalons_buff_t>( talent.bloodtalons.ok(), this, "bloodtalons" );
1184211859
buff.bt_rake = make_fallback<bt_dummy_buff_t>( talent.bloodtalons.ok(), this, "bt_rake" );
1184311860
buff.bt_shred = make_fallback<bt_dummy_buff_t>( talent.bloodtalons.ok(), this, "bt_shred" );
1184411861
buff.bt_swipe = make_fallback<bt_dummy_buff_t>( talent.bloodtalons.ok(), this, "bt_swipe" );

0 commit comments

Comments
 (0)