tjc12821

Untitled

Jul 26th, 2015
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. if ( rng().roll( nightfall_chance ) )
  2. {
  3. if ( p() -> double_nightfall == 3 )
  4. {
  5. p() -> resource_gain( RESOURCE_SOUL_SHARD, 2, p() -> gains.nightfall );
  6. p() -> double_nightfall = 0;
  7. }
  8. else
  9. {
  10. p() -> resource_gain( RESOURCE_SOUL_SHARD, 1, p() -> gains.nightfall );
  11. if ( p() -> perk.empowered_corruption -> ok() )
  12. p() -> double_nightfall++;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment