Advertisement
lostcalpolydude

Effects/Drunk

Jan 1st, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. foreach it in $items[]
  2. {
  3. int nummod = numeric_modifier( it, "Effect Duration" );
  4. int ineb = it.inebriety;
  5. if ( nummod > 0 && ineb > 0 )
  6. {
  7. if ( nummod / ineb > 20 ) print_html( it + ": " + nummod/ineb + " (" + historical_price( it ) + ")" );
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement