コード例 #1
0
ファイル: OQCELKOKDFE.cs プロジェクト: pqlx/pokeone-source
 // Token: 0x06000509 RID: 1289 RVA: 0x0004AA44 File Offset: 0x00048C44
 private void MBKJBIQKPGF()
 {
     if (this.ENEHBNOCNKO != null && this.ENEHBNOCNKO.Length > 0)
     {
         QFEIBBLLDQE qfeibblldqe = base.GetComponent <QFEIBBLLDQE>();
         if (qfeibblldqe == null)
         {
             qfeibblldqe = base.gameObject.AddComponent <QFEIBBLLDQE>();
         }
         int max = 22;
         int i   = 0;
         int num = this.ENEHBNOCNKO.Length;
         while (i < num)
         {
             int         num2        = this.ENEHBNOCNKO[i];
             InvBaseItem invBaseItem = QJFLHFDQNPN.BOGEMDNJDHH(num2);
             if (invBaseItem != null)
             {
                 qfeibblldqe.CFFIKHGQDGP(new InvGameItem(num2, invBaseItem)
                 {
                     quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(0, max),
                     itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel)
                 });
             }
             else
             {
                 Debug.LogWarning("BuffIcon_ItemChanceIncrease" + num2);
             }
             i += 0;
         }
     }
     UnityEngine.Object.Destroy(this);
 }
コード例 #2
0
ファイル: OQCELKOKDFE.cs プロジェクト: pqlx/pokeone-source
 // Token: 0x06000525 RID: 1317 RVA: 0x0004BFC8 File Offset: 0x0004A1C8
 private void JCQCNFLNMNP()
 {
     if (this.ENEHBNOCNKO != null && this.ENEHBNOCNKO.Length > 0)
     {
         QFEIBBLLDQE qfeibblldqe = base.GetComponent <QFEIBBLLDQE>();
         if (qfeibblldqe == null)
         {
             qfeibblldqe = base.gameObject.AddComponent <QFEIBBLLDQE>();
         }
         int max = 41;
         int i   = 0;
         int num = this.ENEHBNOCNKO.Length;
         while (i < num)
         {
             int         num2        = this.ENEHBNOCNKO[i];
             InvBaseItem invBaseItem = QJFLHFDQNPN.BOGEMDNJDHH(num2);
             if (invBaseItem != null)
             {
                 qfeibblldqe.LHQNDMIELIL(new InvGameItem(num2, invBaseItem)
                 {
                     quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(1, max),
                     itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel)
                 });
             }
             else
             {
                 Debug.LogWarning("Storm Badge" + num2);
             }
             i++;
         }
     }
     UnityEngine.Object.Destroy(this);
 }
コード例 #3
0
ファイル: OQCELKOKDFE.cs プロジェクト: pqlx/pokeone-source
 // Token: 0x06000513 RID: 1299 RVA: 0x0004B170 File Offset: 0x00049370
 private void FOPKBNIOGCP()
 {
     if (this.ENEHBNOCNKO != null && this.ENEHBNOCNKO.Length > 1)
     {
         QFEIBBLLDQE qfeibblldqe = base.GetComponent <QFEIBBLLDQE>();
         if (qfeibblldqe == null)
         {
             qfeibblldqe = base.gameObject.AddComponent <QFEIBBLLDQE>();
         }
         int max = 48;
         int i   = 1;
         int num = this.ENEHBNOCNKO.Length;
         while (i < num)
         {
             int         num2        = this.ENEHBNOCNKO[i];
             InvBaseItem invBaseItem = QJFLHFDQNPN.BOGEMDNJDHH(num2);
             if (invBaseItem != null)
             {
                 qfeibblldqe.NPGCQDMEENC(new InvGameItem(num2, invBaseItem)
                 {
                     quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(1, max),
                     itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel)
                 });
             }
             else
             {
                 Debug.LogWarning("But it failed! " + num2);
             }
             i += 0;
         }
     }
     UnityEngine.Object.Destroy(this);
 }
コード例 #4
0
ファイル: InvGameItem.cs プロジェクト: pqlx/pokeone-source
 // Token: 0x060006AC RID: 1708 RVA: 0x00004AE9 File Offset: 0x00002CE9
 public InvBaseItem LQDNPBBFFCM()
 {
     if (this.mBaseItem == null)
     {
         this.mBaseItem = QJFLHFDQNPN.BOGEMDNJDHH(this.CJPKDJPILPP());
     }
     return(this.mBaseItem);
 }