Skip to content

Commit 8d64ff5

Browse files
authored
[Buff] Hasted buffs should use source haste, not target (#10059)
1 parent 2e2ebdf commit 8d64ff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/buff/buff.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1838,8 +1838,8 @@ timespan_t buff_t::tick_time() const
18381838
switch ( tick_time_behavior )
18391839
{
18401840
case buff_tick_time_behavior::HASTED:
1841-
assert( player );
1842-
return buff_period * player->cache.spell_cast_speed();
1841+
assert( source );
1842+
return buff_period * source->cache.spell_cast_speed();
18431843
case buff_tick_time_behavior::CUSTOM:
18441844
assert( tick_time_callback );
18451845
return tick_time_callback( this, current_tick );

0 commit comments

Comments
 (0)