Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( warlock.specialization() == WARLOCK_AFFLICTION )
- {
- for ( auto& current_ua : dots_unstable_affliction )
- {
- if ( current_ua->is_ticking() )
- {
- warlock.sim->print_log( "Player {} demised. Warlock {} gains a shard from unstable affliction.", target->name(), warlock.name() );
- warlock.resource_gain( RESOURCE_SOUL_SHARD, 1, warlock.gains.unstable_affliction_refund );
- // you can only get one soul shard per death from UA refunds
- break;
- }
- }
- if ( dots_drain_soul->is_ticking() )
- {
- warlock.sim->print_log( "Player {} demised. Warlock {} gains a shard from drain soul.", target->name(), warlock.name() );
- warlock.resource_gain( RESOURCE_SOUL_SHARD, 1, warlock.gains.drain_soul );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment