File tree 1 file changed +14
-2
lines changed 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1071,8 +1071,8 @@ struct hunter_t final : public player_t
1071
1071
void init_assessors () override ;
1072
1072
void init_action_list () override ;
1073
1073
void init_blizzard_action_list () override ;
1074
- std::string parse_assisted_combat_rule ( const assisted_combat_rule_data_t & rule,
1075
- const assisted_combat_step_data_t & step ) const override ;
1074
+ std::string parse_assisted_combat_rule ( const assisted_combat_rule_data_t & rule, const assisted_combat_step_data_t & step ) const override ;
1075
+ std::vector<std::string> action_names_from_spell_id ( unsigned int spell_id ) const override ;
1076
1076
void init_special_effects () override ;
1077
1077
void init_finished () override ;
1078
1078
void reset () override ;
@@ -9098,6 +9098,18 @@ std::string hunter_t::parse_assisted_combat_rule( const assisted_combat_rule_dat
9098
9098
return player_t::parse_assisted_combat_rule ( rule, step );
9099
9099
}
9100
9100
9101
+ std::vector<std::string> hunter_t::action_names_from_spell_id ( unsigned int spell_id ) const
9102
+ {
9103
+ // We should consider making it so that we can use kill_shot to refer to both Kill Shot
9104
+ // and Black Arrow depending on talents, rather than have them separate.
9105
+ if ( spell_id == talents.kill_shot ->id () )
9106
+ {
9107
+ return { " kill_shot" , " black_arrow" };
9108
+ }
9109
+
9110
+ return player_t::action_names_from_spell_id ( spell_id );
9111
+ }
9112
+
9101
9113
void hunter_t::init_special_effects ()
9102
9114
{
9103
9115
player_t::init_special_effects ();
You can’t perform that action at this time.
0 commit comments