Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtual void trigger_natures_balance( action_state_t* s, dot_t* d )
- {
- if ( ! p() -> talent.natures_balance -> ok() )
- return;
- if ( ! result_is_hit( s -> result ) )
- return;
- timespan_t extension;
- if ( d == td( d -> target ) -> dots.moonfire )
- extension = timespan_t::from_seconds( p() -> talent.natures_balance -> effectN( 1 ).base_value() );
- else if ( d == td( d -> target ) -> dots.sunfire )
- extension = timespan_t::from_seconds( p() -> talent.natures_balance -> effectN( 2 ).base_value() );
- // Nature's Balance may only extend the DoT to 20 seconds remaining.
- d -> extend_duration( extension, timespan_t::from_seconds( 20.0 ) );
- }
Advertisement
Add Comment
Please, Sign In to add comment