Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( resource_current == RESOURCE_SOUL_SHARD && p() -> talent.soul_conduit -> ok() )
- {
- double soul_conduit_rng = p() -> talents.soul_conduit -> effectN( 1 ).percent();
- for ( int i = 0; i < resource_consumed; i++ )
- {
- if ( rng().roll( soul_conduit_rng ) && resource_current == RESOURCE_SOUL_SHARD )
- {
- p() -> resource_gain( RESOURCE_SOUL_SHARD, 1.0, p() -> gains.soul_conduit );
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment