Advertisement
Guest User

Naquadah Set Bonus

a guest
Feb 1st, 2015
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. if (this.autoReuse)
  2. {
  3.     if (this.inventory[this.selectedItem].damage > 0) this.inventory[this.selectedItem].autoReuse = true;
  4. }
  5. else
  6. {
  7.     foreach (Item I in this.inventory)
  8.     {
  9.         Item I2 = new Item();
  10.         I2.SetDefaults(I.type);
  11.         if (!I2.autoReuse)
  12.         {
  13.             I.autoReuse = false;
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement