Ejemplo n.º 1
0
    public WeaponData(ItemQuality quality, float level, WeaponType type, int minDamage, int maxDamage, float reloadTime) : base(quality, level)
    {
        this.type       = type;
        this.minDamage  = minDamage;
        this.maxDamage  = maxDamage;
        this.reloadTime = reloadTime;

        name        = type.name();
        description = type.description();
        volume      = type.volume();
        itemType    = ItemType.WEAPON;
    }