Untitled


SUBMITTED BY: moudixblack

DATE: Aug. 5, 2017, 12:46 a.m.

UPDATED: Aug. 5, 2017, 12:49 a.m.

FORMAT: Text only

SIZE: 339 Bytes

HITS: 825

  1. public static Database.GoldenTreeTable.GoldenTreeCondition GoldenTree;
  2. public static uint GoldenTreeTimes = 0;
  3. public static uint RandomTree(Database.GoldenTreeTable.GoldenTreePool[] nums)
  4. {
  5. if (nums == null || nums.Length == 0) return 0;
  6. return nums[Random.Next(0, nums.Length)].ID;
  7. }

comments powered by Disqus