Skip to content

Commit

Permalink
[Warrior] Fix T20 bonus and hotfix
Browse files Browse the repository at this point in the history
Assume Bladestorm ticks 0 and 3 as well as first Ravager tick.
  • Loading branch information
Mystler committed Dec 5, 2017
1 parent 9240f05 commit 43d90fb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions engine/class_modules/sc_warrior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,8 @@ struct bladestorm_t: public warrior_attack_t
{
bladestorm_oh -> execute();
}
if ( mortal_strike && d -> ticks_left() % 2 != 0)
// Hotfix as of 2014-12-05: 3 -> 2 ticks with an additional MS. Assume ticks 0 and 3.
if ( mortal_strike && (d -> current_tick == 0 || d -> current_tick == 3 ) )
{
auto t = select_random_target();

Expand Down Expand Up @@ -3393,7 +3394,9 @@ struct ravager_t: public warrior_attack_t
warrior_attack_t::tick( d );
ravager -> execute();
// the 4pc occurs on the first and 4th tick
if (mortal_strike && (d->current_tick == 1 || d->current_tick == 4))
// if (mortal_strike && (d->current_tick == 1 || d->current_tick == 4))
// As of 2017-12-05, this was hotfixed to only one tick total. Assume first one.
if (mortal_strike && d -> current_tick == 1)
{
auto t = select_random_target();

Expand Down

0 comments on commit 43d90fb

Please sign in to comment.