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(); }
public BeastFactory(Character CHR) { this.CHR = CHR; Beast.Init(); BeastReward.Init(); }