예제 #1
0
 // Token: 0x06000526 RID: 1318 RVA: 0x0004C094 File Offset: 0x0004A294
 private void CNIKQOQLFFB()
 {
     if (this.ENEHBNOCNKO != null && this.ENEHBNOCNKO.Length > 1)
     {
         QFEIBBLLDQE qfeibblldqe = base.GetComponent <QFEIBBLLDQE>();
         if (qfeibblldqe == null)
         {
             qfeibblldqe = base.gameObject.AddComponent <QFEIBBLLDQE>();
         }
         int max = -70;
         int i   = 1;
         int num = this.ENEHBNOCNKO.Length;
         while (i < num)
         {
             int         num2        = this.ENEHBNOCNKO[i];
             InvBaseItem invBaseItem = QJFLHFDQNPN.MBEQGBFGONF(num2);
             if (invBaseItem != null)
             {
                 qfeibblldqe.ODDDIPBOCGL(new InvGameItem(num2, invBaseItem)
                 {
                     quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(1, max),
                     itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel)
                 });
             }
             else
             {
                 Debug.LogWarning("p1" + num2);
             }
             i++;
         }
     }
     UnityEngine.Object.Destroy(this);
 }
예제 #2
0
 // Token: 0x06000518 RID: 1304 RVA: 0x0004B56C File Offset: 0x0004976C
 private void Start()
 {
     if (this.ENEHBNOCNKO != null && this.ENEHBNOCNKO.Length > 0)
     {
         QFEIBBLLDQE qfeibblldqe = base.GetComponent <QFEIBBLLDQE>();
         if (qfeibblldqe == null)
         {
             qfeibblldqe = base.gameObject.AddComponent <QFEIBBLLDQE>();
         }
         int max = 12;
         int i   = 0;
         int num = this.ENEHBNOCNKO.Length;
         while (i < num)
         {
             int         num2        = this.ENEHBNOCNKO[i];
             InvBaseItem invBaseItem = QJFLHFDQNPN.CKGICDLIJCL(num2);
             if (invBaseItem != null)
             {
                 qfeibblldqe.ODDDIPBOCGL(new InvGameItem(num2, invBaseItem)
                 {
                     quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(0, max),
                     itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel)
                 });
             }
             else
             {
                 Debug.LogWarning("Can't resolve the item ID of " + num2);
             }
             i++;
         }
     }
     UnityEngine.Object.Destroy(this);
 }