Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtual void impact( action_state_t* s ) override
- {
- warlock_spell_t::impact( s );
- if ( result_is_hit( s -> result ) )
- {
- if( p() -> talents.hand_of_doom -> ok() )
- {
- doom -> target = s -> target;
- doom -> execute();
- }
- if ( p() -> sets.set( WARLOCK_DEMONOLOGY, T17, B2 ) )
- {
- if ( rng().roll( p() -> sets.set( WARLOCK_DEMONOLOGY, T17, B2 ) -> proc_chance() ) )
- {
- shards_used *= 1.5;
- }
- }
- if ( s -> chain_target == 0 )
- imp_event = make_event<trigger_imp_event_t>( *sim, p(), floor( shards_used ), true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment