Skip to content

Commit 32fa349

Browse files
authored
[Warrior] Set avatar durations (#9859)
1 parent b4301dd commit 32fa349

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

engine/class_modules/sc_warrior.cpp

+15
Original file line numberDiff line numberDiff line change
@@ -1772,6 +1772,21 @@ struct avatar_t : public warrior_spell_t
17721772
parse_options( options_str );
17731773
harmful = false;
17741774
target = p;
1775+
1776+
if ( p->talents.warrior.warlords_torment->ok() )
1777+
warlords_torment_duration = p->talents.warrior.warlords_torment->effectN( 1 ).time_value();
1778+
1779+
if ( p->talents.warrior.berserkers_torment->ok() )
1780+
berserkers_torment_duration = p->talents.warrior.berserkers_torment->effectN( 2 ).time_value();
1781+
1782+
if ( p->talents.warrior.titans_torment->ok() )
1783+
titans_torment_duration = p->talents.warrior.titans_torment->effectN( 1 ).time_value();
1784+
1785+
if ( p->talents.warrior.immovable_object->ok() )
1786+
immovable_object_duration = p->talents.warrior.immovable_object->effectN( 2 ).time_value();
1787+
1788+
if ( p->talents.mountain_thane.avatar_of_the_storm->ok() )
1789+
avatar_of_the_storm_duration = timespan_t::from_seconds( p->talents.mountain_thane.avatar_of_the_storm->effectN( 3 ).base_value() );
17751790
}
17761791

17771792
avatar_t( util::string_view name, warrior_t* p )

0 commit comments

Comments
 (0)