Пример #1
0
 private void PreStartHandleBenchmark()
 {
     if (this.isBenchmark)
     {
         foreach (DevAvatarData data in this.avatarDevDatas)
         {
             if (!Miscs.ArrayContains <string>(data.avatarTestSkills, "Test_UnlockAllAniSkill"))
             {
                 Miscs.ArrayAppend <string>(ref data.avatarTestSkills, "Test_UnlockAllAniSkill");
             }
             if (!Miscs.ArrayContains <string>(data.avatarTestSkills, "Test_Undamagable"))
             {
                 Miscs.ArrayAppend <string>(ref data.avatarTestSkills, "Test_Undamagable");
             }
         }
         foreach (DevMonsterData data2 in this.monsterDevDatas)
         {
             if (!Miscs.ArrayContains <string>(data2.abilities, "Test_Undamagable"))
             {
                 Miscs.ArrayAppend <string>(ref data2.abilities, "Test_Undamagable");
             }
         }
     }
 }