Esempio n. 1
0
        public void GetReward()
        {
            int RN = BeastReward.GetRewardNumber(Points, Reward);

            if (RN < 1 || CHR.INV.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();
        }
Esempio n. 2
0
 public BeastFactory(Character CHR)
 {
     this.CHR = CHR; Beast.Init(); BeastReward.Init();
 }