Пример #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="script"></param>
 public DamageToken(Script script)
     : base(script)
 {
     Whom = script.ReadByte();
     VersusSmall = script.ReadDice();
     VersusBig = script.ReadDice();
 }
Пример #2
0
        public byte[] unk5; // +

        #endregion Fields

        #region Constructors

        public MonsterType()
        {
            AttackDice = new Dice[3];
            HPDice = new Dice();
            attackList = new byte[5];
            unk5 = new byte[3];

            isAttack2 = false;
        }
Пример #3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <param name="reader"></param>
        public ItemType(ushort id, BinaryReader reader)
        {
            ID = id;

            Inventory = (ItemTypeInventory)reader.ReadUInt16();
            Flags = (ItemFlag)reader.ReadUInt16();
            ACBonus = reader.ReadSByte();
            Classes = (ItemTypeClass)reader.ReadByte();
            HandRestriction = (ItemHandRestiction)reader.ReadByte();
            DamageVSSmall = new Dice(reader);
            DamageVsBig = new Dice(reader);
            Unk0 = reader.ReadByte();
            Action = reader.ReadByte();
            Unk1 = reader.ReadByte();
        }
Пример #4
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="script"></param>
 public ConditionalDice(Script script)
     : base(script)
 {
     Dice = script.ReadDice();
 }