Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtual void execute()
- {
- int combo_points = td( target ) -> combo_points.get();
- base_dd_adder = base_da_bonus * combo_points;
- base_ta_adder = base_ta_bonus * combo_points;
- base_t::execute();
- if ( result_is_hit( execute_state -> result ) )
- {
- if ( adds_combo_points )
- {
- td( target ) -> combo_points.add( adds_combo_points, &name_str );
- if ( aoe == 0 && ( p() -> specialization() == DRUID_FERAL || p() -> specialization() == DRUID_GUARDIAN ) &&
- execute_state -> result == RESULT_CRIT )
- {
- p() -> proc.primal_fury -> occur();
- td( target ) -> combo_points.add( adds_combo_points, &name_str );
- }
- }
- if ( execute_state -> result == RESULT_CRIT )
- trigger_lotp( execute_state );
- druid_td_t& td = *this -> td( execute_state -> target );
- if ( td.combo_points.get() > 0 && requires_combo_points )
- {
- if ( player -> set_bonus.tier15_2pc_melee() &&
- p() -> rng.tier15_2pc_melee -> roll( td.combo_points.get() * 0.15 ))
- {
- p() -> proc.tier15_2pc_melee -> occur();
- td.combo_points.add( 1, &name_str );
- }
- }
- }
- else
- {
- trigger_energy_refund();
- }
- if ( harmful ) p() -> buff.stealthed -> expire();
- }
Advertisement
Add Comment
Please, Sign In to add comment