Пример #1
0
        public void GetReward()
        {
            int RN = BeastReward.GetRewardNumber(Points, Reward);

            if (RN < 1 || CHR.GetClass <Inventory>().GetFreeCount() < 1)
            {
                return;
            }
            Packet P = new Packet(CHR.HNDL, "C0-00-3B-15-00-00-10-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00");

            P.CopyR(CHR.ID, 14, 4);
            P.CopyR(CHR.ID, 18, 4);
            P.CopyR(RN, 22, 4);
            P.Send();
            Utils.RandomDelay();
        }
Пример #2
0
 public BeastFactory(Character CHR) : base(CHR)
 {
     Beast.Init(); BeastReward.Init();
 }
Пример #3
0
 public BeastFactory(Character CHR)
 {
     this.CHR = CHR; Beast.Init(); BeastReward.Init();
 }